From 56f8c6a77c2def8d517c0ba25c34065882d25533 Mon Sep 17 00:00:00 2001 From: Martin Meyerhoff Date: Tue, 18 Feb 2025 11:56:11 +0100 Subject: [PATCH] Rubocop: Ignore Rails/Delegate This rule makes code shorter, but much less understandable. (cherry picked from commit 90ce1900d28ec92208f940b70dc62dabb030133a) --- .rubocop.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index fcba6ffedbc..b5eebd324f3 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -118,6 +118,10 @@ Style/TrailingCommaInHashLiteral: Style/SymbolArray: Enabled: false +# In some circumstances, this looks really unintuitive +Rails/Delegate: + Enabled: false + Rails/DynamicFindBy: Whitelist: - find_by_param