Fix quote cache invalidation (#37592)

This commit is contained in:
Claire 2026-01-23 14:35:43 +01:00 committed by GitHub
parent 93bda9c76d
commit d05df5c197
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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!