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: 90,875 of 192,104
Downloads: 9,627

Daily

Ranking: 106,871 of 192,085
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,340,208,428bundler
81,291,638,605rake
29970,683,748rspec
44733,647,134rails
73594,715,801pry
279179,455,641sqlite3
2,01413,761,543appraisal
3,9202,781,537generator_spec
6,509798,200configurations

Owners

#GravatarHandle
1iconvictor95pc