From eab3019553dedf0ab2487e1aacd06bb16d89c703 Mon Sep 17 00:00:00 2001 From: Shuaib Zahda Date: Thu, 23 May 2024 18:08:55 +0300 Subject: [PATCH] Update friendly_id.md (#831) fixing typo in class name. remove 4 from ActiveRecord4Adapter --- docs/friendly_id.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/friendly_id.md b/docs/friendly_id.md index b20c03eb..21f3b678 100644 --- a/docs/friendly_id.md +++ b/docs/friendly_id.md @@ -16,7 +16,7 @@ if defined?(CanCanCan) module CanCan module ModelAdapters - class ActiveRecord4Adapter < AbstractAdapter + class ActiveRecordAdapter < AbstractAdapter @@friendly_support = {} def self.find(model_class, id)