Fix quote cache invalidation (#37592)
This commit is contained in:
@@ -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!
|
||||
|
||||
Reference in New Issue
Block a user