Updating rails-app and fixing a few references