From 2681d76e1277c8bb15d82e51367c3ba0bfa846b2 Mon Sep 17 00:00:00 2001 From: Kevin McConnell Date: Mon, 27 Jan 2025 14:16:41 +0000 Subject: [PATCH] Allow all hosts in development, for testing --- config/environments/development.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/environments/development.rb b/config/environments/development.rb index 7c75829a4..33a531c5b 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -74,4 +74,7 @@ Rails.application.configure do # Raise error when a before_action's only/except options reference missing actions config.action_controller.raise_on_missing_callback_actions = true + + # Allow all hosts in development + config.hosts = nil end