"david" made AR/Oracle cry...

http://dev.rubyonrails.org/changeset/4387
------------------------------------------------------------------------
r4387 | david | 2006-05-31 16:25:36 -0700 (Wed, 31 May 2006) | 1 line

Added Array#to_s(:db) that'll produce a comma-separated list of ids [DHH] Split 
Grouping into its own file
------------------------------------------------------------------------

U  activesupport/test/core_ext/array_ext_test.rb
U  activesupport/lib/active_support/core_ext/array.rb
U  activesupport/lib/active_support/core_ext/array/conversions.rb
A  activesupport/lib/active_support/core_ext/array/grouping.rb
U  activesupport/CHANGELOG
U  activerecord/test/base_test.rb
Updated to revision 4387.

  1) Error:
test_quoting_arrays(BasicsTest):
ActiveRecord::StatementInvalid: OCIError: ORA-01722: invalid number: SELECT * 
FROM topics WHERE (id IN ('null')) AND ( (topics.type = 'Reply' OR topics.type 
= 'SillyReply' ) ) 
    ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:120:in 
`log'
    ./test/../lib/active_record/connection_adapters/oracle_adapter.rb:275:in 
`execute'
    ./test/../lib/active_record/connection_adapters/oracle_adapter.rb:475:in 
`select'
    ./test/../lib/active_record/connection_adapters/oracle_adapter.rb:266:in 
`select_all'
    ./test/../lib/active_record/base.rb:390:in `find_by_sql'
    ./test/../lib/active_record/base.rb:924:in `find_every'
    ./test/../lib/active_record/base.rb:381:in `find'
    ./test/base_test.rb:939:in `test_quoting_arrays'

885 tests, 3122 assertions, 0 failures, 1 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