Module: Devise::Models::DatabaseAuthenticatable::ClassMethods
- Defined in:
- lib/devise/models/database_authenticatable.rb
Instance Method Summary collapse
-
#find_for_database_authentication(conditions) ⇒ Object
We assume this method already gets the sanitized values from the DatabaseAuthenticatable strategy.
Instance Method Details
permalink #find_for_database_authentication(conditions) ⇒ Object
We assume this method already gets the sanitized values from the DatabaseAuthenticatable strategy. If you are using this method on your own, be sure to sanitize the conditions hash to only include the proper fields.
161 162 163 |
# File 'lib/devise/models/database_authenticatable.rb', line 161 def find_for_database_authentication(conditions) find_for_authentication(conditions) end |