So my automated script caught this issue, though I think my email headers were bad, so rails-core has put the automated email on hold pending "moderation".

I'll fix that issue, and look at the one below as well.

-------- Original Message --------
Subject: Rails AR/Oracle Unit Test: [4185] failed
Date: Thu, 6 Apr 2006 08:32:04 -0700
From: Michael Schoen <[EMAIL PROTECTED]>
To: Michael Schoen <[EMAIL PROTECTED]>, Michael Schoen <[EMAIL PROTECTED]>

"rick" made AR/Oracle cry...

http://dev.rubyonrails.org/changeset/4185

------------------------------------------------------------------------
r4185 | rick | 2006-04-06 08:23:56 -0700 (Thu, 06 Apr 2006) | 1 line

Enable Limit/Offset in Calculations (closes #4558) [EMAIL PROTECTED]
------------------------------------------------------------------------

U  activerecord/test/calculations_test.rb
U  activerecord/lib/active_record/calculations.rb
U  activerecord/CHANGELOG
Updated to revision 4185.

  1) Error:
test_should_limit_calculation(CalculationsTest):
TypeError: can't convert String into Array

./test/../lib/active_record/connection_adapters/oracle_adapter.rb:310:in `replace'

./test/../lib/active_record/connection_adapters/oracle_adapter.rb:310:in `add_limit_offset!'
    ./test/../lib/active_record/base.rb:1046:in `add_limit!'
./test/../lib/active_record/calculations.rb:156:in `construct_calculation_sql' ./test/../lib/active_record/calculations.rb:172:in `execute_grouped_calculation'
    ./test/../lib/active_record/calculations.rb:139:in `calculate'
    ./test/../lib/active_record/calculations.rb:92:in `sum'
    ./test/calculations_test.rb:52:in `test_should_limit_calculation'

  2) Error:
test_should_limit_calculation_with_offset(CalculationsTest):
TypeError: can't convert String into Array

./test/../lib/active_record/connection_adapters/oracle_adapter.rb:310:in `replace'

./test/../lib/active_record/connection_adapters/oracle_adapter.rb:310:in `add_limit_offset!'
    ./test/../lib/active_record/base.rb:1046:in `add_limit!'
./test/../lib/active_record/calculations.rb:156:in `construct_calculation_sql' ./test/../lib/active_record/calculations.rb:172:in `execute_grouped_calculation'
    ./test/../lib/active_record/calculations.rb:139:in `calculate'
    ./test/../lib/active_record/calculations.rb:92:in `sum'
./test/calculations_test.rb:58:in `test_should_limit_calculation_with_offset'

847 tests, 2823 assertions, 0 failures, 2 errors
rake aborted!
Command failed with status (1): [/usr/pkg/ruby184/bin/ruby -Ilib:test:test/...]

(See full trace by running task with --trace)


_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core

Reply via email to