Updated based on diffs from https://github.com/railstutorial/sample_app_rails_4