diff options
author | Jon Leighton <j@jonathanleighton.com> | 2012-01-13 23:42:07 +0000 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2012-01-16 21:17:17 +0000 |
commit | d13627d532f23b248a9141511c16abdf5746a486 (patch) | |
tree | b307474e4ba22771acaedf9cba0a237e2219aad4 /activerecord/test/models/category.rb | |
parent | 247d274cabae827766c1c5b9deb34fb34548fc5e (diff) | |
download | rails-d13627d532f23b248a9141511c16abdf5746a486.tar.gz rails-d13627d532f23b248a9141511c16abdf5746a486.tar.bz2 rails-d13627d532f23b248a9141511c16abdf5746a486.zip |
Revert "Deprecate implicit eager loading. Closes #950."
This reverts commit c99d507fccca2e9e4d12e49b4387e007c5481ae9.
Diffstat (limited to 'activerecord/test/models/category.rb')
-rw-r--r-- | activerecord/test/models/category.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/models/category.rb b/activerecord/test/models/category.rb index 3cd63f0660..02b85fd38a 100644 --- a/activerecord/test/models/category.rb +++ b/activerecord/test/models/category.rb @@ -2,7 +2,7 @@ class Category < ActiveRecord::Base has_and_belongs_to_many :posts has_and_belongs_to_many :special_posts, :class_name => "Post" has_and_belongs_to_many :other_posts, :class_name => "Post" - has_and_belongs_to_many :posts_with_authors_sorted_by_author_id, :class_name => "Post", :eager_load => :authors, :order => "authors.id" + has_and_belongs_to_many :posts_with_authors_sorted_by_author_id, :class_name => "Post", :include => :authors, :order => "authors.id" has_and_belongs_to_many(:select_testing_posts, :class_name => 'Post', |