3 ms·
Regularfry's points are absolutely correct. However, in the event that you do need caching, it can be achieved through a variety of means, including ORM level
by knowtheory 16y ago
Regularfry's points are absolutely correct.
However, in the event that you do need caching, it can be achieved through a variety of means, including ORM level object caching, controller caching and/or view/fragment caching.
Lastly, have you read this guide on Rails caching? Much of this is readily available in the standard distribution of rails: http://guides.rubyonrails.org/caching_with_rails.html http://guides.rubyonrails.org/caching_with_rails.html
(final thought — this is a question might have been better suited for StackOverflow, just given the manner in which SO and HN are geared.)