RubyGems Navigation menu

scopes_for_associations 0.1.0

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. 0.1.0 - February 08, 2011 (5.5 KB)
顯示所有版本(共 6)

Development 相依性套件 (3):

activerecord >= 3.0.0
rspec = 2.5.0
sqlite3-ruby = 1.2.5

擁有者:

作者:

  • Jared Ning

SHA 256 checksum:

da4cf01753282bbceaee6dbfad9e0da04137cdcdd44b8d8f3958ce8ffb869d10

總下載次數 19,175

這個版本 3,003

License:

Ruby 版本需求:

相關連結: