aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-08-23 14:59:53 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2010-08-23 14:59:53 -0700
commitf2144229f5353cbc6b932474c94978523756a644 (patch)
treee9e16f54ee3c4e63cc5fd995d185a0ea27ec423d /lib/arel
parent819a0920f0ca1165db3e8b05f0276b3338f1be30 (diff)
downloadrails-f2144229f5353cbc6b932474c94978523756a644.tar.gz
rails-f2144229f5353cbc6b932474c94978523756a644.tar.bz2
rails-f2144229f5353cbc6b932474c94978523756a644.zip
project takes *args now
Diffstat (limited to 'lib/arel')
-rw-r--r--lib/arel/select_manager.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/arel/select_manager.rb b/lib/arel/select_manager.rb
index 3d6aef0745..1c8daf8e50 100644
--- a/lib/arel/select_manager.rb
+++ b/lib/arel/select_manager.rb
@@ -18,8 +18,8 @@ module Arel
self
end
- def project projection
- @ctx.projections << projection
+ def project *projections
+ @ctx.projections.concat projections
self
end