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,796 of 187,638
Downloads: 9,370

Daily

Ranking: 53,628 of 187,621
Downloads: 3

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,015,182,468bundler
101,167,198,806rake
28925,682,568rspec
43679,518,385rails
73556,747,332pry
275165,896,662sqlite3
2,02912,171,551appraisal
4,0072,404,321generator_spec
6,327783,143configurations

Owners

#GravatarHandle
1iconvictor95pc