RubyGems Navigation menu

scopes_for_associations 0.1.5

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).

Versions:

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

Authors:

  • Jared Ning

Owners:

Fd78128c1a070269f86a8916854b4d5e

Sha 256 checksum:

4fb5c2126d342d84ab5e19312c836378c5942232d4beceb0997ecf340e545c14

Total downloads 6,750

For this version 1,153

Show all versions (6 total)

Required Ruby Version: None

Licenses:

N/A

Gemfile:
= Copy to clipboard Copied!

install:
= Copy to clipboard Copied!

Links: