This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/app/models/user/co_author_relation.rb

9 lines
159 B
Ruby
Raw Normal View History

2012-12-03 04:10:45 +00:00
class CoAuthorRelation
include Mongoid::Document
include Mongoid::Timestamps
field :relation, localize: true
has_and_belongs_to_many :co_authors
end