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:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 0.1.5 - February 10, 2012 (7.0 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.0 KB)
  5. 0.1.1 - February 09, 2011 (6.0 KB)
显示所有版本 (共 6 个)

Runtime 依赖 (2):

activerecord >= 3.0.0
rake >= 0.8.7

Development 依赖 (3):

rspec = 2.5.0
sqlite3 = 1.3.5

业主:

作者:

  • Jared Ning

SHA 256 校验和:

= 复制到剪贴板 已复制!

下载总量 19,417

这个版本 4,079

许可:

需要的 Ruby 版本:

链接: