"bitsweat" has kicked AR/SQLServer while it was down...

http://dev.rubyonrails.org/changeset/6441
------------------------------------------------------------------------
r6441 | bitsweat | 2007-03-17 20:16:53 -0700 (Sat, 17 Mar 2007) | 1 line

alias_method_chain preserves the original method's visibility. Closes #7854.
------------------------------------------------------------------------

U    activesupport\test\core_ext\module_test.rb
U    activesupport\lib\active_support\core_ext\module\aliasing.rb
U    activesupport\CHANGELOG
Updated to revision 6441.

  1) Failure:
test_adding_junk_to_has_many_through_should_raise_type_mismatch(AssociationsJoinModelTest)
 [./test/associations/join_model_test.rb:437]:
<ActiveRecord::AssociationTypeMismatch> exception expected but was
Class: <NoMethodError>
Message: <"private method `instantiate' called for Tag:Class">
---Backtrace---
./test/../lib/active_record/base.rb:1281:in `method_missing'
./test/../lib/active_record/associations.rb:1502:in `instantiate'
./test/../lib/active_record/associations.rb:1383:in `instantiate'
./test/../lib/active_record/base.rb:1404:in `each_with_index'
./test/../lib/active_record/associations.rb:1380:in `each'
./test/../lib/active_record/associations.rb:1380:in `each_with_index'
./test/../lib/active_record/associations.rb:1380:in `instantiate'
./test/../lib/active_record/associations.rb:1088:in `find_with_associations'
./test/../lib/active_record/associations.rb:1085:in `catch'
./test/../lib/active_record/associations.rb:1085:in `find_with_associations'
./test/../lib/active_record/base.rb:1036:in `find_every'
./test/../lib/active_record/base.rb:429:in `find'
./test/../lib/active_record/associations/has_many_through_association.rb:115:in 
`find_target'
./test/../lib/active_record/associations/association_proxy.rb:135:in 
`load_target'
./test/../lib/active_record/associations/has_many_through_association.rb:54:in 
`<<'
./test/associations/join_model_test.rb:437:in 
`test_adding_junk_to_has_many_through_should_raise_type_mismatch'
./test/associations/join_model_test.rb:437:in 
`test_adding_junk_to_has_many_through_should_raise_type_mismatch'
---------------

  2) Error:
test_adding_to_has_many_through_should_return_self(AssociationsJoinModelTest):
NoMethodError: private method `instantiate' called for Tag:Class
    ./test/../lib/active_record/base.rb:1281:in `method_missing'
    ./test/../lib/active_record/associations.rb:1502:in `instantiate'
    ./test/../lib/active_record/associations.rb:1383:in `instantiate'
    ./test/../lib/active_record/base.rb:1404:in `each_with_index'
    ./test/../lib/active_record/associations.rb:1380:in `each'
    ./test/../lib/active_record/associations.rb:1380:in `each_with_index'
    ./test/../lib/active_record/associations.rb:1380:in `instantiate'
    ./test/../lib/active_record/associations.rb:1088:in `find_with_associations'
    ./test/../lib/active_record/associations.rb:1085:in `catch'
    ./test/../lib/active_record/associations.rb:1085:in `find_with_associations'
    ./test/../lib/active_record/base.rb:1036:in `find_every'
    ./test/../lib/active_record/base.rb:429:in `find'
    
./test/../lib/active_record/associations/has_many_through_association.rb:115:in 
`find_target'
    ./test/../lib/active_record/associations/association_proxy.rb:135:in 
`load_target'
    
./test/../lib/active_record/associations/has_many_through_association.rb:54:in 
`push'
    ./test/associations/join_model_test.rb:442:in 
`test_adding_to_has_many_through_should_return_self'

  3) Failure:
test_create_associate_when_adding_to_has_many_through(AssociationsJoinModelTest)
 [./test/associations/join_model_test.rb:408]:
