RubyGems.org

ar_attr_lazy

0.1.0

A little gem for Rails that provides the ability to specify attributes that will not be loaded when the record is loaded from the database, until you explicitly refer to those attributes. This is useful when you have a lot of text columns in your table; in this case lazy-loading the text attributes is a good way to lend your server a hand and cut down on database access time.

installgem install ar_attr_lazy
Authors

Elliot Winkler

2,176 total downloads 2,176 for this version
Owners

E9e852b18079792bc5f4ec52b8e37c53

Gemfile
gem 'ar_attr_lazy', '~> 0.1.0'
Versions
  1. 0.1.0 January 19, 2010 (15.5 KB)
Runtime Dependencies
  1. activerecord < 3.0