Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Don't disconnect ActiveRecord connections on before_fork #270

Closed
dsandstrom opened this issue May 3, 2018 · 1 comment
Closed

Don't disconnect ActiveRecord connections on before_fork #270

dsandstrom opened this issue May 3, 2018 · 1 comment

Comments

@dsandstrom
Copy link

dsandstrom commented May 3, 2018

I ran into an issue after updating puma (3.11.4), capistrano (3.10.2), and capistrano3-puma (3.1.1). I get NameError: uninitialized constant ActiveRecord when starting the app. I commented out the before_fork block from the production puma config and was then able to start the app. I believe that block is not needed anymore from this issue puma/puma#1528. I don't really see what they are talking about in the readme, but I did notice that they don't show the ActiveRecord disconnection in their examples.

#170

@github-actions
Copy link

github-actions bot commented Apr 6, 2021

Stale issue message

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant