eager_record 0.2.0
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!
Gemfile:
=
install:
=
Runtime Dependencies (1):
activerecord
~> 2.3.0
Development Dependencies (2):
rspec
>= 0
sqlite3-ruby
>= 0