aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/nodes/node.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/arel/nodes/node.rb')
-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 567221aab2..ff788e90d2 100644
--- a/lib/arel/nodes/node.rb
+++ b/lib/arel/nodes/node.rb
@@ -22,7 +22,7 @@ module Arel
###
# Factory method to create an Nodes::And node.
def and right
- Nodes::And.new self, right
+ Nodes::And.new [self, right]
end
# FIXME: this method should go away. I don't like people calling