"david" has kicked AR/Oracle while it was down...

http://dev.rubyonrails.org/changeset/5017
------------------------------------------------------------------------
r5017 | david | 2006-09-05 11:48:10 -0700 (Tue, 05 Sep 2006) | 1 line

Deprecated ActiveRecord::Base.new_record? in favor of ActiveRecord::Base.new? 
(old version still works until Rails 2.0) [DHH]
------------------------------------------------------------------------

U  activerecord/test/associations_test.rb
U  activerecord/test/base_test.rb
U  activerecord/test/finder_test.rb
U  activerecord/lib/active_record/validations.rb
U  activerecord/lib/active_record/callbacks.rb
U  activerecord/lib/active_record/locking/pessimistic.rb
U  activerecord/lib/active_record/associations/association_proxy.rb
U  activerecord/lib/active_record/associations/association_collection.rb
U  activerecord/lib/active_record/associations/belongs_to_association.rb
U  
activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb
U  activerecord/lib/active_record/associations/has_one_association.rb
U  activerecord/lib/active_record/associations/has_many_association.rb
U  activerecord/lib/active_record/associations/has_many_through_association.rb
U  
activerecord/lib/active_record/associations/belongs_to_polymorphic_association.rb
U  activerecord/lib/active_record/associations.rb
U  activerecord/lib/active_record/base.rb
U  activerecord/lib/active_record/aggregations.rb
U  activerecord/CHANGELOG
Updated to revision 5017.

  1) Error:
test_load_schema(AAACreateTablesTest):
ActiveRecord::StatementInvalid: 
./test/../lib/active_record/connection_adapters/abstract_adapter.rb:122:in 
`log': OCIError: ORA-00972: identifier is too long: CREATE TABLE 
lock_with_custom_column_without_defaults (id NUMBER(38) NOT NULL PRIMARY KEY, 
custom_lock_version NUMBER(38)) 
    ./test/aaa_create_tables_test.rb:18:in `test_load_schema'
    ./test/../lib/active_record/connection_adapters/oracle_adapter.rb:243:in 
`execute'
    
./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:104:in
 `create_table'
    ./test/../lib/active_record/connection_adapters/oracle_adapter.rb:368:in 
`create_table'
    ./test/../lib/active_record/migration.rb:274:in `method_missing'
    ./test/../lib/active_record/migration.rb:258:in `say_with_time'
    /usr/pkg/ruby184/lib/ruby/1.8/benchmark.rb:293:in `measure'
    ./test/../lib/active_record/migration.rb:258:in `say_with_time'
    ./test/../lib/active_record/migration.rb:272:in `method_missing'
    (eval):57:in `test_load_schema'
    ./test/../lib/active_record/schema.rb:43:in `define'
    (eval):1:in `test_load_schema'
    ./test/aaa_create_tables_test.rb:18:in `test_load_schema'

  2) Failure:
test_deprecated_exclusive_dependence(HasOneAssociationsTest)
    [./test/../lib/../../activesupport/lib/active_support/deprecation.rb:89:in 
`assert_deprecated'
     ./test/associations_test.rb:183:in `test_deprecated_exclusive_dependence']:
Expected a deprecation warning within the block but received none.
<nil> is not true.

  3) Failure:
test_not_resaved_when_unchanged(HasOneAssociationsTest)
    [./test/abstract_unit.rb:48:in `assert_queries'
     ./test/associations_test.rb:329:in `test_not_resaved_when_unchanged']:
0 instead of 1 queries were executed.
<1> expected but was
<0>.

  4) Error:
test_lock_with_custom_column_without_default_sets_version_to_zero(OptimisticLockingTest):
OCIError: ORA-00972: identifier is too long
ORA-00972: identifier is too long
    (eval):3:in `describe'
    ./test/../lib/active_record/connection_adapters/oracle_adapter.rb:333:in 
`columns'
    ./test/../lib/active_record/base.rb:759:in `columns'
    ./test/../lib/active_record/base.rb:2031:in 
`attributes_from_column_definition_without_lock'
    ./test/../lib/active_record/locking/optimistic.rb:45:in 
`attributes_from_column_definition'
    ./test/../lib/active_record/base.rb:1485:in `initialize_without_callbacks'
    ./test/../lib/active_record/callbacks.rb:225:in `initialize'
    ./test/locking_test.rb:72:in 
`test_lock_with_custom_column_without_default_sets_version_to_zero'

  5) Failure:
test_no_title_confirmation(ValidationsTest) [./test/validations_test.rb:182]:
<false> is not true.

953 tests, 3388 assertions, 3 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)


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to