# rubocop:disable Naming/MethodName # rubocop:disable Naming/UncommunicativeMethodParamName module Arel module Visitors class Dot def visit_ActiveRecord_Relation_QueryAttribute(o) visit_edge o, 'name' visit_edge o, 'value_before_type_cast' end end class ToSql def visit_ActiveRecord_Relation_QueryAttribute(_o, collector) collector end end end end # rubocop:enable Naming/MethodName # rubocop:enable Naming/UncommunicativeMethodParamName