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

http://dev.rubyonrails.org/changeset/7736
------------------------------------------------------------------------
r7736 | bitsweat | 2007-10-03 20:28:42 -0700 (Wed, 03 Oct 2007) | 1 line

Hash#to_json takes :only or :except options to specific or omit certain hash 
keys. Enumerable#to_json passes through its options to each element. Closes 
#9751.
------------------------------------------------------------------------

U    activesupport\test\json\encoding_test.rb
U    activesupport\lib\active_support\json\encoders\date.rb
U    activesupport\lib\active_support\json\encoders\time.rb
U    activesupport\lib\active_support\json\encoders\enumerable.rb
U    activesupport\lib\active_support\json\encoders\false_class.rb
U    activesupport\lib\active_support\json\encoders\numeric.rb
U    activesupport\lib\active_support\json\encoders\hash.rb
U    activesupport\lib\active_support\json\encoders\true_class.rb
U    activesupport\lib\active_support\json\encoders\symbol.rb
U    activesupport\lib\active_support\json\encoders\object.rb
U    activesupport\lib\active_support\json\encoders\string.rb
U    activesupport\lib\active_support\json\encoders\nil_class.rb
U    activesupport\lib\active_support\json\encoders\regexp.rb
U    activesupport\lib\active_support\json\encoders\date_time.rb
U    activesupport\lib\active_support\json\encoding.rb
U    activesupport\CHANGELOG
U    activerecord\test\json_serialization_test.rb
U    activerecord\lib\active_record\serializers\json_serializer.rb
Updated to revision 7736.

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

Reply via email to