Enhancement: edit application.rb to rails4
edit file for rails4