This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
|
class OtherAccount
|
|
include Mongoid::Document
|
|
include Mongoid::Timestamps
|
|
|
|
field :type
|
|
field :email
|
|
field :encrypted_password
|
|
|
|
attr_encrypted :encrypted_password, :key => 'rulingorbit.com', :encode => true
|
|
|
|
belongs_to :user
|
|
|
|
|
|
|
|
end |