Fix quote cache invalidation (#37592)

This commit is contained in:
Claire 2026-01-23 14:35:43 +01:00
parent 8935137526
commit 81716f7e27

View file

@ -48,7 +48,7 @@ class Quote < ApplicationRecord
def accept!
update!(state: :accepted)
reset_parent_cache! if attribute_changed?(:state)
reset_parent_cache! if attribute_previously_changed?(:state)
end
def reject!