# HG changeset patch # User nanaya # Date 1734280445 -32400 # Node ID aaf58c17694b3f10bacd3b72b983af1975923c70 # Parent 2392b86711a17bf0686b3e362dd5fc1e00ad770c Move out custom application config diff -r 2392b86711a1 -r aaf58c17694b config/application.rb --- a/config/application.rb Mon Dec 16 01:15:49 2024 +0900 +++ b/config/application.rb Mon Dec 16 01:34:05 2024 +0900 @@ -1,4 +1,3 @@ -require_relative "config_init" require_relative "boot" require "rails" @@ -36,8 +35,5 @@ # # config.time_zone = "Central Time (US & Canada)" # config.eager_load_paths << Rails.root.join("extras") - - config.active_record.schema_format = :sql - config.middleware.delete ActionDispatch::HostAuthorization end end diff -r 2392b86711a1 -r aaf58c17694b config/initializers/00zeropaste.rb --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/config/initializers/00zeropaste.rb Mon Dec 16 01:34:05 2024 +0900 @@ -0,0 +1,4 @@ +require_relative "../config_init" + +Rails.application.config.active_record.schema_format = :sql +Rails.application.config.middleware.delete ActionDispatch::HostAuthorization