forked from saurabh/personal-research
9 lines
185 B
Ruby
9 lines
185 B
Ruby
|
class ResearchCategory
|
||
|
include Mongoid::Document
|
||
|
include Mongoid::Timestamps
|
||
|
|
||
|
field :title, localize: true
|
||
|
field :sort_position, type: Integer, default: 0
|
||
|
|
||
|
has_many :researches
|
||
|
end
|