search for: de_morgan

Displaying 1 result from an estimated 1 matches for "de_morgan".

2009 Oct 01
9
Strange problem with "and" - "&&"
Hello I have a strange problem with this code: <%unless (@students.empty? and params[:commit].nil?) %> <%="test"%> <%= render :partial => ''results'' %> <% end %> Even though in some cases @students.empty? returns false and params [:commit].nil? returns true (or the opposite), it displays the test and the render area. I put before and