aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/attributes
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-09-10 11:47:03 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2010-09-10 11:47:03 -0700
commit9fdaf497cb346696ea538308b77ec07f051cd569 (patch)
tree9b9af29488f27ec631ddfc5a65ab1a1defaceb4d /lib/arel/attributes
parent6032d40c1d1c7a7681f145c30b4c26386395ba45 (diff)
downloadrails-9fdaf497cb346696ea538308b77ec07f051cd569.tar.gz
rails-9fdaf497cb346696ea538308b77ec07f051cd569.tar.bz2
rails-9fdaf497cb346696ea538308b77ec07f051cd569.zip
added a greater than node
Diffstat (limited to 'lib/arel/attributes')
-rw-r--r--lib/arel/attributes/attribute.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/arel/attributes/attribute.rb b/lib/arel/attributes/attribute.rb
index 62bef5f1cf..d77574f33e 100644
--- a/lib/arel/attributes/attribute.rb
+++ b/lib/arel/attributes/attribute.rb
@@ -28,6 +28,10 @@ module Arel
def gteq right
Nodes::GreaterThanOrEqual.new self, right
end
+
+ def gt right
+ Nodes::GreaterThan.new self, right
+ end
end
class String < Attribute; end