Sha256: f606bfadbefd76586a4d3b14d5401476121851537747b99f9e17e46bfb4344b2
Contents?: true
Size: 217 Bytes
Versions: 1
Compression:
Stored size: 217 Bytes
Contents
class Admin include Mongoid::Document devise :authenticatable, :registerable, :timeoutable def self.find_for_authentication(conditions) last(:conditions => conditions, :sort => [[:email, :asc]]) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mongoid-devise-1.0.1 | test/rails_app/app/mongoid/admin.rb |