From 2d78e3a160068d7a024e30b2178084d16cea9807 Mon Sep 17 00:00:00 2001 From: Keenan Brock Date: Tue, 4 Oct 2016 18:28:49 -0400 Subject: Introduce NodeExpression as parent of scalar nodes SQL is very powerful. Many nodes can be used as a sub expression or query. grouping all of these possible nodes together --- lib/arel/nodes/case.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib/arel/nodes/case.rb') diff --git a/lib/arel/nodes/case.rb b/lib/arel/nodes/case.rb index 1edca40001..50ea1e0be2 100644 --- a/lib/arel/nodes/case.rb +++ b/lib/arel/nodes/case.rb @@ -2,10 +2,6 @@ module Arel module Nodes class Case < Arel::Nodes::Node - include Arel::OrderPredications - include Arel::Predications - include Arel::AliasPredication - attr_accessor :case, :conditions, :default def initialize expression = nil, default = nil -- cgit v1.2.3