public
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/rails/rails.git
Remove AS for oracle compatibility
NZKoz (author)
Fri Oct 03 12:35:01 -0700 2008
commit  7553a23c0a84424bdbc09cc81791f41bfebe1b25
tree    5f98e7c320f4eb2e1d0309353fe1f4684a1e19ea
parent  00e2ba76b21d3c433a0ecda0de28d931c34d1791
...
217
218
219
220
 
221
222
223
...
217
218
219
 
220
221
222
223
0
@@ -217,7 +217,7 @@ module ActiveRecord
0
 
0
           sql << " ORDER BY #{options[:order]} "       if options[:order]
0
           add_limit!(sql, options, scope)
0
-          sql << ") AS #{aggregate_alias}_subquery" if use_workaround
0
+          sql << ") #{aggregate_alias}_subquery" if use_workaround
0
           sql
0
         end
0
 

Comments