edge badge
Methods
S
Instance Public methods
suppress(&block)
# File activerecord/lib/active_record/suppressor.rb, line 33
def suppress(&block)
  previous_state = SuppressorRegistry.suppressed[name]
  SuppressorRegistry.suppressed[name] = true
  yield
ensure
  SuppressorRegistry.suppressed[name] = previous_state
end