We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74b073c commit bccd04bCopy full SHA for bccd04b
README.md
@@ -33,4 +33,8 @@ Testing - https://edgeapi.rubyonrails.org/classes/ActionDispatch/SystemTestCase.
33
34
35
## Render
36
-https://render.com/docs/deploy-rails#update-your-app-for-render
+https://render.com/docs/deploy-rails#update-your-app-for-render
37
+
38
39
+## Heroku
40
+https://devcenter.heroku.com/articles/deploying-rails-applications-with-the-puma-web-server
config/puma.rb
@@ -39,5 +39,10 @@
#
preload_app!
41
42
+on_worker_boot do
43
+ # Valid on Rails 4.1+ using the `config/database.yml` method of setting `pool` size
44
+ ActiveRecord::Base.establish_connection
45
+end
46
47
# Allow puma to be restarted by `rails restart` command.
48
plugin :tmp_restart
0 commit comments