7 lines
109 B
Ruby
7 lines
109 B
Ruby
class TCat < ActiveRecord::Base
|
|
|
|
has_many :cat_taxons
|
|
|
|
has_many :taxons, :through => :cat_taxons
|
|
end
|