diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-02-22 11:51:46 -0600 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-02-23 09:32:42 -0600 |
commit | 75f5fa997de148c9bc0e5bd6e6f6050526a0b164 (patch) | |
tree | e2fd6db5b1190817c062a8df20018dd00be68ce0 /.rubocop.yml | |
parent | 7d4b52b27dcbe30d85d4fad27e983cee51cf6677 (diff) | |
download | gitlab-ce-75f5fa997de148c9bc0e5bd6e6f6050526a0b164.tar.gz |
Enable Rails/Delegate
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index 21d692c2859..e07282dd894 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -763,7 +763,7 @@ Rails/Date: # Prefer delegate method for delegations. Rails/Delegate: - Enabled: false + Enabled: true # Prefer `find_by` over `where.first`. Rails/FindBy: |