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: 91,736 of 196,658
Downloads: 9,920

Daily

Ranking: 67,232 of 196,619
Downloads: 2

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,750,343,576bundler
81,416,600,134rake
291,020,526,382rspec
45789,914,448rails
72633,800,712pry
286195,503,478sqlite3
1,98615,746,021appraisal
3,8453,216,429generator_spec
6,807822,602configurations

Owners

#GravatarHandle
1iconvictor95pc