lib/searchgasm/condition/blank.rb in searchgasm-1.3.1 vs lib/searchgasm/condition/blank.rb in searchgasm-1.3.2

- old
+ new

@@ -8,10 +8,9 @@ super + ["is_blank"] end end def to_conditions(value) - # Some databases handle null values differently, let AR handle this if value == true "#{column_sql} is NULL or #{column_sql} = ''" elsif value == false "#{column_sql} is NOT NULL and #{column_sql} != ''" end \ No newline at end of file