module SaferRailsConsole::Patches::Sandbox::AutoRollback::ActiveRecord::ConnectionAdapters::PostgreSQLAdapter5

Public Instance Methods

execute_and_clear(sql, name, binds, prepare: false) click to toggle source
Calls superclass method
# File lib/safer_rails_console/patches/sandbox/auto_rollback.rb, line 28
def execute_and_clear(sql, name, binds, prepare: false)
  super
rescue => e
  SaferRailsConsole::Patches::Sandbox::AutoRollback.handle_and_reraise_exception(e)
end