"bitsweat" made AR/Oracle cry...

http://dev.rubyonrails.org/changeset/6304
------------------------------------------------------------------------
r6304 | bitsweat | 2007-03-03 20:33:55 -0800 (Sat, 03 Mar 2007) | 1 line

Test DateTime native type in migrations. References #7649.
------------------------------------------------------------------------

U  activesupport/CHANGELOG
U  activerecord/test/migration_test.rb
U  activerecord/CHANGELOG
Updated to revision 6304.

  1) Error:
test_native_types(MigrationTest):
RangeError: out of range of Time (expect between 1970-01-01 00:00:00 UTC and 
2037-12-31 23:59:59, but 1817-10-25 21:40:18 PST)
    /usr/pkg/ruby184/lib/ruby/site_ruby/1.8/oci8.rb:983:in `to_time'
    ./test/../lib/active_record/connection_adapters/oracle_adapter.rb:511:in 
`select'
    ./test/../lib/active_record/callbacks.rb:335:in `each_with_index'
    ./test/../lib/active_record/connection_adapters/oracle_adapter.rb:504:in 
`select'
    
./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:7:in
 `select_all'
    ./test/../lib/active_record/base.rb:427:in `find_by_sql'
    ./test/../lib/active_record/base.rb:1020:in `find_every'
    ./test/../lib/active_record/base.rb:1014:in `find_initial'
    ./test/../lib/active_record/base.rb:417:in `find'
    ./test/migration_test.rb:267:in `test_native_types'

1049 tests, 4044 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)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to