orbit-basic/app/models/user_info.rb

10 lines
120 B
Ruby

class UserInfo
include Mongoid::Document
field :key
embedded_in :user, :inverse_of => :user_infos
end