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!
Required Ruby Version
None
Authors
Mat Brown
Versions
- 0.2.0 June 12, 2013 (7 KB)
- 0.1.3 January 04, 2011 (7 KB)
- 0.1.2 June 21, 2010 (7 KB)
- 0.1.1 June 04, 2010 (6.5 KB)
- 0.1.0 May 28, 2010 (6.5 KB)
- 0.0.1 May 03, 2010 (6.5 KB)