Testing for empty columns

i almost feel dumb for even asking this one, but i can’t seem to figure
it out.

i just need to test for an empty variable. i’ve tried:

<% if object.value
end %>

but it always evaluates to true, even if the variable is empty.

figured it out. nvm.

i used “object.value.nil?”