Please sign in to comment.
Fix deprecated Relation#all in Rails 4, use Relation#to_a instead
DEPRECATION WARNING: Relation#all is deprecated. If you want to eager-load a relation, you can call #load (e.g. `Post.where(published: true).load`). If you want to get an array of records from a relation, you can call #to_a (e.g. `Post.where(published: true).to_a`). (called from followers at .../socialization/lib/socialization/stores/active_record/follow.rb:69)
- Loading branch information...
Showing with 8 additions and 8 deletions.