lib/searchgasm/condition/not_like.rb in searchgasm-1.5.2 vs lib/searchgasm/condition/not_like.rb in searchgasm-1.5.3

- old
+ new

@@ -8,12 +8,12 @@ end def to_conditions(value) like = Like.new(klass, options) like.value = value - conditions = like.to_conditions + conditions = like.sanitize return conditions if conditions.blank? - conditions.first.gsub!(" LIKE ", " NOT LIKE ") + conditions.first.gsub!(" #{like_condition_name} ", " NOT #{like_condition_name} ") conditions end end end end \ No newline at end of file