aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/nodes
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-12-06 09:36:13 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2010-12-06 09:36:13 -0800
commite4ea62bdec406f0bc8692b6cfad83c17ac6773d6 (patch)
tree40887946c29875f0ad282d804e8b1f73bd85c635 /lib/arel/nodes
parentac6296ab8f9d38dbfa8149eb0c6e16d6957dd519 (diff)
parent516ae526b34333073df7a9835952d5d499197fdd (diff)
downloadrails-e4ea62bdec406f0bc8692b6cfad83c17ac6773d6.tar.gz
rails-e4ea62bdec406f0bc8692b6cfad83c17ac6773d6.tar.bz2
rails-e4ea62bdec406f0bc8692b6cfad83c17ac6773d6.zip
Merge branch '2-0-stable'
* 2-0-stable: adding a test for the dot visitor
Diffstat (limited to 'lib/arel/nodes')
-rw-r--r--lib/arel/nodes/node.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/nodes/node.rb b/lib/arel/nodes/node.rb
index 634e580a8f..567221aab2 100644
--- a/lib/arel/nodes/node.rb
+++ b/lib/arel/nodes/node.rb
@@ -9,7 +9,7 @@ module Arel
# Factory method to create a Nodes::Not node that has the recipient of
# the caller as a child.
def not
- Nodes::Not.new self
+ Nodes::Not.new Nodes::Grouping.new self
end
###