Module: Authlogic::ActsAsAuthentic::ValidationsScope

Defined in:
lib/authlogic/acts_as_authentic/validations_scope.rb

Overview

Allows you to scope everything to specific fields. See the Config submodule for more info. For information on how to scope off of a parent object see Authlogic::AuthenticatesMany

Defined Under Namespace

Modules: Config

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object


7
8
9
10
11
# File 'lib/authlogic/acts_as_authentic/validations_scope.rb', line 7

def self.included(klass)
  klass.class_eval do
    extend Config
  end
end