Orbit/app/models/user_role.rb

10 lines
120 B
Ruby

class UserRole
include Mongoid::Document
field :key
embedded_in :user, :inverse_of => :user_roles
end