From 6e5140b57b75ddfc156f039793a4e5b23598a339 Mon Sep 17 00:00:00 2001 From: Hazimi Asyraf Date: Tue, 4 Aug 2026 22:45:19 +0800 Subject: [PATCH] Replace deprecated around_filter with around_action --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c18d44d7..b0633db1 100644 --- a/README.md +++ b/README.md @@ -248,7 +248,7 @@ Cache reads and writes can be memoized for a block of code to serve duplicate id ``` ruby class ApplicationController < ActionController::Base - around_filter :identity_cache_memoization + around_action :identity_cache_memoization def identity_cache_memoization(&block) IdentityCache.cache.with_memoization(&block)