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,245 of 198,025
Downloads: 9,977

Daily

Ranking: 22,328 of 197,989
Downloads: 11

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,895,243,156bundler
81,452,458,801rake
291,035,635,780rspec
44809,367,509rails
73645,358,109pry
285200,157,958sqlite3
1,97916,283,670appraisal
3,8253,322,832generator_spec
6,829833,577configurations

Owners

#GravatarHandle
1iconvictor95pc