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: 92,166 of 197,258
Downloads: 9,939

Daily

Ranking: 93,637 of 197,235
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,820,061,946bundler
81,434,061,178rake
291,027,618,561rspec
45799,157,159rails
72639,274,546pry
285197,646,337sqlite3
1,98016,015,783appraisal
3,8413,261,746generator_spec
6,816829,487configurations

Owners

#GravatarHandle
1iconvictor95pc