aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/nodes/unary.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2011-02-21 15:14:29 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2011-02-21 15:14:29 -0800
commit8ed3ab00f1ba8cdf48dea4ca28d2d3a7e73396ab (patch)
tree1747542bbe74522a53608599e0875bd37fea80b5 /lib/arel/nodes/unary.rb
parent1c48bef21533039c81fdcaf868be518d5c16e383 (diff)
downloadrails-8ed3ab00f1ba8cdf48dea4ca28d2d3a7e73396ab.tar.gz
rails-8ed3ab00f1ba8cdf48dea4ca28d2d3a7e73396ab.tar.bz2
rails-8ed3ab00f1ba8cdf48dea4ca28d2d3a7e73396ab.zip
Lock should be a unary node
Diffstat (limited to 'lib/arel/nodes/unary.rb')
-rw-r--r--lib/arel/nodes/unary.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/arel/nodes/unary.rb b/lib/arel/nodes/unary.rb
index e1576b9c99..1b1dcb1053 100644
--- a/lib/arel/nodes/unary.rb
+++ b/lib/arel/nodes/unary.rb
@@ -18,6 +18,7 @@ module Arel
Offset
On
Top
+ Lock
}.each do |name|
const_set(name, Class.new(Unary))
end