Module: Authlogic::ActsAsAuthentic::Email::Config
- Defined in:
- lib/authlogic/acts_as_authentic/email.rb
Overview
Configuration to modify how Authlogic handles the email field.
Instance Method Summary collapse
-
#email_field(value = nil) ⇒ Object
(also: #email_field=)
The name of the field that stores email addresses.
Instance Method Details
#email_field(value = nil) ⇒ Object Also known as: email_field=
The name of the field that stores email addresses.
-
Default:
:email, if it exists -
Accepts:
Symbol
23 24 25 |
# File 'lib/authlogic/acts_as_authentic/email.rb', line 23 def email_field(value = nil) rw_config(:email_field, value, first_column_to_exist(nil, :email, :email_address)) end |