# File lib/ambition/lib/ambition/where.rb, line 134 def translation(receiver, method, other) case method.to_s when '==' "#{process(receiver)} = #{process(other)}" when '<>', '>', '<' "#{process(receiver)} #{method} #{process(other)}" when 'include?' "#{process(other)} IN (#{process(receiver)})" when '=~' "#{process(receiver)} LIKE #{process(other)}" when '!~' "#{process(receiver)} NOT LIKE #{process(other)}" else build_condition(receiver, method, other) end end