Exception raised:
Class: <NoMethodError>
Message: <"private method `instantiate' called for Tag:Class">
---Backtrace---
./test/../lib/active_record/base.rb:1281:in `method_missing'
./test/../lib/active_record/associations.rb:1502:in `instantiate'
./test/../lib/active_record/associations.rb:1383:in `instantiate'
./test/../lib/active_record/callbacks.rb:339:in `each_with_index'
./test/../lib/active_record/associations.rb:1380:in `each'
./test/../lib/active_record/associations.rb:1380:in `each_with_index'
./test/../lib/active_record/associations.rb:1380:in `instantiate'
./test/../lib/active_record/associations.rb:1088:in `find_with_associations'
./test/../lib/active_record/associations.rb:1085:in `catch'
./test/../lib/active_record/associations.rb:1085:in `find_with_associations'
./test/../lib/active_record/base.rb:1036:in `find_every'
./test/../lib/active_record/base.rb:429:in `find'
./test/../lib/active_record/associations/has_many_through_association.rb:115:in 
`find_target'
./test/../lib/active_record/associations/association_proxy.rb:135:in 
`load_target'
./test/../lib/active_record/associations/has_many_through_association.rb:54:in 
`<<'
./test/associations/join_model_test.rb:408:in 
`test_create_associate_when_adding_to_has_many_through'
./test/associations/join_model_test.rb:408:in 
`test_create_associate_when_adding_to_has_many_through'
---------------

  4) Error:
test_delete_associate_when_deleting_from_has_many_through(AssociationsJoinModelTest):
NoMethodError: private method `instantiate' called for Tag:Class
    ./test/../lib/active_record/base.rb:1281:in `method_missing'
    ./test/../lib/active_record/associations.rb:1502:in `instantiate'
    ./test/../lib/active_record/associations.rb:1383:in `instantiate'
    ./test/../lib/active_record/callbacks.rb:339:in `each_with_index'
    ./test/../lib/active_record/associations.rb:1380:in `each'
    ./test/../lib/active_record/associations.rb:1380:in `each_with_index'
    ./test/../lib/active_record/associations.rb:1380:in `instantiate'
    ./test/../lib/active_record/associations.rb:1088:in `find_with_associations'
    ./test/../lib/active_record/associations.rb:1085:in `catch'
    ./test/../lib/active_record/associations.rb:1085:in `find_with_associations'
    ./test/../lib/active_record/base.rb:1036:in `find_every'
    ./test/../lib/active_record/base.rb:429:in `find'
    
./test/../lib/active_record/associations/has_many_through_association.rb:115:in 
`find_target'
    ./test/../lib/active_record/associations/association_proxy.rb:135:in 
`load_target'
    
./test/../lib/active_record/associations/has_many_through_association.rb:54:in 
`<<'
    ./test/associations/join_model_test.rb:450:in 
`test_delete_associate_when_deleting_from_has_many_through'

  5) Error:
test_delete_associate_when_deleting_from_has_many_through_with_multiple_tags(AssociationsJoinModelTest):
NoMethodError: private method `instantiate' called for Tag:Class
    ./test/../lib/active_record/base.rb:1281:in `method_missing'
    ./test/../lib/active_record/associations.rb:1502:in `instantiate'
    ./test/../lib/active_record/associations.rb:1383:in `instantiate'
    ./test/../lib/active_record/callbacks.rb:339:in `each_with_index'
    ./test/../lib/active_record/associations.rb:1380:in `each'
    ./test/../lib/active_record/associations.rb:1380:in `each_with_index'
    ./test/../lib/active_record/associations.rb:1380:in `instantiate'
    ./test/../lib/active_record/associations.rb:1088:in `find_with_associations'
    ./test/../lib/active_record/associations.rb:1085:in `catch'
    ./test/../lib/active_record/associations.rb:1085:in `find_with_associations'
    ./test/../lib/active_record/base.rb:1036:in `find_every'
    ./test/../lib/active_record/base.rb:429:in `find'
    
./test/../lib/active_record/associations/has_many_through_association.rb:115:in 
`find_target'
    ./test/../lib/active_record/associations/association_proxy.rb:135:in 
`load_target'
    
./test/../lib/active_record/associations/has_many_through_association.rb:54:in 
`<<'
    ./test/associations/join_model_test.rb:466:in 
`test_delete_associate_when_deleting_from_has_many_through_with_multiple_tags'

  6) Failure:
test_eager_belongs_to_and_has_one_not_singularized(AssociationsJoinModelTest) 
[./test/associations/join_model_test.rb:377]:
Exception raised:
Class: <NoMethodError>
Message: <"private method `instantiate' called for Author:Class">
---Backtrace-

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