More updates to app for newer version of Rails