Created
July 5, 2024 12:19
-
-
Save bassemawhoob/8341403ea27fce8dbee36d1abb2a9624 to your computer and use it in GitHub Desktop.
Debug PG::InFailedSqlTransaction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Source: https://stackoverflow.com/questions/73718680/debug-pginfailedsqltransaction | |
puts ActiveRecord::Base.connection.raw_connection.error_message |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment