updates some application.rb to make it work on interwebs