aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/category.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/category.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/category.rb')
-rw-r--r--activerecord/test/fixtures/category.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/category.rb b/activerecord/test/fixtures/category.rb
new file mode 100644
index 0000000000..751413c0db
--- /dev/null
+++ b/activerecord/test/fixtures/category.rb
@@ -0,0 +1,3 @@
+class Category < ActiveRecord::Base
+ has_and_belongs_to_many :posts
+end