# RAM saving plugins

**URL:** <https://www.ruby-forum.com/t/ram-saving-plugins/136302>\
**Category:** Rails\
**Created:** [April 30, 2008, 4:29pm UTC](https://www.ruby-forum.com/t/ram-saving-plugins/136302 "2008-04-30T16:29:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rogerdpack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/45deac/32.png) [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Post date:** [April 30, 2008, 4:29pm UTC](https://www.ruby-forum.com/t/ram-saving-plugins/136302/1 "2008-04-30T16:29:18Z")

</div>

Thought I’d put in a plug for some plugins I noticed the other day.

[http://pennysmalls.com/](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/](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
