Skip to content

Conversation

eric-chahin
Copy link

...ad of #connection.

Any place that called #connection that did not store it in some field was changed to use #with_connection because #with_connection will create a connection, run the block that needs that connection, and then let go of the connection so that connections aren't held onto.

This is a WIP. I needed to comment out two test cases that were specifically looking for #connection. I know I made a lot of sweeping changes so I would greatly appreciate feedback.

…stead of #connection.

Any place that called #connection that did not store it in some field was changed to use #with_connection because #with_connection will create a connection, run the block that needs that connection, and then let go of the connection so that connections are held onto.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant