RubyGems.org

eager_record

0.1.3

EagerRecord extends ActiveRecord to automate association preloading. Each time a collection of more than one record is loaded from the database, each record remembers the collection that it is part of; then when one of those records has an association accessed, EagerRecord triggers a preload_associations for all the records in the originating collection. Never worry about that :include option again!

installgem install eager_record
Authors

Mat Brown

7,839 total downloads 3,849 for this version
Owners

F9956cc234ccacfee8d107bde748157c

Gemfile
gem "eager_record", "~> 0.1.3"
Versions
  1. 0.1.3 January 4, 2011
Show all versions (7 total)
Development Dependencies
  1. rspec >= 0