Refactor #19828

Fix Rubocop: Rails/Blank

Added by Tomer Brisker about 1 year ago. Updated 9 days ago.

Assignee:Tomer Brisker
Target version:1.16.0
Difficulty: Team Backlog:
Triaged: Fixed in Releases:
Bugzilla link: Found in Releases:
Pull request:

Related issues

Related to Foreman - Refactor #22058: Rubocop Tracker Issue New 12/21/2017

Associated revisions

Revision 4dec807a
Added by Tomer Brisker about 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?`.


#1 Updated by The Foreman Bot about 1 year ago

  • Status changed from New to Ready For Testing
  • Assignee set to Tomer Brisker
  • Pull request added

#2 Updated by Anonymous about 1 year ago

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

#3 Updated by Daniel Lobato Garcia about 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 7 months ago

Also available in: Atom PDF