Sql caching

If I have something like this defined in a helper:
@categories = Category.find(:all, :order => “name”)

This table does not get changed often at all. Is there a way to cache
the results so it is only called once per day(or some period of time)?


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs