class ActiveRecord::PostgresqlTransactionTest
Private Instance Methods
with_warning_suppression() { || ... }
click to toggle source
# File activerecord/test/cases/adapters/postgresql/transaction_test.rb, line 96 def with_warning_suppression log_level = ActiveRecord::Base.connection.client_min_messages ActiveRecord::Base.connection.client_min_messages = "error" yield ensure ActiveRecord::Base.connection.client_min_messages = log_level end