Module: Authem::BaseUser::ClassMethods
- Defined in:
- lib/authem/base_user.rb
Instance Method Summary collapse
Instance Method Details
#find_by_email(email) ⇒ Object
14 15 16 |
# File 'lib/authem/base_user.rb', line 14 def find_by_email(email) where("LOWER(email) = ?", email.downcase).first end |