Module: Outpost::Model::Authentication
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/outpost/model/authentication.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
-
#downcase_email ⇒ Object
Private: Downcase the user’s e-mail.
Instance Method Details
#downcase_email ⇒ Object
Private: Downcase the user’s e-mail
Returns String of the e-mail
31 32 33 34 35 |
# File 'lib/outpost/model/authentication.rb', line 31 def downcase_email if self.email.present? self.email = self.email.downcase end end |