Rails 6 Blocked Hosts
Rails 6 has a new feature where only whitelisted hosts are allowed to be accessed. By default only localhost
is permitted.
When doing mobile development, you always need to test the app in a real device that connects to a backend. In order to automatically add the dev machine host to the list, just change your development.rb
to: