orbit-basic/app/models/user_info.rb

10 lines
119 B
Ruby

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