connection_adapter.rb revision 341f09a83aa18635a9b1651a988a81d0d5a55d6f
class ActiveRecord::ConnectionAdapters::AbstractAdapter
def ilike_operator
if ActiveRecord::ConnectionAdapters::PostgreSQLAdapter === self
"ILIKE"
else
# in MySQL there is no ILIKE operator. LIKE is already case insensitive.
"LIKE"
end
end
end