RubyGems Navigation menu

auto_scopes 0.1.2

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.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.1.2 - October 18, 2015 (11.5 KB)
  2. 0.1.1 - October 18, 2015 (11.5 KB)
  3. 0.1.0 - October 17, 2015 (11.5 KB)

Runtime Dependencies (2):

configurations ~> 2.2.0
rails >= 3.2.0

Development Dependencies (7):

appraisal >= 0
bundler ~> 1.8
pry >= 0
rake ~> 10.0
rspec ~> 3.0
sqlite3 >= 0

Owners:

Authors:

  • victor95pc

SHA 256 checksum:

e31141cd1135b9190b391e444697ce9cf9c905f542055acd6bcbf79b87d86eba

Total downloads 8,373

For this version 3,441

Licenses:

N/A

Required Ruby Version: >= 2.0.0

Links: