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: 91,622 of 196,338
Downloads: 9,899

Daily

Ranking: 51,088 of 196,320
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,687,515,579bundler
81,399,913,164rake
291,013,199,560rspec
45781,499,294rails
72628,596,604pry
281193,253,659sqlite3
1,99115,449,867appraisal
3,8563,156,620generator_spec
6,794817,564configurations

Owners

#GravatarHandle
1iconvictor95pc