blank?
RB-RL1050While the safe navigation operator is generally a good idea, when checking foo&.blank?
in a conditional, foo being nil
will actually do the opposite of what was intended.
do_something if foo&.blank?
do_something if foo.blank?