lib/searchgasm/condition/not_begin_with.rb in searchgasm-1.3.0 vs lib/searchgasm/condition/not_begin_with.rb in searchgasm-1.3.1

- old
+ new

@@ -8,10 +8,13 @@ end def to_conditions(value) begin_with = BeginWith.new begin_with.value = value - being_with.to_conditions.gsub(" LIKE ", " NOT LIKE ") + conditions = being_with.to_conditions + return conditions if conditions.blank? + conditions.first.gsub!(" LIKE ", " NOT LIKE ") + conditions end end end end \ No newline at end of file