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!

Gemfile:
= Copiar al portapapeles ¡Copiado!

instalar:
=

Versiones:

  1. 0.2.0 - June 12, 2013 (7 KB)
  2. 0.1.3 - January 04, 2011 (7 KB)
  3. 0.1.2 - June 21, 2010 (7 KB)
  4. 0.1.1 - June 04, 2010 (6,5 KB)
  5. 0.1.0 - May 28, 2010 (6,5 KB)
Mostrar todas las versiones (8 total)

dependencias de Runtime (1):

activerecord ~> 2.3.0

dependencias de Development (2):

rspec >= 0

Propietarios:

Autores:

  • Mat Brown

SHA 256 checksum:

0e3255bf66733ca86a6ab280e1938f344183c9f73f3905d41d2e6196d2597e1c

Total de descargas 36.502

Para esta versión 4.208

Licencias:

N/A

Versión de Ruby requerida: Ninguno

Enlace: