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
|