RubyGems Navigation menu

scopes_for_associations 0.1.3

Define very basic, commonly used scopes for ActiveRecord associations. E.g. if a Post model has an author and a category association, scopes will be defined like Post.for(author) or Post.for(category).

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.1.5 - February 10, 2012 (7 KB)
  2. 0.1.4 - February 10, 2012 (6.5 KB)
  3. 0.1.3 - February 14, 2011 (6.5 KB)
  4. 0.1.2 - February 12, 2011 (6 KB)
  5. 0.1.1 - February 09, 2011 (6 KB)
Show all versions (6 total)

Runtime Dependencies (1):

activerecord >= 3.0.0

Development Dependencies (3):

rspec = 2.5.0
sqlite3-ruby = 1.2.5

Owners:

Authors:

  • Jared Ning

SHA 256 checksum:

105565b445b4873f7189d91d912b5a13f26b142534778b0b264cc305c6486e46

Total downloads 19,175

For this version 3,115

Licenses:

N/A

Required Ruby Version: None

Links: