Skip to content

Update rake requirement from ~> 13.0.0 to ~> 13.1.0 #90

Update rake requirement from ~> 13.0.0 to ~> 13.1.0

Update rake requirement from ~> 13.0.0 to ~> 13.1.0 #90

Triggered via pull request October 30, 2023 06:10
Status Failure
Total duration 4m 21s
Artifacts

tests.yml

on: pull_request
Matrix: mysql
Matrix: postgres
Fit to window
Zoom out
Zoom in

Annotations

111 errors
postgres (3.0, main, 9.6): spec/statesman/adapters/type_safe_active_record_queries_spec.rb#L168
Statesman::Adapters::TypeSafeActiveRecordQueries using configuration method with a custom primary key for the model .in_state Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/type_safe_active_record_queries_spec.rb:206
postgres (3.0, main, 9.6): spec/statesman/adapters/type_safe_active_record_queries_spec.rb#L194
Statesman::Adapters::TypeSafeActiveRecordQueries using configuration method after_commit transactional integrity Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/type_safe_active_record_queries_spec.rb:206
postgres (3.0, main, 9.6): spec/statesman/adapters/type_safe_active_record_queries_spec.rb#L93
Statesman::Adapters::TypeSafeActiveRecordQueries using configuration method .in_state merging two queries Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/type_safe_active_record_queries_spec.rb:206
postgres (3.0, main, 9.6): spec/statesman/adapters/type_safe_active_record_queries_spec.rb#L82
Statesman::Adapters::TypeSafeActiveRecordQueries using configuration method .in_state given an array of states Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/type_safe_active_record_queries_spec.rb:206
postgres (3.0, main, 9.6): spec/statesman/adapters/type_safe_active_record_queries_spec.rb#L83
Statesman::Adapters::TypeSafeActiveRecordQueries using configuration method .in_state given an array of states Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/type_safe_active_record_queries_spec.rb:206
postgres (3.0, main, 9.6): spec/statesman/adapters/type_safe_active_record_queries_spec.rb#L62
Statesman::Adapters::TypeSafeActiveRecordQueries using configuration method .in_state given a single state Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/type_safe_active_record_queries_spec.rb:206
postgres (3.0, main, 9.6): spec/statesman/adapters/type_safe_active_record_queries_spec.rb#L61
Statesman::Adapters::TypeSafeActiveRecordQueries using configuration method .in_state given a single state Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/type_safe_active_record_queries_spec.rb:206
postgres (3.0, main, 9.6): spec/statesman/adapters/type_safe_active_record_queries_spec.rb#L75
Statesman::Adapters::TypeSafeActiveRecordQueries using configuration method .in_state given the initial state Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/type_safe_active_record_queries_spec.rb:206
postgres (3.0, main, 9.6): spec/statesman/adapters/type_safe_active_record_queries_spec.rb#L76
Statesman::Adapters::TypeSafeActiveRecordQueries using configuration method .in_state given the initial state Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/type_safe_active_record_queries_spec.rb:206
postgres (3.0, main, 9.6): spec/statesman/adapters/type_safe_active_record_queries_spec.rb#L68
Statesman::Adapters::TypeSafeActiveRecordQueries using configuration method .in_state given multiple states Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/type_safe_active_record_queries_spec.rb:206
postgres (3.0, 7.0.4, 9.6): spec/statesman/adapters/active_record_queries_spec.rb#L154
Statesman::Adapters::ActiveRecordQueries using new configuration method with a custom name for the transition association .in_state Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/active_record_queries_spec.rb:225
postgres (3.0, 7.0.4, 9.6): spec/statesman/adapters/active_record_queries_spec.rb#L128
Statesman::Adapters::ActiveRecordQueries using new configuration method .not_in_state given an array of states Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/active_record_queries_spec.rb:225
postgres (3.0, 7.0.4, 9.6): spec/statesman/adapters/active_record_queries_spec.rb#L119
Statesman::Adapters::ActiveRecordQueries using new configuration method .not_in_state given multiple states Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/active_record_queries_spec.rb:225
postgres (3.0, 7.0.4, 9.6): spec/statesman/adapters/active_record_queries_spec.rb#L112
Statesman::Adapters::ActiveRecordQueries using new configuration method .not_in_state given a single state Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/active_record_queries_spec.rb:225
postgres (3.0, 7.0.4, 9.6): spec/statesman/adapters/active_record_queries_spec.rb#L113
Statesman::Adapters::ActiveRecordQueries using new configuration method .not_in_state given a single state Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/active_record_queries_spec.rb:225
postgres (3.0, 7.0.4, 9.6): spec/statesman/adapters/active_record_queries_spec.rb#L205
Statesman::Adapters::ActiveRecordQueries using new configuration method after_commit transactional integrity Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/active_record_queries_spec.rb:225
postgres (3.0, 7.0.4, 9.6): spec/statesman/adapters/active_record_queries_spec.rb#L72
Statesman::Adapters::ActiveRecordQueries using new configuration method .in_state given a single state Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/active_record_queries_spec.rb:225
postgres (3.0, 7.0.4, 9.6): spec/statesman/adapters/active_record_queries_spec.rb#L73
Statesman::Adapters::ActiveRecordQueries using new configuration method .in_state given a single state Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/active_record_queries_spec.rb:225
postgres (3.0, 7.0.4, 9.6): spec/statesman/adapters/active_record_queries_spec.rb#L86
Statesman::Adapters::ActiveRecordQueries using new configuration method .in_state given the initial state Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/active_record_queries_spec.rb:225
postgres (3.0, 7.0.4, 9.6): spec/statesman/adapters/active_record_queries_spec.rb#L87
Statesman::Adapters::ActiveRecordQueries using new configuration method .in_state given the initial state Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/active_record_queries_spec.rb:225
postgres (3.1, main, 9.6): spec/statesman/adapters/type_safe_active_record_queries_spec.rb#L168
Statesman::Adapters::TypeSafeActiveRecordQueries using configuration method with a custom primary key for the model .in_state Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/type_safe_active_record_queries_spec.rb:206
postgres (3.1, main, 9.6): spec/statesman/adapters/type_safe_active_record_queries_spec.rb#L83
Statesman::Adapters::TypeSafeActiveRecordQueries using configuration method .in_state given an array of states Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/type_safe_active_record_queries_spec.rb:206
postgres (3.1, main, 9.6): spec/statesman/adapters/type_safe_active_record_queries_spec.rb#L82
Statesman::Adapters::TypeSafeActiveRecordQueries using configuration method .in_state given an array of states Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/type_safe_active_record_queries_spec.rb:206
postgres (3.1, main, 9.6): spec/statesman/adapters/type_safe_active_record_queries_spec.rb#L93
Statesman::Adapters::TypeSafeActiveRecordQueries using configuration method .in_state merging two queries Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/type_safe_active_record_queries_spec.rb:206
postgres (3.1, main, 9.6): spec/statesman/adapters/type_safe_active_record_queries_spec.rb#L69
Statesman::Adapters::TypeSafeActiveRecordQueries using configuration method .in_state given multiple states Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/type_safe_active_record_queries_spec.rb:206
postgres (3.1, main, 9.6): spec/statesman/adapters/type_safe_active_record_queries_spec.rb#L68
Statesman::Adapters::TypeSafeActiveRecordQueries using configuration method .in_state given multiple states Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/type_safe_active_record_queries_spec.rb:206
postgres (3.1, main, 9.6): spec/statesman/adapters/type_safe_active_record_queries_spec.rb#L75
Statesman::Adapters::TypeSafeActiveRecordQueries using configuration method .in_state given the initial state Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/type_safe_active_record_queries_spec.rb:206
postgres (3.1, main, 9.6): spec/statesman/adapters/type_safe_active_record_queries_spec.rb#L76
Statesman::Adapters::TypeSafeActiveRecordQueries using configuration method .in_state given the initial state Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/type_safe_active_record_queries_spec.rb:206
postgres (3.1, main, 9.6): spec/statesman/adapters/type_safe_active_record_queries_spec.rb#L61
Statesman::Adapters::TypeSafeActiveRecordQueries using configuration method .in_state given a single state Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/type_safe_active_record_queries_spec.rb:206
postgres (3.1, main, 9.6): spec/statesman/adapters/type_safe_active_record_queries_spec.rb#L62
Statesman::Adapters::TypeSafeActiveRecordQueries using configuration method .in_state given a single state Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/type_safe_active_record_queries_spec.rb:206
postgres (3.2, 7.0.4, 9.6): spec/statesman/adapters/active_record_spec.rb#L451
Statesman::Adapters::ActiveRecord resets last with #reload Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^
postgres (3.2, 7.0.4, 9.6): spec/statesman/adapters/active_record_spec.rb#L446
Statesman::Adapters::ActiveRecord#reset works with empty cache Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^
postgres (3.2, 7.0.4, 9.6): spec/statesman/adapters/shared_examples.rb#L40
Statesman::Adapters::ActiveRecord with a namespaced model behaves like an adapter #create Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "an adapter" called from ./spec/statesman/adapters/active_record_spec.rb:479
postgres (3.2, 7.0.4, 9.6): spec/statesman/adapters/shared_examples.rb#L82
Statesman::Adapters::ActiveRecord with a namespaced model behaves like an adapter #create with after callbacks exposes the new transition for subsequent transitions Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "an adapter" called from ./spec/statesman/adapters/active_record_spec.rb:479
postgres (3.2, 7.0.4, 9.6): spec/statesman/adapters/shared_examples.rb#L74
Statesman::Adapters::ActiveRecord with a namespaced model behaves like an adapter #create with after callbacks is called after the state transition Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "an adapter" called from ./spec/statesman/adapters/active_record_spec.rb:479
postgres (3.2, 7.0.4, 9.6): spec/statesman/adapters/shared_examples.rb#L63
Statesman::Adapters::ActiveRecord with a namespaced model behaves like an adapter #create with before callbacks is called before the state transition Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "an adapter" called from ./spec/statesman/adapters/active_record_spec.rb:479
postgres (3.2, 7.0.4, 9.6): spec/statesman/adapters/shared_examples.rb#L47
Statesman::Adapters::ActiveRecord with a namespaced model behaves like an adapter #create the new transition has the initial state Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "an adapter" called from ./spec/statesman/adapters/active_record_spec.rb:479
postgres (3.2, 7.0.4, 9.6): spec/statesman/adapters/shared_examples.rb#L45
Statesman::Adapters::ActiveRecord with a namespaced model behaves like an adapter #create the new transition Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "an adapter" called from ./spec/statesman/adapters/active_record_spec.rb:479
postgres (3.2, 7.0.4, 9.6): spec/statesman/adapters/shared_examples.rb#L58
Statesman::Adapters::ActiveRecord with a namespaced model behaves like an adapter #create the new transition with a previous transition sort_key Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "an adapter" called from ./spec/statesman/adapters/active_record_spec.rb:479
postgres (3.2, 7.0.4, 9.6): spec/statesman/adapters/shared_examples.rb#L52
Statesman::Adapters::ActiveRecord with a namespaced model behaves like an adapter #create the new transition with no previous transition sort_key Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "an adapter" called from ./spec/statesman/adapters/active_record_spec.rb:479
postgres (3.1, 6.1.5, 9.6): spec/statesman/adapters/active_record_queries_spec.rb#L179
Statesman::Adapters::ActiveRecordQueries using new configuration method with a custom primary key for the model .in_state Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/active_record_queries_spec.rb:225
postgres (3.1, 6.1.5, 9.6): spec/statesman/adapters/active_record_queries_spec.rb#L205
Statesman::Adapters::ActiveRecordQueries using new configuration method after_commit transactional integrity Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/active_record_queries_spec.rb:225
postgres (3.1, 6.1.5, 9.6): spec/statesman/adapters/active_record_queries_spec.rb#L154
Statesman::Adapters::ActiveRecordQueries using new configuration method with a custom name for the transition association .in_state Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/active_record_queries_spec.rb:225
postgres (3.1, 6.1.5, 9.6): spec/statesman/adapters/active_record_queries_spec.rb#L104
Statesman::Adapters::ActiveRecordQueries using new configuration method .in_state merging two queries Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/active_record_queries_spec.rb:225
postgres (3.1, 6.1.5, 9.6): spec/statesman/adapters/active_record_queries_spec.rb#L93
Statesman::Adapters::ActiveRecordQueries using new configuration method .in_state given an array of states Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/active_record_queries_spec.rb:225
postgres (3.1, 6.1.5, 9.6): spec/statesman/adapters/active_record_queries_spec.rb#L94
Statesman::Adapters::ActiveRecordQueries using new configuration method .in_state given an array of states Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/active_record_queries_spec.rb:225
postgres (3.1, 6.1.5, 9.6): spec/statesman/adapters/active_record_queries_spec.rb#L73
Statesman::Adapters::ActiveRecordQueries using new configuration method .in_state given a single state Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/active_record_queries_spec.rb:225
postgres (3.1, 6.1.5, 9.6): spec/statesman/adapters/active_record_queries_spec.rb#L72
Statesman::Adapters::ActiveRecordQueries using new configuration method .in_state given a single state Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/active_record_queries_spec.rb:225
postgres (3.1, 6.1.5, 9.6): spec/statesman/adapters/active_record_queries_spec.rb#L80
Statesman::Adapters::ActiveRecordQueries using new configuration method .in_state given multiple states Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/active_record_queries_spec.rb:225
postgres (3.1, 6.1.5, 9.6): spec/statesman/adapters/active_record_queries_spec.rb#L79
Statesman::Adapters::ActiveRecordQueries using new configuration method .in_state given multiple states Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/active_record_queries_spec.rb:225
postgres (2.7, 6.1.5, 9.6): spec/statesman/adapters/active_record_spec.rb#L451
Statesman::Adapters::ActiveRecord resets last with #reload Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^
postgres (2.7, 6.1.5, 9.6): spec/statesman/adapters/shared_examples.rb#L132
Statesman::Adapters::ActiveRecord with a namespaced model behaves like an adapter #last Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "an adapter" called from ./spec/statesman/adapters/active_record_spec.rb:479
postgres (2.7, 6.1.5, 9.6): spec/statesman/adapters/shared_examples.rb#L130
Statesman::Adapters::ActiveRecord with a namespaced model behaves like an adapter #last Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "an adapter" called from ./spec/statesman/adapters/active_record_spec.rb:479
postgres (2.7, 6.1.5, 9.6): spec/statesman/adapters/shared_examples.rb#L129
Statesman::Adapters::ActiveRecord with a namespaced model behaves like an adapter #last Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "an adapter" called from ./spec/statesman/adapters/active_record_spec.rb:479
postgres (2.7, 6.1.5, 9.6): spec/statesman/adapters/shared_examples.rb#L40
Statesman::Adapters::ActiveRecord with a namespaced model behaves like an adapter #create Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "an adapter" called from ./spec/statesman/adapters/active_record_spec.rb:479
postgres (2.7, 6.1.5, 9.6): spec/statesman/adapters/shared_examples.rb#L47
Statesman::Adapters::ActiveRecord with a namespaced model behaves like an adapter #create the new transition has the initial state Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "an adapter" called from ./spec/statesman/adapters/active_record_spec.rb:479
postgres (2.7, 6.1.5, 9.6): spec/statesman/adapters/shared_examples.rb#L45
Statesman::Adapters::ActiveRecord with a namespaced model behaves like an adapter #create the new transition Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "an adapter" called from ./spec/statesman/adapters/active_record_spec.rb:479
postgres (2.7, 6.1.5, 9.6): spec/statesman/adapters/shared_examples.rb#L52
Statesman::Adapters::ActiveRecord with a namespaced model behaves like an adapter #create the new transition with no previous transition sort_key Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "an adapter" called from ./spec/statesman/adapters/active_record_spec.rb:479
postgres (2.7, 6.1.5, 9.6): spec/statesman/adapters/shared_examples.rb#L58
Statesman::Adapters::ActiveRecord with a namespaced model behaves like an adapter #create the new transition with a previous transition sort_key Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "an adapter" called from ./spec/statesman/adapters/active_record_spec.rb:479
postgres (2.7, 6.1.5, 9.6): spec/statesman/adapters/shared_examples.rb#L63
Statesman::Adapters::ActiveRecord with a namespaced model behaves like an adapter #create with before callbacks is called before the state transition Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "an adapter" called from ./spec/statesman/adapters/active_record_spec.rb:479
postgres (2.7, main, 9.6): spec/statesman/adapters/active_record_queries_spec.rb#L238
Statesman::Adapters::ActiveRecordQueries with no association with the transition class .in_state raises a helpful error Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^
postgres (2.7, main, 9.6): spec/statesman/adapters/active_record_queries_spec.rb#L266
Statesman::Adapters::ActiveRecordQueries check_missing_methods! when base has missing methods raises an error Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^
postgres (2.7, main, 9.6): spec/statesman/adapters/active_record_queries_spec.rb#L256
Statesman::Adapters::ActiveRecordQueries check_missing_methods! when base has no missing methods does not raise an error Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^
postgres (2.7, main, 9.6): spec/statesman/adapters/active_record_queries_spec.rb#L179
Statesman::Adapters::ActiveRecordQueries using old configuration method with a custom primary key for the model .in_state Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/active_record_queries_spec.rb:219
postgres (2.7, main, 9.6): spec/statesman/adapters/active_record_queries_spec.rb#L205
Statesman::Adapters::ActiveRecordQueries using old configuration method after_commit transactional integrity Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/active_record_queries_spec.rb:219
postgres (2.7, main, 9.6): spec/statesman/adapters/active_record_queries_spec.rb#L154
Statesman::Adapters::ActiveRecordQueries using old configuration method with a custom name for the transition association .in_state Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/active_record_queries_spec.rb:219
postgres (2.7, main, 9.6): spec/statesman/adapters/active_record_queries_spec.rb#L112
Statesman::Adapters::ActiveRecordQueries using old configuration method .not_in_state given a single state Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/active_record_queries_spec.rb:219
postgres (2.7, main, 9.6): spec/statesman/adapters/active_record_queries_spec.rb#L113
Statesman::Adapters::ActiveRecordQueries using old configuration method .not_in_state given a single state Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/active_record_queries_spec.rb:219
postgres (2.7, main, 9.6): spec/statesman/adapters/active_record_queries_spec.rb#L119
Statesman::Adapters::ActiveRecordQueries using old configuration method .not_in_state given multiple states Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/active_record_queries_spec.rb:219
postgres (2.7, main, 9.6): spec/statesman/adapters/active_record_queries_spec.rb#L128
Statesman::Adapters::ActiveRecordQueries using old configuration method .not_in_state given an array of states Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/active_record_queries_spec.rb:219
postgres (2.7, 7.0.4, 9.6): spec/statesman/adapters/active_record_spec.rb#L451
Statesman::Adapters::ActiveRecord resets last with #reload Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^
postgres (2.7, 7.0.4, 9.6): spec/statesman/adapters/shared_examples.rb#L40
Statesman::Adapters::ActiveRecord with a namespaced model behaves like an adapter #create Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "an adapter" called from ./spec/statesman/adapters/active_record_spec.rb:479
postgres (2.7, 7.0.4, 9.6): spec/statesman/adapters/shared_examples.rb#L74
Statesman::Adapters::ActiveRecord with a namespaced model behaves like an adapter #create with after callbacks is called after the state transition Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "an adapter" called from ./spec/statesman/adapters/active_record_spec.rb:479
postgres (2.7, 7.0.4, 9.6): spec/statesman/adapters/shared_examples.rb#L82
Statesman::Adapters::ActiveRecord with a namespaced model behaves like an adapter #create with after callbacks exposes the new transition for subsequent transitions Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "an adapter" called from ./spec/statesman/adapters/active_record_spec.rb:479
postgres (2.7, 7.0.4, 9.6): spec/statesman/adapters/shared_examples.rb#L47
Statesman::Adapters::ActiveRecord with a namespaced model behaves like an adapter #create the new transition has the initial state Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "an adapter" called from ./spec/statesman/adapters/active_record_spec.rb:479
postgres (2.7, 7.0.4, 9.6): spec/statesman/adapters/shared_examples.rb#L45
Statesman::Adapters::ActiveRecord with a namespaced model behaves like an adapter #create the new transition Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "an adapter" called from ./spec/statesman/adapters/active_record_spec.rb:479
postgres (2.7, 7.0.4, 9.6): spec/statesman/adapters/shared_examples.rb#L52
Statesman::Adapters::ActiveRecord with a namespaced model behaves like an adapter #create the new transition with no previous transition sort_key Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "an adapter" called from ./spec/statesman/adapters/active_record_spec.rb:479
postgres (2.7, 7.0.4, 9.6): spec/statesman/adapters/shared_examples.rb#L58
Statesman::Adapters::ActiveRecord with a namespaced model behaves like an adapter #create the new transition with a previous transition sort_key Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "an adapter" called from ./spec/statesman/adapters/active_record_spec.rb:479
postgres (2.7, 7.0.4, 9.6): spec/statesman/adapters/shared_examples.rb#L98
Statesman::Adapters::ActiveRecord with a namespaced model behaves like an adapter #create with metadata metadata Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "an adapter" called from ./spec/statesman/adapters/active_record_spec.rb:479
postgres (2.7, 7.0.4, 9.6): spec/statesman/adapters/shared_examples.rb#L63
Statesman::Adapters::ActiveRecord with a namespaced model behaves like an adapter #create with before callbacks is called before the state transition Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "an adapter" called from ./spec/statesman/adapters/active_record_spec.rb:479
postgres (3.1, 7.0.4, 9.6): spec/statesman/adapters/type_safe_active_record_queries_spec.rb#L69
Statesman::Adapters::TypeSafeActiveRecordQueries using configuration method .in_state given multiple states Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/type_safe_active_record_queries_spec.rb:206
postgres (3.1, 7.0.4, 9.6): spec/statesman/adapters/type_safe_active_record_queries_spec.rb#L68
Statesman::Adapters::TypeSafeActiveRecordQueries using configuration method .in_state given multiple states Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/type_safe_active_record_queries_spec.rb:206
postgres (3.1, 7.0.4, 9.6): spec/statesman/adapters/type_safe_active_record_queries_spec.rb#L76
Statesman::Adapters::TypeSafeActiveRecordQueries using configuration method .in_state given the initial state Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/type_safe_active_record_queries_spec.rb:206
postgres (3.1, 7.0.4, 9.6): spec/statesman/adapters/type_safe_active_record_queries_spec.rb#L75
Statesman::Adapters::TypeSafeActiveRecordQueries using configuration method .in_state given the initial state Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/type_safe_active_record_queries_spec.rb:206
postgres (3.1, 7.0.4, 9.6): spec/statesman/adapters/type_safe_active_record_queries_spec.rb#L93
Statesman::Adapters::TypeSafeActiveRecordQueries using configuration method .in_state merging two queries Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/type_safe_active_record_queries_spec.rb:206
postgres (3.1, 7.0.4, 9.6): spec/statesman/adapters/type_safe_active_record_queries_spec.rb#L83
Statesman::Adapters::TypeSafeActiveRecordQueries using configuration method .in_state given an array of states Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/type_safe_active_record_queries_spec.rb:206
postgres (3.1, 7.0.4, 9.6): spec/statesman/adapters/type_safe_active_record_queries_spec.rb#L82
Statesman::Adapters::TypeSafeActiveRecordQueries using configuration method .in_state given an array of states Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/type_safe_active_record_queries_spec.rb:206
postgres (3.1, 7.0.4, 9.6): spec/statesman/adapters/type_safe_active_record_queries_spec.rb#L61
Statesman::Adapters::TypeSafeActiveRecordQueries using configuration method .in_state given a single state Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/type_safe_active_record_queries_spec.rb:206
postgres (3.1, 7.0.4, 9.6): spec/statesman/adapters/type_safe_active_record_queries_spec.rb#L62
Statesman::Adapters::TypeSafeActiveRecordQueries using configuration method .in_state given a single state Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/type_safe_active_record_queries_spec.rb:206
postgres (3.1, 7.0.4, 9.6): spec/statesman/adapters/type_safe_active_record_queries_spec.rb#L143
Statesman::Adapters::TypeSafeActiveRecordQueries using configuration method with a custom name for the transition association .in_state Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "testing methods" called from ./spec/statesman/adapters/type_safe_active_record_queries_spec.rb:206
rubocop
Process completed with exit code 1.
postgres (3.0, 6.1.5, 9.6): spec/statesman/adapters/active_record_spec.rb#L451
Statesman::Adapters::ActiveRecord resets last with #reload Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^
postgres (3.0, 6.1.5, 9.6): spec/statesman/adapters/active_record_spec.rb#L446
Statesman::Adapters::ActiveRecord#reset works with empty cache Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^
postgres (3.0, 6.1.5, 9.6): spec/statesman/adapters/active_record_spec.rb#L428
Statesman::Adapters::ActiveRecord#last with a pre-fetched transition history doesn't query the database Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^
postgres (3.0, 6.1.5, 9.6): spec/statesman/adapters/active_record_spec.rb#L435
Statesman::Adapters::ActiveRecord#last without previous transitions does query the database only once Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^
postgres (3.0, 6.1.5, 9.6): spec/statesman/adapters/active_record_spec.rb#L370
Statesman::Adapters::ActiveRecord#last with a previously looked up transition caches the transition Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^
postgres (3.0, 6.1.5, 9.6): spec/statesman/adapters/active_record_spec.rb#L389
Statesman::Adapters::ActiveRecord#last with a previously looked up transition when a new transition has been created elsewhere still returns the cached value Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^
postgres (3.0, 6.1.5, 9.6): spec/statesman/adapters/active_record_spec.rb#L404
Statesman::Adapters::ActiveRecord#last with a previously looked up transition when a new transition has been created elsewhere when explicitly not using the cache when the transitions are in memory reloads the value Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^
postgres (3.0, 6.1.5, 9.6): spec/statesman/adapters/active_record_spec.rb#L415
Statesman::Adapters::ActiveRecord#last with a previously looked up transition when a new transition has been created elsewhere when explicitly not using the cache when the transitions are not in memory reloads the value Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^
postgres (3.0, 6.1.5, 9.6): spec/statesman/adapters/active_record_spec.rb#L379
Statesman::Adapters::ActiveRecord#last with a previously looked up transition after then creating a new transition retrieves the new transition from the database Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^
postgres (3.0, 6.1.5, 9.6): spec/statesman/adapters/active_record_spec.rb#L185
Statesman::Adapters::ActiveRecord#create when other exceptions occur other errors Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^
postgres (3.2, main, 9.6): spec/statesman/adapters/active_record_spec.rb#L451
Statesman::Adapters::ActiveRecord resets last with #reload Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^
postgres (3.2, main, 9.6): spec/statesman/adapters/active_record_spec.rb#L446
Statesman::Adapters::ActiveRecord#reset works with empty cache Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^
postgres (3.2, main, 9.6): spec/statesman/adapters/active_record_spec.rb#L108
Statesman::Adapters::ActiveRecord#initialize with serialized metadata and jsonb column type raises an exception Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^
postgres (3.2, main, 9.6): spec/statesman/adapters/active_record_spec.rb#L52
Statesman::Adapters::ActiveRecord#initialize with unserialized metadata and non json column type raises an exception Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^
postgres (3.2, main, 9.6): spec/statesman/adapters/active_record_spec.rb#L80
Statesman::Adapters::ActiveRecord#initialize with serialized metadata and json column type raises an exception Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^
postgres (3.2, main, 9.6): spec/statesman/adapters/shared_examples.rb#L132
Statesman::Adapters::ActiveRecord behaves like an adapter #last Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "an adapter" called from ./spec/statesman/adapters/active_record_spec.rb:32
postgres (3.2, main, 9.6): spec/statesman/adapters/shared_examples.rb#L130
Statesman::Adapters::ActiveRecord behaves like an adapter #last Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "an adapter" called from ./spec/statesman/adapters/active_record_spec.rb:32
postgres (3.2, main, 9.6): spec/statesman/adapters/shared_examples.rb#L129
Statesman::Adapters::ActiveRecord behaves like an adapter #last Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "an adapter" called from ./spec/statesman/adapters/active_record_spec.rb:32
postgres (3.2, main, 9.6): spec/statesman/adapters/shared_examples.rb#L40
Statesman::Adapters::ActiveRecord behaves like an adapter #create Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "an adapter" called from ./spec/statesman/adapters/active_record_spec.rb:32
postgres (3.2, main, 9.6): spec/statesman/adapters/shared_examples.rb#L82
Statesman::Adapters::ActiveRecord behaves like an adapter #create with after callbacks exposes the new transition for subsequent transitions Failure/Error: add_index :my_active_record_model_transitions, %i[my_active_record_model_id most_recent], unique: true, where: "most_recent", name: "index_my_active_record_model_transitions_parent_latest" ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column a.attidentity does not exist LINE 4: a.attidentity AS identity, ^ Shared Example Group: "an adapter" called from ./spec/statesman/adapters/active_record_spec.rb:32