Module | Authlogic::ActsAsAuthentic::Email::Config |
In: |
lib/authlogic/acts_as_authentic/email.rb
|
Configuration to modify how Authlogic handles the email field.
See merge_validates_length_of_email_field_options. The same thing except for validates_format_of_email_field_options.
A convenience function to merge options into the validates_length_of_email_field_options. So intead of:
self.validates_length_of_email_field_options = validates_length_of_email_field_options.merge(:my_option => my_value)
You can do this:
merge_validates_length_of_email_field_options :my_option => my_value
See merge_validates_length_of_email_field_options. The same thing except for validates_uniqueness_of_email_field_options.
A hash of options for the validates_format_of call for the email field. Allows you to change this however you want.
Keep in mind this is ruby. I wanted to keep this as flexible as possible, so you can completely replace the hash or merge options into it. Checkout the convenience function merge_validates_format_of_email_field_options to merge options.
Alias for validates_format_of_email_field_options
A hash of options for the validates_length_of call for the email field. Allows you to change this however you want.
Keep in mind this is ruby. I wanted to keep this as flexible as possible, so you can completely replace the hash or merge options into it. Checkout the convenience function merge_validates_length_of_email_field_options to merge options.
Alias for validates_length_of_email_field_options
A hash of options for the validates_uniqueness_of call for the email field. Allows you to change this however you want.
Keep in mind this is ruby. I wanted to keep this as flexible as possible, so you can completely replace the hash or merge options into it. Checkout the convenience function merge_validates_uniqueness_of_email_field_options to merge options.