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,478 of 195,762
Downloads: 9,876

Daily

Ranking: 102,761 of 195,747
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,629,697,366bundler
81,384,293,602rake
291,006,320,288rspec
45773,536,641rails
72623,573,670pry
281191,064,338sqlite3
1,99515,172,606appraisal
3,8593,112,312generator_spec
6,778814,646configurations

Owners

#GravatarHandle
1iconvictor95pc