From e82005c517626f1cd8eafeceef560572c30eff02 Mon Sep 17 00:00:00 2001 From: Steffen van Bergerem Date: Sun, 5 Mar 2017 16:15:39 +0100 Subject: [PATCH] Disable Rails/HttpPositionalArguments cop See http://rubocop.readthedocs.io/en/latest/cops_rails/#railshttppositionalarguments. It only applies to Rails >= 5 closes #7353 --- .rubocop.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index fae72b1a6..2ebb26cff 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -6,6 +6,10 @@ AllCops: Rails: Enabled: true +# Disable for rails 4 +Rails/HttpPositionalArguments: + Enabled: false + # Commonly used screens these days easily fit more than 80 characters. Metrics/LineLength: Max: 120