RubyGems Navigation menu

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!

Versions:

  1. 0.2.0 - June 12, 2013 (7 KB)
  2. 0.1.3 - January 4, 2011 (7 KB)
  3. 0.1.2 - June 21, 2010 (7 KB)
  4. 0.1.1 - June 4, 2010 (6.5 KB)
  5. 0.1.0 - May 28, 2010 (6.5 KB)
Show all versions (8 total)

Runtime Dependencies:

Development Dependencies:

Authors:

  • Mat Brown

Owners:

F9956cc234ccacfee8d107bde748157c

Total downloads 16,351

For this version 727

Show all versions (8 total)

Required Ruby Version: None

Licenses:

N/A

Gemfile:
gem 'eager_record', '~> 0.2.0' = Copy to clipboard Copied!

install:
gem install eager_record = Copy to clipboard Copied!

Links: