Section 5 and 6 of Getting Started with Rails
Merge branch 'master' of https://github.com/sprestage/blog