application_helper.rb modify error