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: 87,946 of 180,681
Downloads: 8,467

Daily

Ranking: 36,905 of 180,671
Downloads: 3

Depended by

RankDownloadsName

Depends on

RankDownloadsName
12,103,657,624bundler
16862,274,811rake
24772,211,489rspec
42518,558,756rails
64426,373,982pry
238133,262,795sqlite3
2,0717,637,629appraisal
4,1761,540,177generator_spec
5,773714,954configurations

Owners

#GravatarHandle
1iconvictor95pc