auto_scopes 0.1.0
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:
=
安装:
=
Runtime 依赖 (2):
configurations
~> 2.2.0
rails
>= 3.2.0