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,664 of 187,286
Downloads: 9,319

Daily

Ranking: 74,422 of 187,264
Downloads: 3

Depended by

RankDownloadsName

Depends on

RankDownloadsName
12,976,933,643bundler
101,153,275,696rake
27919,994,150rspec
43672,023,205rails
73552,025,027pry
274163,911,949sqlite3
2,02711,979,003appraisal
4,0252,341,760generator_spec
6,303780,881configurations

Owners

#GravatarHandle
1iconvictor95pc