Skip to content
Sections
>> Trisquel >> 软件包 >> aramo >> ruby >> ruby-has-scope
nabia  ] [  aramo  ]
[ 源代码: ruby-has-scope  ]

软件包: ruby-has-scope (0.7.2-3)

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.

其他与 ruby-has-scope 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • 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)
    collection of utility classes used by the Rails framework

下载 ruby-has-scope

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 7.8 kB29 kB [文件列表]