RubyGems.org

Have ActiveRecord automagically build an association when accessed. Useful for belongs_to associations which should never be nil.

installgem install build_associated
Authors

Adam Kerr

5,606 total downloads 1,208 for this version
Owners

8b6d240a3a697982a0e77ee7871ac70b

Gemfile
gem 'build_associated', '~> 1.1.3'
Versions
  1. 1.1.3 January 23, 2012 (4.5 KB)
  2. 1.1.2 January 23, 2012 (4.5 KB)
  3. 1.1.1 January 23, 2012 (4.5 KB)
  4. 1.0.1 December 30, 2011 (4.5 KB)
  5. 1.0.0 December 30, 2011 (4.5 KB)
Runtime Dependencies
  1. activerecord >= 0