Permalink
Browse files

oops! that should not have been checked in

  • Loading branch information...
1 parent b364cb1 commit 9eb4a1c633894a367ad99e93e4e0000f7acf1e50 @tenderlove tenderlove committed Nov 5, 2014
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/arel/visitors/visitor.rb
@@ -3,8 +3,7 @@ module Visitors
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

0 comments on commit 9eb4a1c

Please sign in to comment.