return true if the receiver is empty or nil |
|
| see zena 1.0 | |
This method works on any object:
Testing if a string is empty (or nil):
<r:if eval='title.blank?'>...</r:if>
In fact the example above is the reverse of
<r:if attr='title'>..</r:if>.
Testing if a relation does not exist:
<r:if eval='icon.blank?'>...</r:if>
Usually, all these usages are better implemented with if and else.