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, line 20
def self.extended(base)
  super
  base.class_attribute :scoped_search_definition
end

Public Instance Methods