fixed the appl.rb config file since using rails 4