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,435 of 190,280
Downloads: 9,559

Daily

Ranking: 91,929 of 190,253
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,236,941,822bundler
81,254,137,753rake
29956,893,742rspec
44717,404,293rails
72582,958,271pry
279174,899,170sqlite3
2,02413,229,951appraisal
3,9762,642,155generator_spec
6,455793,060configurations

Owners

#GravatarHandle
1iconvictor95pc