1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/models/categorization.rb
2010-10-31 11:21:28 +00:00

7 lines
179 B
Ruby

class Categorization < ActiveRecord::Base
belongs_to :post
belongs_to :category
belongs_to :author
has_many :post_taggings, :through => :author, :source => :taggings
end