Module: ScopeHound

Defined in:
app/controllers/concerns/scope_hound/filterable_controller.rb,
lib/scope_hound.rb,
lib/scope_hound/engine.rb,
lib/scope_hound/version.rb,
app/models/concerns/scope_hound/filter_proxy.rb,
app/models/concerns/scope_hound/filter_scopable.rb,
app/models/concerns/scope_hound/filterable_model.rb

Overview

This module provides an interface for attaching easy filtering capabilities to a controller. It acts as a base for models to interact with their controllers. When included in a model, it allows the controller to accept a specific set of filter parameters which are then processed and applied on the model’s data for tailored querying and data selection. This is particularly useful when you want to have the flexibility of filtering model data directly from controller parameters.

Defined Under Namespace

Modules: FilterScopable, FilterableController, FilterableModel Classes: Engine, Error, FilterProxy

Constant Summary collapse

VERSION =
"0.1.0"