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,309 of 198,774
Downloads: 10,021

Daily

Ranking: 26,558 of 198,739
Downloads: 8

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,972,983,480bundler
81,469,998,038rake
291,043,852,410rspec
46819,245,923rails
73651,397,154pry
286202,679,695sqlite3
1,97916,581,782appraisal
3,8133,390,801generator_spec
6,845837,273configurations

Owners

#GravatarHandle
1iconvictor95pc