From 04a8849511922ca5748a093259d1bfed7c8a1e7c Mon Sep 17 00:00:00 2001 From: Lewis Buckley Date: Sun, 13 Aug 2023 20:45:23 +0100 Subject: [PATCH] Remove redundant array --- lib/kredis/attributes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/kredis/attributes.rb b/lib/kredis/attributes.rb index d1ebd28..a4bf798 100644 --- a/lib/kredis/attributes.rb +++ b/lib/kredis/attributes.rb @@ -121,7 +121,7 @@ def kredis_key_evaluated(scope, key, name) end def kredis_key_for_model(model = self) - [ model.class.name.tableize.tr("/", ":") ] + model.class.name.tableize.tr("/", ":") end def extract_kredis_id(model = self)