Created
February 15, 2020 20:01
-
-
Save kingdonb/51698afb9c683285360729a6eeeb1750 to your computer and use it in GitHub Desktop.
ActiveRecord 6.0.2.1 with the latest composite_primary_keys gem (master), test output on Oracle 18.4.0 (XE)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Finished in 16.489541s, 11.5225 runs/s, 28.3816 assertions/s. | |
1) Error: | |
TestDelete#test_destroy_has_many_delete_all: | |
ActiveRecord::StatementInvalid: OCIError: ORA-00920: invalid relational operator | |
stmt.c:267:in oci8lib_260.bundle | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/ruby-oci8-2.2.8/lib/oci8/cursor.rb:137:in `exec' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/oci_connection.rb:146:in `exec_update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/database_statements.rb:152:in `block in exec_update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:718:in `block (2 levels) in log' | |
/usr/local/Cellar/ruby/2.6.5/lib/ruby/2.6.0/monitor.rb:235:in `mon_synchronize' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:717:in `block in log' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activesupport-6.0.2.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:708:in `log' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/dbms_output.rb:36:in `log' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/database_statements.rb:136:in `exec_update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:180:in `delete' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `delete' | |
/Users/kbarret8/Desktop/devel/ruby/composite_primary_keys/lib/composite_primary_keys/relation.rb:98:in `delete_all' | |
/Users/kbarret8/Desktop/devel/ruby/composite_primary_keys/lib/composite_primary_keys/associations/has_many_association.rb:21:in `delete_count' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/associations/has_many_association.rb:92:in `delete_or_nullify_all_records' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/associations/collection_association.rb:165:in `delete_all' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/associations/has_many_association.rb:30:in `handle_dependency' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/associations/builder/association.rb:129:in `block in add_destroy_callbacks' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activesupport-6.0.2.1/lib/active_support/callbacks.rb:429:in `instance_exec' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activesupport-6.0.2.1/lib/active_support/callbacks.rb:429:in `block in make_lambda' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activesupport-6.0.2.1/lib/active_support/callbacks.rb:201:in `block (2 levels) in halting' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activesupport-6.0.2.1/lib/active_support/callbacks.rb:607:in `block (2 levels) in default_terminator' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activesupport-6.0.2.1/lib/active_support/callbacks.rb:606:in `catch' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activesupport-6.0.2.1/lib/active_support/callbacks.rb:606:in `block in default_terminator' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activesupport-6.0.2.1/lib/active_support/callbacks.rb:202:in `block in halting' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activesupport-6.0.2.1/lib/active_support/callbacks.rb:514:in `block in invoke_before' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activesupport-6.0.2.1/lib/active_support/callbacks.rb:514:in `each' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activesupport-6.0.2.1/lib/active_support/callbacks.rb:514:in `invoke_before' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activesupport-6.0.2.1/lib/active_support/callbacks.rb:134:in `run_callbacks' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activesupport-6.0.2.1/lib/active_support/callbacks.rb:827:in `_run_destroy_callbacks' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/callbacks.rb:309:in `destroy' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/transactions.rb:311:in `block in destroy' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/transactions.rb:375:in `block in with_transaction_returning_status' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:281:in `block in transaction' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract/transaction.rb:280:in `block in within_new_transaction' | |
/usr/local/Cellar/ruby/2.6.5/lib/ruby/2.6.0/monitor.rb:235:in `mon_synchronize' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract/transaction.rb:278:in `within_new_transaction' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:281:in `transaction' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/transactions.rb:212:in `transaction' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/transactions.rb:366:in `with_transaction_returning_status' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/transactions.rb:311:in `destroy' | |
/Users/kbarret8/Desktop/devel/ruby/composite_primary_keys/test/test_delete.rb:153:in `test_destroy_has_many_delete_all' | |
2) Error: | |
TestDelete#test_delete_cpk_association: | |
ActiveRecord::StatementInvalid: OCIError: ORA-00920: invalid relational operator | |
stmt.c:267:in oci8lib_260.bundle | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/ruby-oci8-2.2.8/lib/oci8/cursor.rb:137:in `exec' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/oci_connection.rb:146:in `exec_update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/database_statements.rb:152:in `block in exec_update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:718:in `block (2 levels) in log' | |
/usr/local/Cellar/ruby/2.6.5/lib/ruby/2.6.0/monitor.rb:235:in `mon_synchronize' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:717:in `block in log' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activesupport-6.0.2.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:708:in `log' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/dbms_output.rb:36:in `log' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/database_statements.rb:136:in `exec_update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:180:in `delete' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `delete' | |
/Users/kbarret8/Desktop/devel/ruby/composite_primary_keys/lib/composite_primary_keys/relation.rb:98:in `delete_all' | |
/Users/kbarret8/Desktop/devel/ruby/composite_primary_keys/lib/composite_primary_keys/associations/has_many_association.rb:21:in `delete_count' | |
/Users/kbarret8/Desktop/devel/ruby/composite_primary_keys/lib/composite_primary_keys/associations/has_many_association.rb:12:in `delete_records' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/associations/collection_association.rb:385:in `remove_records' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/associations/collection_association.rb:376:in `block in delete_or_destroy' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/associations/collection_association.rb:135:in `block in transaction' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:281:in `block in transaction' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract/transaction.rb:280:in `block in within_new_transaction' | |
/usr/local/Cellar/ruby/2.6.5/lib/ruby/2.6.0/monitor.rb:235:in `mon_synchronize' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract/transaction.rb:278:in `within_new_transaction' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:281:in `transaction' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/transactions.rb:212:in `transaction' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/associations/collection_association.rb:134:in `transaction' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/associations/collection_association.rb:376:in `delete_or_destroy' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/associations/collection_association.rb:189:in `delete' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/associations/collection_proxy.rb:618:in `delete' | |
/Users/kbarret8/Desktop/devel/ruby/composite_primary_keys/test/test_delete.rb:164:in `test_delete_cpk_association' | |
3) Error: | |
TestDelete#test_delete_all: | |
ActiveRecord::StatementInvalid: OCIError: ORA-00920: invalid relational operator | |
stmt.c:267:in oci8lib_260.bundle | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/ruby-oci8-2.2.8/lib/oci8/cursor.rb:137:in `exec' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/oci_connection.rb:146:in `exec_update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/database_statements.rb:152:in `block in exec_update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:718:in `block (2 levels) in log' | |
/usr/local/Cellar/ruby/2.6.5/lib/ruby/2.6.0/monitor.rb:235:in `mon_synchronize' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:717:in `block in log' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activesupport-6.0.2.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:708:in `log' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/dbms_output.rb:36:in `log' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/database_statements.rb:136:in `exec_update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:180:in `delete' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `delete' | |
/Users/kbarret8/Desktop/devel/ruby/composite_primary_keys/lib/composite_primary_keys/relation.rb:98:in `delete_all' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/querying.rb:21:in `delete_all' | |
/Users/kbarret8/Desktop/devel/ruby/composite_primary_keys/test/test_delete.rb:27:in `test_delete_all' | |
4) Error: | |
TestDelete#test_delete_one_with_id: | |
ActiveRecord::StatementInvalid: OCIError: ORA-00920: invalid relational operator | |
stmt.c:267:in oci8lib_260.bundle | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/ruby-oci8-2.2.8/lib/oci8/cursor.rb:137:in `exec' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/oci_connection.rb:146:in `exec_update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/database_statements.rb:152:in `block in exec_update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:718:in `block (2 levels) in log' | |
/usr/local/Cellar/ruby/2.6.5/lib/ruby/2.6.0/monitor.rb:235:in `mon_synchronize' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:717:in `block in log' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activesupport-6.0.2.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:708:in `log' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/dbms_output.rb:36:in `log' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/database_statements.rb:136:in `exec_update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:180:in `delete' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `delete' | |
/Users/kbarret8/Desktop/devel/ruby/composite_primary_keys/lib/composite_primary_keys/relation.rb:98:in `delete_all' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/relation.rb:605:in `delete_by' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/querying.rb:21:in `delete_by' | |
/Users/kbarret8/Desktop/devel/ruby/composite_primary_keys/lib/composite_primary_keys/persistence.rb:16:in `block in delete' | |
/Users/kbarret8/Desktop/devel/ruby/composite_primary_keys/lib/composite_primary_keys/persistence.rb:13:in `each' | |
/Users/kbarret8/Desktop/devel/ruby/composite_primary_keys/lib/composite_primary_keys/persistence.rb:13:in `delete' | |
/Users/kbarret8/Desktop/devel/ruby/composite_primary_keys/test/test_delete.rb:15:in `test_delete_one_with_id' | |
5) Error: | |
TestDelete#test_delete_all_with_join: | |
ActiveRecord::StatementInvalid: OCIError: ORA-00920: invalid relational operator | |
stmt.c:267:in oci8lib_260.bundle | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/ruby-oci8-2.2.8/lib/oci8/cursor.rb:137:in `exec' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/oci_connection.rb:146:in `exec_update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/database_statements.rb:152:in `block in exec_update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:718:in `block (2 levels) in log' | |
/usr/local/Cellar/ruby/2.6.5/lib/ruby/2.6.0/monitor.rb:235:in `mon_synchronize' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:717:in `block in log' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activesupport-6.0.2.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:708:in `log' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/dbms_output.rb:36:in `log' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/database_statements.rb:136:in `exec_update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:180:in `delete' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `delete' | |
/Users/kbarret8/Desktop/devel/ruby/composite_primary_keys/lib/composite_primary_keys/relation.rb:98:in `delete_all' | |
/Users/kbarret8/Desktop/devel/ruby/composite_primary_keys/test/test_delete.rb:38:in `test_delete_all_with_join' | |
6) Error: | |
TestDelete#test_has_many_replace: | |
ActiveRecord::StatementInvalid: OCIError: ORA-00920: invalid relational operator | |
stmt.c:267:in oci8lib_260.bundle | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/ruby-oci8-2.2.8/lib/oci8/cursor.rb:137:in `exec' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/oci_connection.rb:146:in `exec_update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/database_statements.rb:152:in `block in exec_update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:718:in `block (2 levels) in log' | |
/usr/local/Cellar/ruby/2.6.5/lib/ruby/2.6.0/monitor.rb:235:in `mon_synchronize' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:717:in `block in log' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activesupport-6.0.2.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:708:in `log' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/dbms_output.rb:36:in `log' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/database_statements.rb:136:in `exec_update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:180:in `delete' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `delete' | |
/Users/kbarret8/Desktop/devel/ruby/composite_primary_keys/lib/composite_primary_keys/relation.rb:98:in `delete_all' | |
/Users/kbarret8/Desktop/devel/ruby/composite_primary_keys/lib/composite_primary_keys/associations/has_many_association.rb:21:in `delete_count' | |
/Users/kbarret8/Desktop/devel/ruby/composite_primary_keys/lib/composite_primary_keys/associations/has_many_association.rb:12:in `delete_records' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/associations/collection_association.rb:385:in `remove_records' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/associations/collection_association.rb:376:in `block in delete_or_destroy' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/associations/collection_association.rb:135:in `block in transaction' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:279:in `transaction' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/transactions.rb:212:in `transaction' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/associations/collection_association.rb:134:in `transaction' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/associations/collection_association.rb:376:in `delete_or_destroy' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/associations/collection_association.rb:189:in `delete' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/associations/collection_association.rb:400:in `replace_records' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/associations/collection_association.rb:253:in `block in replace' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/associations/collection_association.rb:135:in `block in transaction' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:281:in `block in transaction' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract/transaction.rb:280:in `block in within_new_transaction' | |
/usr/local/Cellar/ruby/2.6.5/lib/ruby/2.6.0/monitor.rb:235:in `mon_synchronize' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract/transaction.rb:278:in `within_new_transaction' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:281:in `transaction' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/transactions.rb:212:in `transaction' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/associations/collection_association.rb:134:in `transaction' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/associations/collection_association.rb:253:in `replace' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/associations/collection_association.rb:41:in `writer' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/associations/builder/association.rb:108:in `product_tariffs=' | |
/Users/kbarret8/Desktop/devel/ruby/composite_primary_keys/test/test_delete.rb:68:in `test_has_many_replace' | |
7) Error: | |
TestCounterCache#test_decrement_counter: | |
ActiveRecord::StatementInvalid: OCIError: ORA-00920: invalid relational operator | |
stmt.c:267:in oci8lib_260.bundle | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/ruby-oci8-2.2.8/lib/oci8/cursor.rb:137:in `exec' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/oci_connection.rb:146:in `exec_update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/database_statements.rb:152:in `block in exec_update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:718:in `block (2 levels) in log' | |
/usr/local/Cellar/ruby/2.6.5/lib/ruby/2.6.0/monitor.rb:235:in `mon_synchronize' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:717:in `block in log' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activesupport-6.0.2.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:708:in `log' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/dbms_output.rb:36:in `log' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/database_statements.rb:136:in `exec_update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:174:in `update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `update' | |
/Users/kbarret8/Desktop/devel/ruby/composite_primary_keys/lib/composite_primary_keys/relation.rb:60:in `update_all' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/relation.rb:486:in `update_counters' | |
/Users/kbarret8/Desktop/devel/ruby/composite_primary_keys/lib/composite_primary_keys/counter_cache.rb:8:in `update_counters' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/locking/optimistic.rb:155:in `update_counters' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/counter_cache.rb:157:in `decrement_counter' | |
/Users/kbarret8/Desktop/devel/ruby/composite_primary_keys/test/test_counter_cache.rb:26:in `test_decrement_counter' | |
8) Error: | |
TestCounterCache#test_update_counter: | |
ActiveRecord::StatementInvalid: OCIError: ORA-00920: invalid relational operator | |
stmt.c:267:in oci8lib_260.bundle | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/ruby-oci8-2.2.8/lib/oci8/cursor.rb:137:in `exec' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/oci_connection.rb:146:in `exec_update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/database_statements.rb:152:in `block in exec_update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:718:in `block (2 levels) in log' | |
/usr/local/Cellar/ruby/2.6.5/lib/ruby/2.6.0/monitor.rb:235:in `mon_synchronize' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:717:in `block in log' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activesupport-6.0.2.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:708:in `log' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/dbms_output.rb:36:in `log' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/database_statements.rb:136:in `exec_update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:174:in `update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `update' | |
/Users/kbarret8/Desktop/devel/ruby/composite_primary_keys/lib/composite_primary_keys/relation.rb:60:in `update_all' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/relation.rb:486:in `update_counters' | |
/Users/kbarret8/Desktop/devel/ruby/composite_primary_keys/lib/composite_primary_keys/counter_cache.rb:8:in `update_counters' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/locking/optimistic.rb:155:in `update_counters' | |
/Users/kbarret8/Desktop/devel/ruby/composite_primary_keys/test/test_counter_cache.rb:9:in `test_update_counter' | |
9) Error: | |
TestCounterCache#test_increment_counter: | |
ActiveRecord::StatementInvalid: OCIError: ORA-00920: invalid relational operator | |
stmt.c:267:in oci8lib_260.bundle | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/ruby-oci8-2.2.8/lib/oci8/cursor.rb:137:in `exec' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/oci_connection.rb:146:in `exec_update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/database_statements.rb:152:in `block in exec_update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:718:in `block (2 levels) in log' | |
/usr/local/Cellar/ruby/2.6.5/lib/ruby/2.6.0/monitor.rb:235:in `mon_synchronize' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:717:in `block in log' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activesupport-6.0.2.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:708:in `log' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/dbms_output.rb:36:in `log' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/database_statements.rb:136:in `exec_update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:174:in `update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `update' | |
/Users/kbarret8/Desktop/devel/ruby/composite_primary_keys/lib/composite_primary_keys/relation.rb:60:in `update_all' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/relation.rb:486:in `update_counters' | |
/Users/kbarret8/Desktop/devel/ruby/composite_primary_keys/lib/composite_primary_keys/counter_cache.rb:8:in `update_counters' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/locking/optimistic.rb:155:in `update_counters' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/counter_cache.rb:132:in `increment_counter' | |
/Users/kbarret8/Desktop/devel/ruby/composite_primary_keys/test/test_counter_cache.rb:17:in `test_increment_counter' | |
10) Error: | |
TestCreate#test_has_many_ids_1: | |
ActiveRecord::StatementInvalid: OCIError: ORA-00920: invalid relational operator | |
stmt.c:267:in oci8lib_260.bundle | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/ruby-oci8-2.2.8/lib/oci8/cursor.rb:137:in `exec' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/oci_connection.rb:146:in `exec_update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/database_statements.rb:152:in `block in exec_update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:718:in `block (2 levels) in log' | |
/usr/local/Cellar/ruby/2.6.5/lib/ruby/2.6.0/monitor.rb:235:in `mon_synchronize' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:717:in `block in log' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activesupport-6.0.2.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:708:in `log' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/dbms_output.rb:36:in `log' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/database_statements.rb:136:in `exec_update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:180:in `delete' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `delete' | |
/Users/kbarret8/Desktop/devel/ruby/composite_primary_keys/lib/composite_primary_keys/relation.rb:98:in `delete_all' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/querying.rb:21:in `delete_all' | |
/Users/kbarret8/Desktop/devel/ruby/composite_primary_keys/test/test_create.rb:131:in `test_has_many_ids_1' | |
11) Error: | |
TestCreate#test_has_many_ids_2: | |
ActiveRecord::StatementInvalid: OCIError: ORA-00920: invalid relational operator | |
stmt.c:267:in oci8lib_260.bundle | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/ruby-oci8-2.2.8/lib/oci8/cursor.rb:137:in `exec' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/oci_connection.rb:146:in `exec_update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/database_statements.rb:152:in `block in exec_update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:718:in `block (2 levels) in log' | |
/usr/local/Cellar/ruby/2.6.5/lib/ruby/2.6.0/monitor.rb:235:in `mon_synchronize' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:717:in `block in log' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activesupport-6.0.2.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:708:in `log' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/dbms_output.rb:36:in `log' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/database_statements.rb:136:in `exec_update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:180:in `delete' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `delete' | |
/Users/kbarret8/Desktop/devel/ruby/composite_primary_keys/lib/composite_primary_keys/relation.rb:98:in `delete_all' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/querying.rb:21:in `delete_all' | |
/Users/kbarret8/Desktop/devel/ruby/composite_primary_keys/test/test_create.rb:151:in `test_has_many_ids_2' | |
12) Error: | |
TestUpdate#test_update_all_join: | |
ActiveRecord::StatementInvalid: OCIError: ORA-00920: invalid relational operator | |
stmt.c:267:in oci8lib_260.bundle | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/ruby-oci8-2.2.8/lib/oci8/cursor.rb:137:in `exec' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/oci_connection.rb:146:in `exec_update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/database_statements.rb:152:in `block in exec_update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:718:in `block (2 levels) in log' | |
/usr/local/Cellar/ruby/2.6.5/lib/ruby/2.6.0/monitor.rb:235:in `mon_synchronize' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:717:in `block in log' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activesupport-6.0.2.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:708:in `log' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/dbms_output.rb:36:in `log' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/database_statements.rb:136:in `exec_update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:174:in `update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `update' | |
/Users/kbarret8/Desktop/devel/ruby/composite_primary_keys/lib/composite_primary_keys/relation.rb:60:in `update_all' | |
/Users/kbarret8/Desktop/devel/ruby/composite_primary_keys/test/test_update.rb:72:in `test_update_all_join' | |
13) Error: | |
TestUpdate#test_update_all: | |
ActiveRecord::StatementInvalid: OCIError: ORA-00920: invalid relational operator | |
stmt.c:267:in oci8lib_260.bundle | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/ruby-oci8-2.2.8/lib/oci8/cursor.rb:137:in `exec' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/oci_connection.rb:146:in `exec_update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/database_statements.rb:152:in `block in exec_update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:718:in `block (2 levels) in log' | |
/usr/local/Cellar/ruby/2.6.5/lib/ruby/2.6.0/monitor.rb:235:in `mon_synchronize' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:717:in `block in log' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activesupport-6.0.2.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:708:in `log' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/dbms_output.rb:36:in `log' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-oracle_enhanced-adapter-6.0.2/lib/active_record/connection_adapters/oracle_enhanced/database_statements.rb:136:in `exec_update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:174:in `update' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `update' | |
/Users/kbarret8/Desktop/devel/ruby/composite_primary_keys/lib/composite_primary_keys/relation.rb:60:in `update_all' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/activerecord-6.0.2.1/lib/active_record/querying.rb:21:in `update_all' | |
/Users/kbarret8/Desktop/devel/ruby/composite_primary_keys/test/test_update.rb:62:in `test_update_all' | |
14) Failure: | |
TestAssociations#test_limitable_reflections [/Users/kbarret8/Desktop/devel/ruby/composite_primary_keys/test/test_associations.rb:336]: | |
Expected: [1, 1] | |
Actual: [3, 2] | |
15) Failure: | |
TestAssociations#test_has_many_association_primary_key_and_foreign_key_are_present [/Users/kbarret8/Desktop/devel/ruby/composite_primary_keys/test/test_associations.rb:142]: | |
--- expected | |
+++ actual | |
@@ -1 +1,3 @@ | |
-"Steve" | |
+# encoding: US-ASCII | |
+# valid: true | |
+"Rick" | |
16) Failure: | |
TestAssociations#test_has_one_association_primary_key_and_foreign_key_are_present [/Users/kbarret8/Desktop/devel/ruby/composite_primary_keys/test/test_associations.rb:109]: | |
Expected: 1 | |
Actual: 2 | |
190 runs, 468 assertions, 3 failures, 13 errors, 0 skips | |
rake aborted! | |
Command failed with status (1) | |
/Users/kbarret8/Desktop/devel/ruby/composite_primary_keys/Rakefile:34:in `block (3 levels) in <top (required)>' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/rake-13.0.1/exe/rake:27:in `<top (required)>' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:74:in `load' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:74:in `kernel_load' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:28:in `run' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/bundler-1.17.3/lib/bundler/cli.rb:463:in `exec' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/bundler-1.17.3/lib/bundler/cli.rb:27:in `dispatch' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/bundler-1.17.3/lib/bundler/cli.rb:18:in `start' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/bundler-1.17.3/exe/bundle:30:in `block in <top (required)>' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/bundler-1.17.3/lib/bundler/friendly_errors.rb:124:in `with_friendly_errors' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/gems/bundler-1.17.3/exe/bundle:22:in `<top (required)>' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/bin/bundle:23:in `load' | |
/Users/kbarret8/.rvm/gems/ruby-2.2.10/bin/bundle:23:in `<main>' | |
Tasks: TOP => subtest_oracle | |
(See full trace by running task with --trace) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment