aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/fixtures/developer.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2007-11-12 15:02:12 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2007-11-12 15:02:12 +0000
commit55b6697493e2fc39f3e2a7b6b3c8bcfb94947daa (patch)
tree6161ad38218dd66da8431d0914a896751e74a005 /actionpack/test/fixtures/developer.rb
parenta406643b959d4bb601c62857ca38ebcd91eec4a8 (diff)
downloadrails-55b6697493e2fc39f3e2a7b6b3c8bcfb94947daa.tar.gz
rails-55b6697493e2fc39f3e2a7b6b3c8bcfb94947daa.tar.bz2
rails-55b6697493e2fc39f3e2a7b6b3c8bcfb94947daa.zip
Fixed that has_many :through associations should render as collections too (closes #9051) [mathie/danger]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8130 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test/fixtures/developer.rb')
-rw-r--r--actionpack/test/fixtures/developer.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/test/fixtures/developer.rb b/actionpack/test/fixtures/developer.rb
index f5e5b901fd..c70eda34c6 100644
--- a/actionpack/test/fixtures/developer.rb
+++ b/actionpack/test/fixtures/developer.rb
@@ -1,5 +1,7 @@
class Developer < ActiveRecord::Base
has_and_belongs_to_many :projects
+ has_many :replies
+ has_many :topics, :through => :replies
end
class DeVeLoPeR < ActiveRecord::Base