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,107 of 188,742
Downloads: 9,497

Daily

Ranking: 81,713 of 188,718
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,117,000,961bundler
101,201,589,493rake
29940,867,791rspec
44697,910,822rails
74569,205,494pry
276170,826,298sqlite3
2,02412,707,239appraisal
3,9922,521,718generator_spec
6,376789,204configurations

Owners

#GravatarHandle
1iconvictor95pc