lib/searchgasm/condition/nil.rb in searchgasm-1.5.2 vs lib/searchgasm/condition/nil.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"
+ "#{column_sql} IS NULL"
elsif value == false
- "#{column_sql} is NOT NULL"
+ "#{column_sql} IS NOT NULL"
end
end
end
end
end
\ No newline at end of file