Orbit/app/models/other_accounts.rb

15 lines
255 B
Ruby

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