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/unary_operation.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/unary_operation.rb')
-rw-r--r-- | lib/arel/nodes/unary_operation.rb | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/arel/nodes/unary_operation.rb b/lib/arel/nodes/unary_operation.rb index 3c56ef2026..be4e270e76 100644 --- a/lib/arel/nodes/unary_operation.rb +++ b/lib/arel/nodes/unary_operation.rb @@ -3,12 +3,6 @@ module Arel module Nodes class UnaryOperation < Unary - include Arel::Expressions - include Arel::Predications - include Arel::OrderPredications - include Arel::AliasPredication - include Arel::Math - attr_reader :operator def initialize operator, operand @@ -23,4 +17,4 @@ module Arel end end end -end
\ No newline at end of file +end |