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: 90,552 of 191,429
Downloads: 9,587

Daily

Ranking: 119,687 of 191,405
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,288,698,893bundler
81,272,305,385rake
29963,925,737rspec
44725,653,791rails
72588,660,743pry
278177,284,866sqlite3
2,02013,488,491appraisal
3,9522,706,200generator_spec
6,484796,355configurations

Owners

#GravatarHandle
1iconvictor95pc