aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2010-10-14 13:16:47 +0100
committerJon Leighton <j@jonathanleighton.com>2010-10-14 13:16:47 +0100
commit25acd19da5f75a425218740fbb187b18bbb060ce (patch)
treed3f02cbba97d3259463d81a2bd542cdeb58a6aad /activerecord/test/models
parent7963c30ebaeb511f7ddacc99ae2c7a530059ae6b (diff)
downloadrails-25acd19da5f75a425218740fbb187b18bbb060ce.tar.gz
rails-25acd19da5f75a425218740fbb187b18bbb060ce.tar.bz2
rails-25acd19da5f75a425218740fbb187b18bbb060ce.zip
Add test_has_many_through_belongs_to_with_has_many_through_source_reflection (which already passes)
Diffstat (limited to 'activerecord/test/models')
-rw-r--r--activerecord/test/models/categorization.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/activerecord/test/models/categorization.rb b/activerecord/test/models/categorization.rb
index 10594323ff..bddc1e5f0c 100644
--- a/activerecord/test/models/categorization.rb
+++ b/activerecord/test/models/categorization.rb
@@ -2,4 +2,6 @@ class Categorization < ActiveRecord::Base
belongs_to :post
belongs_to :category
belongs_to :author
-end \ No newline at end of file
+
+ has_many :post_taggings, :through => :author, :source => :taggings
+end