module SaferRailsConsole::Patches::Sandbox::TransactionReadOnly::ActiveRecord::ConnectionAdapters::PostgreSQLAdapter

Public Instance Methods

begin_db_transaction() click to toggle source
Calls superclass method
# File lib/safer_rails_console/patches/sandbox/transaction_read_only.rb, line 10
def begin_db_transaction
  super
  execute 'SET TRANSACTION READ ONLY'
end