Skip to content

Commit

Permalink
Remove redundant array
Browse files Browse the repository at this point in the history
  • Loading branch information
lewispb committed Aug 13, 2023
1 parent e25a9bb commit 04a8849
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/kredis/attributes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 04a8849

Please sign in to comment.