Remove legacy code from Puma config.

This commit is contained in:
Jani Monoses
2024-04-05 23:28:59 +03:00
parent f9d9fe8f23
commit 17e000aaf9

View File

@@ -23,13 +23,3 @@ on_restart do
puts "Refreshing Gemfile"
ENV["BUNDLE_GEMFILE"] = ""
end
before_fork do
ActiveRecord::Base.connection_pool.disconnect!
end
on_worker_boot do
ActiveSupport.on_load(:active_record) do
ActiveRecord::Base.establish_connection
end
end