Project

General

Profile

Actions

Patch #6761

closed

Use blank?/present? methods instead of empty? to avoid nil undefined method errors

Added by Jean-Baptiste Barth about 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Category:
Code cleanup/refactoring
Target version:
-
Start date:
2010-10-27
Due date:
% Done:

0%

Estimated time:

Description

Discussed in #6750, I think it would be a good practice to avoid the well known "undefined method error for nil:NilClass". Plus it would make some views clearer...

Actions

Also available in: Atom PDF