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

Version Path
devise-0.7.3 test/rails_app/app/models/admin.rb
devise-0.7.2 test/rails_app/app/models/admin.rb
devise-0.7.1 test/rails_app/app/models/admin.rb
devise-0.7.0 test/rails_app/app/models/admin.rb
devise-0.6.3 test/rails_app/app/models/admin.rb
devise-0.6.2 test/rails_app/app/models/admin.rb