class ActiveRecord::ConnectionAdapters::Mysql2Adapter

def configure_connection

def configure_connection
  @connection.query_options[:as] = :array
  super
end