<% unless !object.value.to_s.empty? -%>

<%= object.value %>

<% end -%>