-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
While I don't think this is technically a bug, I wanted to document it as an issue and let users/maintainers decide what to do.
If a gaffe user uses a custom controller that requires a database connection, that database connection must be cleared manually. My suggested course of action is just to note this in the README and to add some sort of code example showing how to clear the connections. Something like:
append_after_filter :clear_connections
private
def clear_connections
ActiveRecord::Base.clear_active_connections!
end
Metadata
Metadata
Assignees
Labels
No labels