Sha256: cebfed9035ee5181ec12acbbd2933cb34707a0344bf3d170bfd6485515122eec
Contents?: true
Size: 284 Bytes
Versions: 21
Compression:
Stored size: 284 Bytes
Contents
class Admin include MongoMapper::Document devise :authenticatable, :registerable, :timeoutable def self.find_for_authentication(conditions) last(:conditions => conditions) end def self.last(options={}) options.merge!(:order => 'email') super options end end
Version data entries
21 entries across 16 versions & 5 rubygems