diff options
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/suppressor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/suppressor.rb b/activerecord/lib/active_record/suppressor.rb index 5c46d7cc9c..b0b86865fd 100644 --- a/activerecord/lib/active_record/suppressor.rb +++ b/activerecord/lib/active_record/suppressor.rb @@ -39,7 +39,7 @@ module ActiveRecord # Ignore saving events if we're in suppression mode. def save!(*args) # :nodoc: - SuppressorRegistry.suppressed[self.class.name] ? self : super + SuppressorRegistry.suppressed[self.class.name] ? true : super end end |