lib/searchgasm/condition/blank.rb in searchgasm-1.5.2 vs lib/searchgasm/condition/blank.rb in searchgasm-1.5.3

- old
+ new

@@ -9,12 +9,12 @@ end end def to_conditions(value) if value == true - "#{column_sql} is NULL or #{column_sql} = '' or #{column_sql} = false" + "#{column_sql} IS NULL or #{column_sql} = '' or #{column_sql} = false" elsif value == false - "#{column_sql} is NOT NULL and #{column_sql} != '' and #{column_sql} != false" + "#{column_sql} IS NOT NULL and #{column_sql} != '' and #{column_sql} != false" end end end end end \ No newline at end of file