fix: undefined method update_cache_key for nil:NilClass (#7568)

This commit is contained in:
Shivam Mishra
2023-07-24 13:00:09 +05:30
committed by Sojan
parent 39f14bebbd
commit 1c47478104

View File

@@ -2,7 +2,7 @@ module AccountCacheRevalidator
extend ActiveSupport::Concern extend ActiveSupport::Concern
included do included do
after_commit :update_account_cache after_commit :update_account_cache, on: [:create, :update]
end end
def update_account_cache def update_account_cache