jookyboi
10/3/2013 - 8:16 PM

Fetch response with memcache. From https://devcenter.heroku.com/articles/building-a-rails-3-application-with-memcache

def self.all_cached
  Rails.cache.fetch('Contact.all') { all }
end