rails/arel — pull request #112 by benedikt (2012-03-22 18:18:14+00:00)
Title: Adds visit_Arel_Nodes_InfixOperation to Arel::Visitors::DepthFirst

This pull requests adds an alias for `visit_Arel_Nodes_InfixOperation` to `Arel::Visitors::DepthFirst`.

Without this alias there will be a `NoMethodError` which will mess up the `Arel::Visitors::Visitor::DISPATCH` in some situations (like `Model.some_scope.count` in ActiveRecord). As a result subsequent tree traversals involving `Arel::Nodes::InfixOperation` will fail, too.