Sha256: 7fc1f5dc0b2a97ad7563a86aee4a36b571afe0d2ba3adbb4ba1fdb47472aa2ee
Contents?: true
Size: 223 Bytes
Versions: 6
Compression:
Stored size: 223 Bytes
Contents
class Admin < ActiveRecord::Base devise :all, :except => [:recoverable, :confirmable, :rememberable, :validatable, :trackable] def self.find_for_authentication(conditions) last(:conditions => conditions) end end
Version data entries
6 entries across 6 versions & 1 rubygems