Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- iff --git a/vendor/gems/sunspot_rails-0.10.9/lib/sunspot/rails/adapters.rb b/vendor/gems/sunspot_rails-0.10.9/lib/sunspot/rails/adapters.rb
- index f904644..2b09bb7 100644
- --- a/vendor/gems/sunspot_rails-0.10.9/lib/sunspot/rails/adapters.rb
- +++ b/vendor/gems/sunspot_rails-0.10.9/lib/sunspot/rails/adapters.rb
- @@ -46,7 +46,7 @@ module Sunspot #:nodoc:
- # Array:: Collection of ActiveRecord models
- #
- def load_all(ids)
- - @clazz.find_all_by_id(ids.map { |id| id.to_i })
- + @clazz.find(ids.map { |id| id.to_i })
- end
- end
- end
Add Comment
Please, Sign In to add comment