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: 89,470 of 186,959
Downloads: 9,123

Daily

Ranking: 117,132 of 186,713
Downloads: 3

Depended by

RankDownloadsName

Depends on

RankDownloadsName
12,905,736,219bundler
101,128,098,871rake
27909,387,510rspec
43658,650,538rails
71542,757,863pry
276160,962,144sqlite3
2,01411,644,953appraisal
4,0652,229,226generator_spec
6,252774,478configurations

Owners

#GravatarHandle
1iconvictor95pc