Update some comments and code that are changed in new Rails 4 apps