Module: Revise

Defined in:
lib/revise.rb,
lib/revise/models.rb,
lib/revise/inviter.rb,
lib/revise/helpers/core.rb,
lib/revise/param_filter.rb,
lib/revise/controllers/main.rb,
lib/revise/models/invitable.rb,
lib/revise/mailers/invitable.rb,
lib/revise/models/confirmable.rb,
lib/revise/models/recoverable.rb,
lib/revise/mailers/confirmable.rb,
lib/revise/mailers/recoverable.rb,
lib/revise/controllers/accounts.rb,
lib/revise/controllers/recovery.rb,
lib/revise/controllers/sessions.rb,
lib/revise/helpers/authentication.rb,
lib/revise/models/authenticatable.rb,
lib/revise/controllers/invitations.rb,
lib/revise/controllers/confirmations.rb,
lib/revise/models/database_authenticatable.rb

Defined Under Namespace

Modules: Controllers, Helpers, Inviter, Mailers, Models Classes: ParamFilter

Constant Summary collapse

MODULES =
{}
HELPERS =
[]
CONTROLERS =
[]
MAILERS =
[]
@@mailer_from =
nil
@@pepper =
nil
@@stretches =
10
@@allow_unconfirmed_access_for =
0.days
@@confirm_within =
nil
@@confirmation_keys =
[:email]
@@reconfirmable =
false
@@reset_password_keys =
[:email]
@@reset_password_within =
6.hours
@@case_insensitive_keys =
[:email]
@@strip_whitespace_keys =
[]
@@invite_for =
0
@@validate_on_invite =
false
@@invitation_limit =
5
@@email_regexp =
/\A[^@]+@[^@]+\z/
@@invite_key =
{:email => @@email_regexp}
@@resend_invitation =
true
@@invited_by_class_name =
nil

Class Method Summary collapse

Class Method Details

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (Revise)

    the object that the method was called on



101
102
103
# File 'lib/revise.rb', line 101

def self.setup
  yield self
end