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
I recently upgraded our app (console1984 installed) to rails 7.2 and realized that the sandbox mode did not work. It worked fine when rails 7.1.
The problem seems like calling reconnect! without restore_transactions: true. I added the option and sandbox mode worked again. Furthermore, the sandbox mode breaks if I call ApplicationRecord.connection.reconnect! in a working sandboxed rails console.
I recently upgraded our app (console1984 installed) to rails 7.2 and realized that the sandbox mode did not work. It worked fine when rails 7.1.
The problem seems like calling
reconnect!
withoutrestore_transactions: true
. I added the option and sandbox mode worked again. Furthermore, the sandbox mode breaks if I callApplicationRecord.connection.reconnect!
in a working sandboxed rails console.console1984/lib/console1984/sessions_logger/database.rb
Line 64 in f7b85df
See also #91.
The text was updated successfully, but these errors were encountered: