2012-04-26 13:30:13 +00:00
|
|
|
class OtherAccount
|
|
|
|
include Mongoid::Document
|
|
|
|
include Mongoid::Timestamps
|
|
|
|
|
|
|
|
field :type
|
|
|
|
field :email
|
|
|
|
field :encrypted_password
|
|
|
|
|
2012-04-27 14:14:44 +00:00
|
|
|
#attr_encrypted :encrypted_password, :key => 'rulingorbit.com', :encode => true
|
2012-04-26 13:30:13 +00:00
|
|
|
|
|
|
|
belongs_to :user
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
end
|