ernie/valium — Issue #9: Chance to return hashes
Author: masterkain
Created: 2012-01-27 00:22:55+00:00
State: open

It would be useful for me to benchmark how much I'll save when rendering JSON by instantiant AR objects vs raw Array.

`values_of` requires an array of attributes, we can return a collection mapping the arrays, like so:

[{:title => 'a', :artist => 'b'}, {:title => 'c', :artist => 'd'}]

More on subject: http://snippets.dzone.com/posts/show/302