orbit-basic/app/models/user_attribute.rb

9 lines
129 B
Ruby

class UserAttribute
include Mongoid::Document
field :key
embedded_in :user, :inverse_of => :user_attributes
end