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/status.rb

14 lines
210 B
Ruby

class Status
include Mongoid::Document
include Mongoid::Timestamps
has_and_belongs_to_many :users
belongs_to :role
# has_and_belongs_to_many :sub_roles
field :title, localize: true
end