search for: affiliate_name

Displaying 1 result from an estimated 1 matches for "affiliate_name".

2006 Apr 15
2
ez_where : i''m puzzled
I have the following code: condition_clause = "%#{@phrase}%" logger.info "condition is #{condition_clause}" unless @phrase.nil? condition = Caboose::EZ::Condition.new :affiliates do affiliate_name =~ "%#{@phrase}%" # <<< here''s the problem end options[:conditions] = condition.to_sql logger.info "ajax param is #{@phrase}" logger.info "ez condition is #{condition.to_sql}" end The output from the logs is: ajax param i...