From 9eb4a1c633894a367ad99e93e4e0000f7acf1e50 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Tue, 4 Nov 2014 16:17:01 -0800 Subject: oops! that should not have been checked in --- lib/arel/visitors/visitor.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/arel/visitors') diff --git a/lib/arel/visitors/visitor.rb b/lib/arel/visitors/visitor.rb index 2317d0c95f..146ae216f6 100644 --- a/lib/arel/visitors/visitor.rb +++ b/lib/arel/visitors/visitor.rb @@ -3,8 +3,7 @@ module Arel class Visitor def initialize @dispatch = Hash.new do |hash, class_name| - raise if class_name == 'Arel::Nodes::Union' - hash[class_name] = "visit_#{(class_name || '').gsub('::', '_')}" + hash[class_name] = "visit_#{(class_name || '').gsub('::', '_')}" end # pre-populate cache. FIXME: this should be passed in to each -- cgit v1.2.3