Orbit/app/models/other_account.rb

15 lines
256 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