diff options
author | Alexander Staubo <alex@origo.no> | 2012-02-23 14:16:44 +0100 |
---|---|---|
committer | Alexander Staubo <alex@origo.no> | 2012-02-23 14:16:44 +0100 |
commit | 74aadecc4f58e73704ac6a6fdaf25e48832374cf (patch) | |
tree | 0ca4d7ee6bc92f0337d894e2fcc844947d5d2c3d /lib/arel | |
parent | 2db4ec6a28a59a3f74a4979ae5bc117e5c7573c4 (diff) | |
download | rails-74aadecc4f58e73704ac6a6fdaf25e48832374cf.tar.gz rails-74aadecc4f58e73704ac6a6fdaf25e48832374cf.tar.bz2 rails-74aadecc4f58e73704ac6a6fdaf25e48832374cf.zip |
Must support aliases for OVER operator.
Diffstat (limited to 'lib/arel')
-rw-r--r-- | lib/arel/nodes/over.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/arel/nodes/over.rb b/lib/arel/nodes/over.rb index 727ccd2dc7..21d1b5029e 100644 --- a/lib/arel/nodes/over.rb +++ b/lib/arel/nodes/over.rb @@ -2,6 +2,8 @@ module Arel module Nodes class Over < Binary + include Arel::AliasPredication + def initialize(left, right = nil) super(left, right) end |