module Authlogic::ActsAsAuthentic::Email
Sometimes models won't have an explicit “login” or “username” field. Instead they want to use the email field. In this case, authlogic provides validations to make sure the email submited is actually a valid email. Don't worry, if you do have a login or username field, Authlogic will still validate your email field. One less thing you have to worry about.
Public Class Methods
included(klass)
click to toggle source
# File lib/authlogic/acts_as_authentic/email.rb, line 8 def self.included(klass) klass.class_eval do extend Config add_acts_as_authentic_module(Methods) end end