comparison config/initializers/00zeropaste.rb @ 506:b5c6fd96100b default tip

Readd the field error proc config
author nanaya <me@nanaya.net>
date Mon, 16 Dec 2024 01:46:09 +0900
parents aaf58c17694b
children
comparison
equal deleted inserted replaced
505:7236c8864ad2 506:b5c6fd96100b
1 require_relative "../config_init" 1 require_relative "../config_init"
2 2
3 Rails.application.config.action_view.field_error_proc = proc { |html| html }
3 Rails.application.config.active_record.schema_format = :sql 4 Rails.application.config.active_record.schema_format = :sql
4 Rails.application.config.middleware.delete ActionDispatch::HostAuthorization 5 Rails.application.config.middleware.delete ActionDispatch::HostAuthorization