antillas21/ajax-datatables-rails — pull request #54 by saiqulhaq (2014-11-28 06:37:46+00:00)
Title: fix AjaxDatabaseRails::base#search_condition for namespaced model

today i got an error when doing searching
after tracing rails log, its because #search_condition method replace " " with ""
this is the case
let say my model is Statistics::Request with table name "statistics_requests"
so it will converted to `"statistics_requests"` -> `"statistics_request"` -> `"Statistics Request"` -> `"StatisticsRequest"`
that's why my model not found

but i'm using activerecord at rspec, you may drop this and back using regular class
and i have changed rspec syntax to latest rspec syntax using transpec gem to remove rspec deprecated syntax