Refactor #19828

Fix Rubocop: Rails/Blank

Added by Tomer Brisker 11 months ago. Updated 10 months ago.

Assigned To:Tomer Brisker
Target version:-
Difficulty: Bugzilla link:
Found in release: Pull request:
Story points-
Velocity based estimate-
Release1.16.0Release relationshipAuto

Related issues

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

Associated revisions

Revision 4dec807a
Added by Tomer Brisker 10 months 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 10 months ago

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

#2 Updated by Anonymous 10 months ago

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

#3 Updated by Daniel Lobato Garcia 10 months ago

  • Subject changed from Fix Rubocop: Rails/Blank to Fix Rubocop: Rails/Blank
  • Release set to 1.16.0

#4 Updated by Michael Moll 4 months ago

Also available in: Atom PDF