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,161 of 193,188
Downloads: 9,708

Daily

Ranking: 114,934 of 193,154
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,439,241,904bundler
81,329,290,503rake
29982,808,292rspec
44748,039,993rails
72605,055,053pry
279183,787,701sqlite3
2,01014,215,225appraisal
3,8892,907,852generator_spec
6,574803,474configurations

Owners

#GravatarHandle
1iconvictor95pc