aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/post.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-04-10 17:24:56 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-04-10 17:24:56 +0000
commit057cf4918bbc3573321f610a12c29676373b8f0c (patch)
tree3806a6722f884abeb4f1536912acae8d8309a1eb /activerecord/test/fixtures/post.rb
parentfdd268138a062b45aa126c21ee3d5579f01c3f2e (diff)
downloadrails-057cf4918bbc3573321f610a12c29676373b8f0c.tar.gz
rails-057cf4918bbc3573321f610a12c29676373b8f0c.tar.bz2
rails-057cf4918bbc3573321f610a12c29676373b8f0c.zip
Added support for has_and_belongs_to_many associations in eager loading #1064 [Dan Peterson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1132 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/fixtures/post.rb')
-rw-r--r--activerecord/test/fixtures/post.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/activerecord/test/fixtures/post.rb b/activerecord/test/fixtures/post.rb
index 3c0ef927dc..ce9abcc693 100644
--- a/activerecord/test/fixtures/post.rb
+++ b/activerecord/test/fixtures/post.rb
@@ -1,6 +1,8 @@
class Post < ActiveRecord::Base
belongs_to :author
has_many :comments
+ has_and_belongs_to_many :categories
end
-class SpecialPost < Post; end \ No newline at end of file
+class SpecialPost < Post
+end \ No newline at end of file