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

Gemfile:
= Copier Copié!

installation:
=

Versions:

  1. 0.1.5 - February 10, 2012 (7 ko)
  2. 0.1.4 - February 10, 2012 (6,5 ko)
  3. 0.1.3 - February 14, 2011 (6,5 ko)
  4. 0.1.2 - February 12, 2011 (6 ko)
  5. 0.1.1 - February 09, 2011 (6 ko)
Voir toutes les versions (6)

Dépendances de Runtime (2):

activerecord >= 3.0.0
rake >= 0.8.7

Dépendances de Development (3):

rspec = 2.5.0
sqlite3 = 1.3.5

Propriétaires:

Auteurs:

  • Jared Ning

Total de contrôle SHA 256:

4fb5c2126d342d84ab5e19312c836378c5942232d4beceb0997ecf340e545c14

Total de téléchargements 19 210

Pour cette version 4 037

License:

aucune

Version de Ruby requise: None

Liens: