Sha256: 9eb0c6d07811c8060239a214145c8e016e3f9d051a970cc1c297182b72cd9c4f
Contents?: true
Size: 268 Bytes
Versions: 5
Compression:
Stored size: 268 Bytes
Contents
class Admin include MongoMapper::Document devise :all, :timeoutable, :except => [:recoverable, :confirmable, :rememberable, :validatable, :trackable] def self.find_for_authentication(conditions) last(:conditions => conditions, :order => "email") end end
Version data entries
5 entries across 5 versions & 1 rubygems