crowdint/rails3-jquery-autocomplete — pull request #262 by marzapower (2014-03-13 12:28:03+00:00)
Title: Fix deprecation warning in Rails 4.x

Following pull request #255, I suggest this change to make the fix backward-compatible with Rails 4.0 too.
`where(nil)` seems to be the correct substitute of `scoped`, without raising the deprecation warning.
All the tests are working fine under Rails 3.x and I tested on a production application with success.