orbit-basic/app/models/user_role.rb

11 lines
150 B
Ruby
Raw Normal View History

2011-02-01 02:47:25 +00:00
class UserRole
include Mongoid::Document
2011-03-08 09:25:46 +00:00
include Mongoid::Timestamps
2011-02-01 02:47:25 +00:00
field :key
embedded_in :user, :inverse_of => :user_roles
end