aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorErnie Miller <ernie@metautonomo.us>2011-02-11 12:08:32 -0500
committerErnie Miller <ernie@metautonomo.us>2011-02-11 12:08:32 -0500
commitdbc86c0f2c2fc3c8bacf35c67fb8e0967b0a8980 (patch)
tree75f482e0cc0fb5a10422b0ea576cde1181fb2338 /lib
parent3d21dabaa6c214ab2f2941c063bd7de04fd95202 (diff)
downloadrails-dbc86c0f2c2fc3c8bacf35c67fb8e0967b0a8980.tar.gz
rails-dbc86c0f2c2fc3c8bacf35c67fb8e0967b0a8980.tar.bz2
rails-dbc86c0f2c2fc3c8bacf35c67fb8e0967b0a8980.zip
Fix #not to stop wrapping in a grouping node
Diffstat (limited to 'lib')
-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 711fa34b6d..1a5bc27856 100644
--- a/lib/arel/nodes/node.rb
+++ b/lib/arel/nodes/node.rb
@@ -10,7 +10,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 Nodes::Grouping.new self
+ Nodes::Not.new self
end
###