Upgrading application.rb