Commit 48fd7459 authored by Toon Claes's avatar Toon Claes Committed by Douglas Barbosa Alexandre

Get rid of public_send

And use attribute method instead.
parent 17047303
......@@ -337,7 +337,7 @@ class GeoNodeStatus < ApplicationRecord
end
def [](key)
public_send(key) # rubocop:disable GitlabSecurity/PublicSend
attribute(key)
end
private
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment