- ruby-actionpack (>= 2:5.2)
- ruby-activesupport (>= 2:5.2)
The gem intends to maps controller filters to your resource scopes, Has Scope
allows you to map incoming controller parameters to named scope in your
resources.
.
You can retrieve all the scopes applied in one action with current_scope
method, has_scope supports several options such as :type, :only, :except,
:using, :if and many more, mapping as per required resource scope. It allows
you to map incoming controller parameters to named scope in your resources.
Installed Size: 30.7 kB
Architectures: all