2
0

Fix Style/StringLiterals cop (#30005)

This commit is contained in:
Matt Jankowski
2024-04-19 16:33:00 -04:00
committed by GitHub
parent 8d47ba893a
commit 933189887b
7 changed files with 8 additions and 20 deletions

View File

@@ -14,7 +14,7 @@ class Rack::Attack
end
def remote_ip
@remote_ip ||= (@env["action_dispatch.remote_ip"] || ip).to_s
@remote_ip ||= (@env['action_dispatch.remote_ip'] || ip).to_s
end
def throttleable_remote_ip