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,932 of 188,002
Downloads: 9,408

Daily

Ranking: 85,108 of 187,988
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,049,583,941bundler
101,178,937,628rake
29930,883,693rspec
44685,462,787rails
74561,007,307pry
275167,695,587sqlite3
2,02912,336,425appraisal
4,0022,445,375generator_spec
6,344785,238configurations

Owners

#GravatarHandle
1iconvictor95pc