sunspot/sunspot — pull request #360 by vanstee (2013-02-12 06:42:04+00:00)
Title: Fix finder related deprecations for Rails 4

I've switched some old school style finders to the new `ActiveRecord::Relation` chained style query builders since the old `#all(conditions)` and `#find(conditions)` methods have been deprecated.

This will totally blow up on `Rails ~2.3` apps, but I thought I would send a pull request to bring the issue up and see what you guys want to do with it. Also the spec changes seem a little weird but work for now.