lib/searchgasm/condition/not_have_keywords.rb in searchgasm-1.3.5 vs lib/searchgasm/condition/not_have_keywords.rb in searchgasm-1.4.0

- old
+ new

@@ -6,10 +6,10 @@ super + ["not_have_keywords", "not_keywords", "not_have_kw", "not_kw", "not_have_kwwords", "not_kwwords"] end end def to_conditions(value) - keywords = Keywords.new + keywords = Keywords.new(klass, options) keywords.value = value conditions = keywords.to_conditions return conditions if conditions.blank? conditions.first.gsub!(" LIKE ", " NOT LIKE ") conditions \ No newline at end of file