diff options
author | Keenan Brock <keenan@thebrocks.net> | 2016-10-04 18:28:49 -0400 |
---|---|---|
committer | Keenan Brock <keenan@thebrocks.net> | 2017-12-05 09:36:08 -0500 |
commit | 2d78e3a160068d7a024e30b2178084d16cea9807 (patch) | |
tree | e8585cbdaabf61ca9466a25ef086425863191a4e /lib/arel/nodes/extract.rb | |
parent | 8f1db57f2d0f7d2cbb407f2c141dfd61ba8a599b (diff) | |
download | rails-2d78e3a160068d7a024e30b2178084d16cea9807.tar.gz rails-2d78e3a160068d7a024e30b2178084d16cea9807.tar.bz2 rails-2d78e3a160068d7a024e30b2178084d16cea9807.zip |
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
Diffstat (limited to 'lib/arel/nodes/extract.rb')
-rw-r--r-- | lib/arel/nodes/extract.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/arel/nodes/extract.rb b/lib/arel/nodes/extract.rb index 4e797b6770..fdf3004c6a 100644 --- a/lib/arel/nodes/extract.rb +++ b/lib/arel/nodes/extract.rb @@ -2,9 +2,6 @@ module Arel module Nodes class Extract < Arel::Nodes::Unary - include Arel::AliasPredication - include Arel::Predications - attr_accessor :field def initialize expr, field |