On Mon, Apr 26, 2010 at 10:42 PM, Marnen Laibow-Koser <[email protected]> wrote: > [Please quote when replying, so we know what in particular you're > responding to.] > > Vincent M. wrote: >> Sometimes you're not querying a database (for example a REST service >> that returns a json result). Specially in web applications. > > True. But where you have a database, you should use it. :)
Sure, however, the original poster specifically wanted to avoid querying the database twice, which is why the solution ended up Ruby side. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

