Displaying 1 result from an estimated 1 matches for "do_something_here".
2006 May 08
1
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
do_something_here
end %>
but it always evaluates to true, even if the variable is empty.
--
Posted via http://www.ruby-forum.com/.