RubyGems Navigation menu

auto_scopes 0.1.2

I always wonder if it was possible to reuse some scopes defined in a deep associations, we all know that is possible using merges but it still not a clean solution, I still need to define new scopes and make joins so Rails can know which model I want, so I started to develop this gem, the idea is easy to follow, put all scopes you want inside a YAML file.

Gemfile:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 0.1.2 - October 18, 2015 (11.5 KB)
  2. 0.1.1 - October 18, 2015 (11.5 KB)
  3. 0.1.0 - October 17, 2015 (11.5 KB)

Runtime 依赖 (2):

configurations ~> 2.2.0
rails >= 3.2.0

Development 依赖 (7):

appraisal >= 0
bundler ~> 1.8
pry >= 0
rake ~> 10.0
rspec ~> 3.0
sqlite3 >= 0

业主:

作者:

  • victor95pc

SHA 256 校验和:

e31141cd1135b9190b391e444697ce9cf9c905f542055acd6bcbf79b87d86eba

下载总量 8,425

这个版本 3,465

许可:

需要的 Ruby 版本: >= 2.0.0

链接: