diff --git a/app/models/spree/adjustment.rb b/app/models/spree/adjustment.rb index ead01caa77..973f7facee 100644 --- a/app/models/spree/adjustment.rb +++ b/app/models/spree/adjustment.rb @@ -127,11 +127,7 @@ module Spree end def set_absolute_included_tax!(tax) - # This rubocop issue can now fixed by renaming Adjustment#update! to something else, - # then AR's update! can be used instead of update_attributes! - # rubocop:disable Rails/ActiveRecordAliases - update_attributes! included_tax: tax.round(2) - # rubocop:enable Rails/ActiveRecordAliases + update! included_tax: tax.round(2) end def display_included_tax