Categories: None [Edit]

auto_scopes

https://rubygems.org/gems/auto_scopes
https://github.com/victor95pc/auto-scopes
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.

Total

Ranking: 88,467 of 183,107
Downloads: 8,771

Daily

Ranking: 86,038 of 183,092
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
12,407,087,911bundler
10953,844,246rake
25817,849,894rspec
41565,217,426rails
68466,913,746pry
253141,523,763sqlite3
2,0688,709,738appraisal
4,1421,773,061generator_spec
5,972737,952configurations

Owners

#GravatarHandle
1iconvictor95pc