lib/searchlogic/condition/not_equal.rb in searchlogic-1.6.0 vs lib/searchlogic/condition/not_equal.rb in searchlogic-1.6.1

- old
+ new

@@ -13,9 +13,10 @@ def to_conditions(value) # Delegate to equals and then change condition = Equals.new(klass, options) condition.value = value conditions_array = condition.sanitize + return conditions_array if conditions_array.blank? conditions_array.first.gsub!(/ IS /, " IS NOT ") conditions_array.first.gsub!(/ BETWEEN /, " NOT BETWEEN ") conditions_array.first.gsub!(/ IN /, " NOT IN ") conditions_array.first.gsub!(/=/, "!=") conditions_array \ No newline at end of file