"bitsweat" has given AR/SQLServer some love, but it's still unhappy...
http://dev.rubyonrails.org/changeset/7719 ------------------------------------------------------------------------ r7719 | bitsweat | 2007-10-01 22:32:14 -0700 (Mon, 01 Oct 2007) | 1 line Ruby 1.9 compat, consistent load paths ------------------------------------------------------------------------ U activeresource\test\connection_test.rb U activeresource\test\authorization_test.rb U activeresource\test\base_errors_test.rb U activeresource\test\fixtures\person.rb U activeresource\test\base\load_test.rb U activeresource\test\base_test.rb U activeresource\lib\active_resource\custom_methods.rb U activeresource\lib\active_resource\http_mock.rb U activeresource\lib\active_resource\base.rb U actionmailer\lib\action_mailer\helpers.rb U activesupport\test\inflector_test.rb U activesupport\test\core_ext\hash_ext_test.rb U activesupport\lib\active_support\clean_logger.rb U activesupport\lib\active_support\dependencies.rb D activesupport\lib\active_support\core_ext\bigdecimal\formatting.rb A activesupport\lib\active_support\core_ext\bigdecimal\conversions.rb U activesupport\lib\active_support\core_ext\hash.rb U activesupport\lib\active_support\core_ext\date_time.rb U activesupport\lib\active_support\core_ext\object.rb U activesupport\lib\active_support\core_ext\string.rb U activesupport\lib\active_support\core_ext\date.rb D activesupport\lib\active_support\core_ext\test\difference.rb A activesupport\lib\active_support\core_ext\test\unit A activesupport\lib\active_support\core_ext\test\unit\assertions.rb U activesupport\lib\active_support\core_ext\array.rb U activesupport\lib\active_support\core_ext\test.rb U activesupport\lib\active_support\core_ext\kernel.rb U activesupport\lib\active_support\core_ext\bigdecimal.rb U activesupport\lib\active_support\core_ext\module.rb U activesupport\lib\active_support\core_ext\range.rb U activesupport\lib\active_support\core_ext\integer.rb U activesupport\lib\active_support\core_ext\pathname.rb U activesupport\lib\active_support\core_ext\time.rb U activesupport\lib\active_support\core_ext\numeric.rb U activesupport\lib\active_support\core_ext\cgi.rb U activesupport\lib\active_support\core_ext\float.rb U activesupport\lib\active_support\core_ext\class.rb U activesupport\lib\active_support\core_ext.rb U activerecord\test\abstract_unit.rb U actionpack\test\controller\render_test.rb U actionpack\test\controller\integration_test.rb U actionpack\test\controller\dispatcher_test.rb U actionpack\test\controller\request_forgery_protection_test.rb U actionpack\test\controller\mime_responds_test.rb U actionpack\test\controller\base_test.rb U actionpack\test\controller\mime_type_test.rb U actionpack\test\controller\filters_test.rb U actionpack\test\controller\layout_test.rb U actionpack\lib\action_controller\session_management.rb U actionpack\lib\action_controller\components.rb U actionpack\lib\action_controller\dispatcher.rb U actionpack\lib\action_controller\request.rb U actionpack\lib\action_controller\assertions.rb U actionpack\lib\action_controller\caching.rb U actionpack\lib\action_controller\mime_responds.rb U actionpack\lib\action_controller\polymorphic_routes.rb U actionpack\lib\action_controller\resources.rb U actionpack\lib\action_controller\base.rb U actionpack\lib\action_controller\layout.rb U actionpack\lib\action_controller\test_process.rb U actionpack\lib\action_controller\http_authentication.rb U actionpack\lib\action_controller\verification.rb U actionpack\lib\action_controller\integration.rb U actionpack\lib\action_controller\rescue.rb U actionpack\lib\action_controller\routing.rb U actionpack\lib\action_controller\mime_type.rb U actionpack\lib\action_controller\flash.rb U actionpack\lib\action_controller\cgi_process.rb U actionpack\lib\action_controller\helpers.rb U actionpack\lib\action_controller\filters.rb U actionpack\lib\action_view\helpers\text_helper.rb U actionpack\lib\action_view\helpers\number_helper.rb Updated to revision 7719. 1) Error: test_load_schema(AAACreateTablesTest): ActiveRecord::StatementInvalid: ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:137:in `log': DBI::DatabaseError: Execute OLE error code:80040E14 in Microsoft OLE DB Provider for SQL Server Column or parameter #1: Cannot find data type primary_key. HRESULT error code:0x80020009 Exception occurred.: CREATE TABLE taggings ([id] primary_key, [tag_id] integer DEFAULT NULL, [super_tag_id] integer DEFAULT NULL, [taggable_type] string DEFAULT NULL, [taggable_id] integer DEFAULT NULL) ./test/aaa_create_tables_test.rb:18:in `test_load_schema' c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/sqlserver_adapter.rb:303:in `execute_without_counting' ./test/abstract_unit.rb:70:in `execute' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:104:in `create_table' ./test/../lib/active_record/migration.rb:278:in `send' ./test/../lib/active_record/migration.rb:278:in `method_missing' ./test/../lib/active_record/migration.rb:258:in `say_with_time' c:/ruby/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:274:in `method_missing' (eval):13:in `test_load_schema' ./test/../lib/active_record/schema.rb:43:in `instance_eval' ./test/../lib/active_record/schema.rb:43:in `define' (eval):1:in `test_load_schema' c:/ruby/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `eval' ./test/aaa_create_tables_test.rb:18:in `test_load_schema' c:/ruby/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__' c:/ruby/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run' 2) Error: test_schema_define(ActiveRecordSchemaTest): ActiveRecord::StatementInvalid: DBI::DatabaseError: Execute OLE error code:80040E14 in Microsoft OLE DB Provider for SQL Server Column or parameter #1: Cannot find data type primary_key. HRESULT error code:0x80020009 Exception occurred.: CREATE TABLE fruits ([id] primary_key, [color] string DEFAULT NULL, [fruit_size] string DEFAULT NULL, [texture] string DEFAULT NULL, [flavor] string DEFAULT NULL) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:137:in `log' c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/sqlserver_adapter.rb:303:in `execute_without_counting' ./test/abstract_unit.rb:70:in `execute' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:104:in `create_table' ./test/../lib/active_record/migration.rb:278:in `send' ./test/../lib/active_record/migration.rb:278:in `method_missing' ./test/../lib/active_record/migration.rb:258:in `say_with_time' c:/ruby/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:274:in `method_missing' ./test/ar_schema_test.rb:19:in `test_schema_define' ./test/../lib/active_record/schema.rb:43:in `instance_eval' ./test/../lib/active_record/schema.rb:43:in `define' ./test/ar_schema_test.rb:18:in `test_schema_define' c:/ruby/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__' c:/ruby/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run' 3) Error: test_add_to_self_referential_has_many_through(AssociationsJoinModelTest): ActiveRecord::StatementInvalid: DBI::DatabaseError: Execute OLE error code:80040E37 in Microsoft OLE DB Provider for SQL Server Invalid object name 'taggings'. HRESULT error code:0x80020009 Exception occurred.: DELETE FROM taggings ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:137:in `log' c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/sqlserver_adapter.rb:298:in `execute_without_counting' ./test/abstract_unit.rb:70:in `execute' c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/sqlserver_adapter.rb:308:in `delete' ./test/../lib/active_record/fixtures.rb:321:in `delete_existing_fixtures' ./test/../lib/active_record/fixtures.rb:291:in `create_fixtures' ./test/../lib/active_record/fixtures.rb:291:in `each' ./test/../lib/active_record/fixtures.rb:291:in `create_fixtures' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:66:in `transaction' ./test/../lib/active_record/fixtures.rb:290:in `create_fixtures' ./test/../lib/active_record/base.rb:961:in `silence' ./test/../lib/active_record/fixtures.rb:281:in `create_fixtures' ./test/../lib/active_record/fixtures.rb:646:in `load_fixtures' ./test/../lib/active_record/fixtures.rb:598:in `setup' c:/ruby/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:18:in `run' 4) Error: test_adding_junk_to_has_many_through_should_raise_type_mismatch(AssociationsJoinModelTest): ActiveRecord::StatementInvalid: DBI::DatabaseError: Execute OLE error code:80040E37 in Microsoft OLE DB Provider for SQL Server Invalid object name 'taggings'. HRESULT error code:0x80020009 Exception occurred.: DELETE FROM taggings ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:137:in `log' c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/sqlserver_adapter.rb:298:in `execute_without_counting' ./test/abstract_unit.rb:70:in `execute' c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/sqlserver_adapter.rb:308:in `delete' ./test/../lib/active_record/fixtures.rb:321:in `delete_existing_fixtures' ./test/../lib/active_record/fixtures.rb:291:in `create_fixtures' ./test/../lib/active_record/fixtures.rb:291:in `each' ./test/../lib/active_record/fixtures.rb:291:in `create_fixtures' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:66:in `transaction' ./test/../lib/active_record/fixtures.rb:290:in `create_fixtures' ./test/../lib/active_record/base.rb:961:in `silence' ./test/../lib/active_record/fixtures.rb:281:in `create_fixtures' ./test/../lib/active_record/fixtures.rb:646:in `load_fixtures' ./test/../lib/active_record/fixtures.rb:598:in `setup' c:/ruby/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:18:in `run' 5) Error: test_adding_to_has_many_through_should_return_self(AssociationsJoinModelTest): ActiveRecord::StatementInvalid: DBI::DatabaseError: Execute OLE error code:80040E37 in Microsoft OLE DB Provider for SQL Server Invalid object name 'taggings'. HRESULT error code:0x80020009 Exception occurred.: DELETE FROM taggings ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:137:in `log' c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/sqlserver_adapter.rb:298:in `execute_without_counting' ./test/abstract_unit.rb:70:in `execute' c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/sqlserver_adapter.rb:308:in `delete' ./test/../lib/active_record/fixtures.rb:321:in `delete_existing_fixtures' ./test/../lib/active_record/fixtures.rb:291:in `create_fixtures' --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
