orbit-basic/app/models/user_info.rb

11 lines
150 B
Ruby
Raw Normal View History

2011-02-01 02:47:25 +00:00
class UserInfo
include Mongoid::Document
2011-03-08 09:25:46 +00:00
include Mongoid::Timestamps
2011-02-01 02:47:25 +00:00
field :key
2011-02-01 07:12:23 +00:00
embedded_in :user, :inverse_of => :user_infos
2011-02-01 02:47:25 +00:00
end