module ScopedSearch::ClassMethods

The ClassMethods module will be included into the ActiveRecord::Base class to add the ActiveRecord::Base.scoped_search method and the ActiveRecord::Base.search_for named scope.

Public Class Methods

extended(base) click to toggle source
Calls superclass method
   # File lib/scoped_search.rb
21 def self.extended(base)
22   super
23   base.class_attribute :scoped_search_definition
24 end

Public Instance Methods