annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
504
aaf58c17694b Move out custom application config
nanaya <me@nanaya.net>
parents:
diff changeset
1 require_relative "../config_init"
aaf58c17694b Move out custom application config
nanaya <me@nanaya.net>
parents:
diff changeset
2
506
b5c6fd96100b Readd the field error proc config
nanaya <me@nanaya.net>
parents: 504
diff changeset
3 Rails.application.config.action_view.field_error_proc = proc { |html| html }
504
aaf58c17694b Move out custom application config
nanaya <me@nanaya.net>
parents:
diff changeset
4 Rails.application.config.active_record.schema_format = :sql
aaf58c17694b Move out custom application config
nanaya <me@nanaya.net>
parents:
diff changeset
5 Rails.application.config.middleware.delete ActionDispatch::HostAuthorization