5 lines
95 B
Ruby
5 lines
95 B
Ruby
|
class MainCategory < ActiveRecord::Base
|
||
|
attr_accessible :name
|
||
|
has_many :sub_categories
|
||
|
end
|