lib/searchgasm/condition/not_begin_with.rb in searchgasm-1.5.2 vs lib/searchgasm/condition/not_begin_with.rb in searchgasm-1.5.3
- old
+ new
@@ -8,10 +8,10 @@
end
def to_conditions(value)
begin_with = BeginWith.new(klass, options)
begin_with.value = value
- conditions = being_with.to_conditions
+ conditions = being_with.sanitize
return conditions if conditions.blank?
conditions.first.gsub!(" LIKE ", " NOT LIKE ")
conditions
end
end
\ No newline at end of file