diff options
author | Ernie Miller <ernie@metautonomo.us> | 2011-02-11 12:08:32 -0500 |
---|---|---|
committer | Ernie Miller <ernie@metautonomo.us> | 2011-02-11 12:08:32 -0500 |
commit | dbc86c0f2c2fc3c8bacf35c67fb8e0967b0a8980 (patch) | |
tree | 75f482e0cc0fb5a10422b0ea576cde1181fb2338 /lib/arel/nodes | |
parent | 3d21dabaa6c214ab2f2941c063bd7de04fd95202 (diff) | |
download | rails-dbc86c0f2c2fc3c8bacf35c67fb8e0967b0a8980.tar.gz rails-dbc86c0f2c2fc3c8bacf35c67fb8e0967b0a8980.tar.bz2 rails-dbc86c0f2c2fc3c8bacf35c67fb8e0967b0a8980.zip |
Fix #not to stop wrapping in a grouping node
Diffstat (limited to 'lib/arel/nodes')
-rw-r--r-- | lib/arel/nodes/node.rb | 2 |
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 ### |