diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2014-11-04 16:17:01 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2014-11-04 16:17:01 -0800 |
commit | 9eb4a1c633894a367ad99e93e4e0000f7acf1e50 (patch) | |
tree | b37cfc5131320f78d7e6670e081f9b4df5aca12c /lib/arel | |
parent | b364cb1083f4e9d7a9e313e5de1174046bcfcbd4 (diff) | |
download | rails-9eb4a1c633894a367ad99e93e4e0000f7acf1e50.tar.gz rails-9eb4a1c633894a367ad99e93e4e0000f7acf1e50.tar.bz2 rails-9eb4a1c633894a367ad99e93e4e0000f7acf1e50.zip |
oops! that should not have been checked in
Diffstat (limited to 'lib/arel')
-rw-r--r-- | lib/arel/visitors/visitor.rb | 3 |
1 files changed, 1 insertions, 2 deletions
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 |