diff options
Diffstat (limited to 'lib/arel')
-rw-r--r-- | lib/arel/select_manager.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/select_manager.rb b/lib/arel/select_manager.rb index e330e49e71..77853ea854 100644 --- a/lib/arel/select_manager.rb +++ b/lib/arel/select_manager.rb @@ -135,7 +135,7 @@ module Arel end def union operation, other = nil - if operation.is_a? Symbol + if other node_class = Nodes.const_get("Union#{operation.to_s.capitalize}") else other = operation |