Skip to content
Sections
>> Trisquel >> Pakete >> nabia >> ruby >> ruby-has-scope
nabia  ] [  aramo  ]
[ Quellcode: 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.

Andere Pakete mit Bezug zu ruby-has-scope

  • hängt ab von
  • empfiehlt
  • schlägt vor
  • dep: ruby
    Interpreter of object-oriented scripting language Ruby (default version)
    oder ruby-interpreter
    Paket nicht verfügbar
  • 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

ruby-has-scope herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 7,7 kB29 kB [Liste der Dateien]