Orbit/app/models/user_info.rb

11 lines
150 B
Ruby

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