Closed chase439 closed 5 years ago
I'm getting this error when I upgraded from rails 5.2 to 6.0.0. It was working fine in Rails 5.2.
I think it points to these lines:
After some troubleshooting, this happens when there's a line like below in Rails app's config/application.rb:
This line is recommended by Rails.
What is your capybara version?
latest capybara version 3.29.0
After more troubleshooting, I found the solution.
Put in config/environments/test.rb: config.hosts = []
config.hosts = []
Yeap https://www.fngtps.com/2019/rails6-blocked-host/
I'm getting this error when I upgraded from rails 5.2 to 6.0.0. It was working fine in Rails 5.2.
I think it points to these lines:
After some troubleshooting, this happens when there's a line like below in Rails app's config/application.rb:
This line is recommended by Rails.