rename error in application.rb changed