diff options
Diffstat (limited to 'activerecord/test/models/categorization.rb')
-rw-r--r-- | activerecord/test/models/categorization.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/activerecord/test/models/categorization.rb b/activerecord/test/models/categorization.rb index 10594323ff..8e2fa96498 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 |