class OtherAccount
  include Mongoid::Document
  include Mongoid::Timestamps
  include Mongoid::Encryptor
  
  field :user_id
  field :type
  field :email
  field :encrypted_password
  
  encrypts :encrypted_password, :mode => :symmetric, :password => 'rulingcom'
  
  belongs_to :user
  
end