Rich Cox
2007-Feb-04 18:20 UTC
Rails AR/SQLServer Unit Test: [6110] failed (but getting better)
"rick" has given AR/SQLServer some love, but it''s still unhappy... http://dev.rubyonrails.org/changeset/6110 ------------------------------------------------------------------------ r6110 | rick | 2007-02-04 11:20:04 -0700 (Sun, 04 Feb 2007) | 1 line Optimize Class Inheritable Attributes so that unnecessary hashes are not created. Closes #7472 [Bruce Perens] ------------------------------------------------------------------------ U activesupport\lib\active_support\core_ext\class\inheritable_attributes.rb U activesupport\CHANGELOG Updated to revision 6110. (in C:/rails_edge_test/rails-svn/activerecord) c:/ruby/bin/ruby -Ilib;test;test/connections/native_sqlserver "c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader.rb" "test/aaa_create_tables_test.rb" "test/adapter_test.rb" "test/aggregations_test.rb" "test/ar_schema_test.rb" "test/associations_test.rb" "test/attribute_methods_test.rb" "test/base_test.rb" "test/binary_test.rb" "test/calculations_test.rb" "test/callbacks_test.rb" "test/class_inheritable_attributes_test.rb" "test/column_alias_test.rb" "test/defaults_test.rb" "test/deprecated_associations_test.rb" "test/deprecated_finder_test.rb" "test/empty_date_time_test.rb" "test/finder_test.rb" "test/fixtures_test.rb" "test/inheritance_test.rb" "test/lifecycle_test.rb" "test/locking_test.rb" "test/method_scoping_test.rb" "test/migration_test.rb" "test/mixin_nested_set_test.rb" "test/mixin_test.rb" "test/modules_test.rb" "test/multiple_db_test.rb" "test/pk_test.rb" "test/readonly_test.rb" "test/reflection_test.rb" "test/schema_dumper_test.rb" "test/threaded_connections_test.rb" "test/transactions_test.rb" "test/unconnected_test.rb" "test/validations_test.rb" "test/xml_serialization_test.rb" "test/associations/callbacks_test.rb" "test/associations/cascaded_eager_loading_test.rb" "test/associations/eager_test.rb" "test/associations/extension_test.rb" "test/associations/join_model_test.rb" "test/adapter_test_sqlserver.rb" "test/table_name_test_sqlserver.rb" Using native SQLServer ./test/../lib/../../activesupport/lib/active_support/core_ext/class/inheritable_attributes.rb:109:in `write_inheritable_hash'': undefined method `merge'' for nil:NilClass (NoMethodError) from ./test/../lib/active_record/reflection.rb:20:in `create_reflection'' from ./test/../lib/active_record/associations.rb:1163:in `create_has_many_reflection'' from ./test/../lib/active_record/associations.rb:612:in `has_many'' from test/fixtures/course.rb:2 from ./test/../lib/../../activesupport/lib/active_support/dependencies.rb:203:in `load_without_new_constant_marking'' from ./test/../lib/../../activesupport/lib/active_support/dependencies.rb:203:in `load_file'' from ./test/../lib/../../activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in'' from ./test/../lib/../../activesupport/lib/active_support/dependencies.rb:202:in `load_file'' ... 13 levels... from c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader.rb:5:in `load'' from c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader.rb:5 from c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader.rb:5:in `each'' from c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader.rb:5 rake aborted! Command failed with status (1): [c:/ruby/bin/ruby -Ilib;test;test/connectio...] (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 rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---