This is Devhints.io cheatsheets — a collection of cheatsheets I've written.

# Rails features

### Page caching

    class WeblogController < ActionController::Base
      caches_page :show, :new
    end

This will generate cache files such as `weblog/show/5.html` and `weblog/new.html`, which match the URLs used that would normally trigger dynamic page generation

Devhints.io cheatsheets is a collection of cheatsheets I've written over the years. Suggestions and corrections? Send them in. I'm Rico Sta. Cruz. Check out my Today I learned blog for more.