Sha256: f88e4821096b40cbbef14c0b9d700ab4eb65ef3effd8ee0c380f81a349876deb

Contents?: true

Size: 237 Bytes

Versions: 5

Compression:

Stored size: 237 Bytes

Contents

class Admin < ActiveRecord::Base
  devise :all, :timeoutable, :except => [:recoverable, :confirmable, :rememberable, :validatable, :trackable]

  def self.find_for_authentication(conditions)
    last(:conditions => conditions)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
devise-0.8.2 test/rails_app/app/active_record/admin.rb
devise-0.8.1 test/rails_app/app/active_record/admin.rb
devise-0.8.0 test/rails_app/app/active_record/admin.rb
devise-0.7.5 test/rails_app/app/active_record/admin.rb
devise-0.7.4 test/rails_app/app/active_record/admin.rb