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/false.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/arel/nodes/false.rb') diff --git a/lib/arel/nodes/false.rb b/lib/arel/nodes/false.rb index fb821dd522..58132a2f90 100644 --- a/lib/arel/nodes/false.rb +++ b/lib/arel/nodes/false.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true module Arel module Nodes - class False < Arel::Nodes::Node + class False < Arel::Nodes::NodeExpression def hash self.class.hash end -- cgit v1.2.3