From 9746e68856a6854b377dc04fe46cab5039f6fb0c Mon Sep 17 00:00:00 2001 From: Joel Sugarman Date: Tue, 26 Nov 2024 12:40:10 +0000 Subject: [PATCH] Reverts commit c7e536240 --- app/forms/applicants/basic_details_form.rb | 3 --- config/environments/development.rb | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/app/forms/applicants/basic_details_form.rb b/app/forms/applicants/basic_details_form.rb index 70b10d01b1..4e6ea00fb3 100644 --- a/app/forms/applicants/basic_details_form.rb +++ b/app/forms/applicants/basic_details_form.rb @@ -38,9 +38,6 @@ class BasicDetailsForm < BaseForm ) def save - # raise internal server error - nil.test if first_name&.downcase == "joely" - if changed_last_name.to_s == "false" attributes[:last_name_at_birth] = nil end diff --git a/config/environments/development.rb b/config/environments/development.rb index fbd393d945..cb6483c622 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -10,7 +10,7 @@ config.eager_load = false # Set to false to show unhandled errors as on production hosts - config.consider_all_requests_local = false + config.consider_all_requests_local = true # Enable/disable caching. By default caching is disabled. # Run rails dev:cache to toggle caching.