diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2011-01-03 15:57:06 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-01-03 15:57:06 -0800 |
commit | d7ff05e240770c1946fe4c0c1f74880ecd180b09 (patch) | |
tree | 830e76fcc9cebb0e898cae6ce1b7a65e66a59dfd /lib/arel/crud.rb | |
parent | 02eaa7ee6ea812e61681912719d3875401eeabe3 (diff) | |
parent | ef29263428eb2aa1fdc2b6b020f0d153fd17b5f3 (diff) | |
download | rails-d7ff05e240770c1946fe4c0c1f74880ecd180b09.tar.gz rails-d7ff05e240770c1946fe4c0c1f74880ecd180b09.tar.bz2 rails-d7ff05e240770c1946fe4c0c1f74880ecd180b09.zip |
Merge branch '2-0-stable'
* 2-0-stable:
making sure limit is correctly copied to update manager
Diffstat (limited to 'lib/arel/crud.rb')
-rw-r--r-- | lib/arel/crud.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/crud.rb b/lib/arel/crud.rb index e6b1cd9675..bedfb8c30c 100644 --- a/lib/arel/crud.rb +++ b/lib/arel/crud.rb @@ -12,7 +12,7 @@ module Arel end um.table relation um.set values - um.take @ast.limit + um.take @ast.limit.expr if @ast.limit um.order(*@ast.orders) um.wheres = @ctx.wheres um |