Module: ScopedSearch

Defined in:
lib/scoped_search.rb,
lib/scoped_search/engine.rb,
lib/scoped_search/version.rb,
lib/scoped_search/railtie.rb,
lib/scoped_search/definition.rb,
lib/scoped_search/rails_helper.rb,
lib/scoped_search/query_builder.rb,
lib/scoped_search/auto_complete_builder.rb

Overview

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).

Defined Under Namespace

Modules: AutoCompleteClassMethods, ClassMethods, QueryLanguage, Rails, RailsHelper Classes: AutoCompleteBuilder, Definition, DefinitionError, Exception, QueryBuilder, QueryNotSupported, Railtie

Constant Summary

VERSION =
"2.7.1"