9 lines
159 B
Ruby
9 lines
159 B
Ruby
|
class CoAuthorRelation
|
||
|
include Mongoid::Document
|
||
|
include Mongoid::Timestamps
|
||
|
|
||
|
field :relation, localize: true
|
||
|
|
||
|
has_and_belongs_to_many :co_authors
|
||
|
end
|