1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib/arel/visitors.rb
Ryuta Kamizono fc38ff6e44 Remove unused DepthFirst visitor
We only use `ToSQL` visitors in the our codebase, do not use
`DepthFirst` and `Dot` visitors.

The `DepthFirst` visitor (which was introduced at c86c37e5f) is used to
traverse an Arel (partial) ast with depth first.

Is there any worth to keep that undocumented feature with much code and
test cases.

This removes that unused `DepthFirst` code and test cases.
2019-06-15 23:20:16 +09:00

19 lines
465 B
Ruby

# frozen_string_literal: true
require "arel/visitors/visitor"
require "arel/visitors/to_sql"
require "arel/visitors/sqlite"
require "arel/visitors/postgresql"
require "arel/visitors/mysql"
require "arel/visitors/mssql"
require "arel/visitors/oracle"
require "arel/visitors/oracle12"
require "arel/visitors/where_sql"
require "arel/visitors/dot"
require "arel/visitors/ibm_db"
require "arel/visitors/informix"
module Arel # :nodoc: all
module Visitors
end
end