Project

General

Profile

Refactor #19828

Fix Rubocop: Rails/Blank

Added by Tomer Brisker over 1 year ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:


Related issues

Related to Foreman - Refactor #22058: Rubocop Tracker IssueNew2017-12-21

Associated revisions

Revision 4dec807a (diff)
Added by Tomer Brisker over 1 year ago

Fixes #19828 - Fix Rails/Blank cop

I disabled the default UnlessPresent value since sometimes it's clearer
to use `unless attribute.present?` instead of `if attribute.blank?`.

History

#1 Updated by The Foreman Bot over 1 year ago

  • Status changed from New to Ready For Testing
  • Assignee set to Tomer Brisker
  • Pull request https://github.com/theforeman/foreman/pull/4648 added

#2 Updated by Anonymous over 1 year ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#3 Updated by Daniel Lobato Garcia over 1 year ago

  • Subject changed from Fix Rubocop: Rails/Blank to Fix Rubocop: Rails/Blank
  • Legacy Backlogs Release (now unused) set to 240

#4 Updated by Michael Moll 11 months ago

Also available in: Atom PDF