Skip to content
Sections
>> Trisquel >> Packages >> nabia >> ruby >> ruby-has-scope
nabia  ] [  aramo  ]
[ Source: ruby-has-scope  ]

Package: ruby-has-scope (0.7.2-2)

Maps controller filters to your resource scopes

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.

Other Packages Related to ruby-has-scope

  • depends
  • recommends
  • suggests
  • dep: ruby
    Interpreter of object-oriented scripting language Ruby (default version)
    or ruby-interpreter
    Package not available
  • dep: ruby-actionpack (>= 2:4.1)
    web-flow and rendering framework putting the VC in MVC (part of Rails)
  • dep: ruby-activesupport (>= 2:4.1)
    Support and utility classes used by the Rails 4.1 framework

Download ruby-has-scope

Download for all available architectures
Architecture Package Size Installed Size Files
all 7.7 kB29 kB [list of files]