Skip to content
Sections
>> Trisquel >> Paket >> nabia >> ruby >> ruby-has-scope
nabia  ] [  aramo  ]
[ Källkod: ruby-has-scope  ]

Paket: 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.

Andra paket besläktade med ruby-has-scope

  • beror
  • rekommenderar
  • föreslår
  • dep: ruby
    Interpreter of object-oriented scripting language Ruby (default version)
    eller ruby-interpreter
    Paketet inte tillgängligt
  • 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

Hämta ruby-has-scope

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 7,7 kbyte29 kbyte [filförteckning]