diff options
author | hellekin <hellekin@cepheide.org> | 2020-10-06 13:27:52 +0200 |
---|---|---|
committer | hellekin <hellekin@cepheide.org> | 2020-10-06 13:27:52 +0200 |
commit | 3e7c3986326649895aab388bc3c91a0ec3bd6853 (patch) | |
tree | 5a74d30a79ae49a3a6c9e0c5549136c34e3c36fd /config/puma.rb | |
parent | 0677edc62112f0297a91211d19ed318c85c49a1e (diff) | |
download | incommon-map-3e7c3986326649895aab388bc3c91a0ec3bd6853.tar.gz |
Remove broken code
Diffstat (limited to 'config/puma.rb')
-rw-r--r-- | config/puma.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/config/puma.rb b/config/puma.rb index 8b894d0..b31c6d3 100644 --- a/config/puma.rb +++ b/config/puma.rb @@ -53,9 +53,3 @@ preload_app! # Allow puma to be restarted by `rails restart` command. plugin :tmp_restart - -on_worker_boot do - require "active_record" - ActiveRecord::Base.connection.disconnect! rescue ActiveRecord::ConnectionNotEstablished - ActiveRecord::Base.establish_connection(YAML.load_file("#{app_dir}/config/database.yml")[rails_env]) -end |