Module Authlogic::ActsAsAuthentic::Base::Config
In: lib/authlogic/acts_as_authentic/base.rb

Methods

Public Instance methods

This includes a lot of helpful methods for authenticating records which The Authlogic::Session module relies on. To use it just do:

  class User < ActiveRecord::Base
    acts_as_authentic
  end

Configuration is easy:

  acts_as_authentic do |c|
    c.my_configuration_option = my_value
  end

See the various sub modules for the configuration they provide.

Since this part of Authlogic deals with another class, ActiveRecord, we can‘t just start including things in ActiveRecord itself. A lot of these module includes need to be triggered by the acts_as_authentic method call. For example, you don‘t want to start adding in email validations and what not into a model that has nothing to do with Authlogic.

That being said, this is your tool for extending Authlogic and "hooking" into the acts_as_authentic call.

This is the same as add_acts_as_authentic_module, except that it removes the module from the list.

[Validate]