You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in one of my models results in the rails server starting with an open connection to the database. This means that when trying to make a request from the browser, the following exception is raised:
Environment
Provide at least:
I am running into an issue where including
in one of my models results in the rails server starting with an open connection to the database. This means that when trying to make a request from the browser, the following exception is raised:
I was able to "bandaid" the problem by increasing the pool size from 1 to 2, but I'd like to understand what's going on here.
For some more context, the connection that is left open looks like
This row appears after running
bundle exec rails s
. Theshipper_applications
table, is not the model that includesattr_encrypted
.And when I remove the call to
attr_encrypted
from my model and restart the rails server, I getwhich is what I'd expect.
The text was updated successfully, but these errors were encountered: