Sha256: 8a298000dfc0d8885b620b130bf0aabfc12dadd2cd1c232159c4a6238cfb625a
Contents?: true
Size: 302 Bytes
Versions: 7
Compression:
Stored size: 302 Bytes
Contents
module Brightcontent class AdminUser < ActiveRecord::Base has_secure_password validates_uniqueness_of :email attr_accessible *column_names if defined? ProtectedAttributes def self.authenticate(email, password) find_by_email(email).try :authenticate, password end end end
Version data entries
7 entries across 7 versions & 1 rubygems