Displaying 1 result from an estimated 1 matches for "hash_extension".
Did you mean:
ast_extension
2008 Apr 30
0
RAM saving plugins
Thought I''d put in a plug for some plugins I noticed the other day.
http://pennysmalls.com/
slim attribute plugin
purports to ''lazy load'' your AR attributes, so if you never use that
description, it never gets loaded. Looks nice.
http://blog.chak.org/tag/hash/
hash_extension plugin
Allows for you to retrieve hashes instead of instantiated AR modes.
Program.find_as_hashes(:first)
>> {:id => 4, :name => "fred"} # a hash--saves on RAM, speed is much
faster for creation and lookup, I''d imagine.
Cheers!
-R
--~--~---------~--~----~-----------...