edits to rails 4 blog post