Replies: 1 comment
-
I don't think it's a good idea to do that in the controller. It should be done in the background.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In my app I want to have a "generate pdf" controller action
Scenario:
when a user clicks
it hits the controller action in PDF format, that opens a ferrum browser and visits the controller action in HTML format:
In this case I will often get the
Ferrum::PendingConnectionsError
error withRequest to http://localhost:3000/projects reached server, but there are still pending connections: http:/localhost:3000/projects
Are there some best practices to follow to avoid this error?
Beta Was this translation helpful? Give feedback.
All reactions