mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
7 lines
179 B
Ruby
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
|