I''m trying to figure out what I might be missing in the Sybase connection adapter (http://dev.rubyonrails.org/ticket/3765) that''s flunking some of the polymorphic unit tests in associations_join_model_test.rb. Specifically, these four tests are failing: test_polymorphic_has_many_create_model_with_inheritance test_polymorphic_has_one_create_model_with_inheritance test_set_polymorphic_has_many test_set_polymorphic_has_one Any ideas? The INSERT into taggings is setting a NULL tag_id. I assume there''s something new and subtle that I''m missing in the adapter code. Here''s the stack: test_polymorphic_has_many_create_model_with_inheritance (AssociationsJoinModelTest): ActiveRecord::StatementInvalid: ActiveRecord::StatementInvalid: RuntimeError: SQL Command Failed for Tagging Create: INSERT INTO taggings ([tag_id], [taggable_type], [taggable_id]) VALUES(NULL, ''Post'', 2) Message: The column tag_id in table taggings does not allow null values. : INSERT INTO taggings ([tag_id], [taggable_type], [taggable_id]) VALUES(NULL, ''Post'', 2): INSERT INTO taggings ([tag_id], [taggable_type], [taggable_id]) VALUES(NULL, ''Post'', 2) ./../lib/active_record/connection_adapters/abstract_adapter.rb: 94:in `log'' ./../lib/active_record/connection_adapters/sybase_adapter.rb: 140:in `insert'' ./../lib/active_record/base.rb:1514:in `create_without_callbacks'' ./../lib/active_record/callbacks.rb:261:in `create_without_timestamps'' ./../lib/active_record/timestamp.rb:30:in `create'' ./../lib/active_record/base.rb:1495:in `create_or_update_without_callbacks'' ./../lib/active_record/callbacks.rb:249:in `create_or_update'' ./../lib/active_record/base.rb:1289:in `save_without_validation'' ./../lib/active_record/validations.rb:708:in `save_without_transactions'' ./../lib/active_record/transactions.rb:126:in `save'' ./../lib/active_record/transactions.rb:126:in `transaction'' ./../lib/active_record/transactions.rb:91:in `transaction'' ./../lib/active_record/transactions.rb:118:in `transaction'' ./../lib/active_record/transactions.rb:126:in `save'' ./../lib/active_record/associations/association_collection.rb: 88:in `create'' associations_join_model_test.rb:50:in `test_polymorphic_has_many_create_model_with_inheritance'' Thanks, John -- John R. Sheets http://umber.sourceforge.net http://writersforge.sourceforge.net