Additional file edits to use Rails 4 style.