module ScopedSearch
ScopedSearch
is the base module for the scoped_search plugin. This file defines some modules and exception classes, loads the necessary files, and installs itself in ActiveRecord.
The ScopedSearch
module defines two modules that can be mixed into ActiveRecord::Base as class methods. ScopedSearch::ClassMethods
will register the scoped_search class function, which can be used to define the search fields. ScopedSearch::BackwardsCompatibility
will register the searchable_on
method for backwards compatibility with previous scoped_search versions (1.x).
Constants
- VERSION