fix: undefined method update_cache_key for nil:NilClass (#7568)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user