config.hosts no longer supports underscores in host name and error message is incorrect · Issue #41545 · rails/rails

Steps to reproduce Create an application with an underscore in the hostname (e.g. rails_example). Add that hostname to config.hosts in your config/environment.rb. Update your local hosts file to po...