spec/dummy/log/test.log in stateful_models-0.0.2 vs spec/dummy/log/test.log in stateful_models-0.0.3
- old
+ new
@@ -18145,5 +18145,5659 @@
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mKYCState Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "KYCState"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{\"document_type\":\"passport\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2024-12-23 21:38:45.777963"], ["updated_at", "2024-12-23 21:38:45.777963"]]
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[35mSQL (5.3ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35mSQL (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "users"[0m
+ [1m[35m (5.8ms)[0m [1m[31mDELETE FROM "users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "has_states_states"[0m
+ [1m[35m (0.4ms)[0m [1m[31mDELETE FROM "has_states_states"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'has_states_states';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'companies';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 1"], ["created_at", "2025-01-14 15:55:24.911025"], ["updated_at", "2025-01-14 15:55:24.911025"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 2"], ["created_at", "2025-01-14 15:55:24.920230"], ["updated_at", "2025-01-14 15:55:24.920230"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 15:55:24.930220"], ["updated_at", "2025-01-14 15:55:24.930220"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 3"], ["created_at", "2025-01-14 15:55:24.933297"], ["updated_at", "2025-01-14 15:55:24.933297"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 4"], ["created_at", "2025-01-14 15:55:24.938345"], ["updated_at", "2025-01-14 15:55:24.938345"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", nil], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 15:55:24.940015"], ["updated_at", "2025-01-14 15:55:24.940015"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 5"], ["created_at", "2025-01-14 15:55:24.959178"], ["updated_at", "2025-01-14 15:55:24.959178"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 6"], ["created_at", "2025-01-14 15:55:24.962526"], ["updated_at", "2025-01-14 15:55:24.962526"]]
+ [1m[36mTRANSACTION (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 15:55:24.964080"], ["updated_at", "2025-01-14 15:55:24.964080"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.2ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"]]
+ [1m[36mHasStates::State Destroy (0.1ms)[0m [1m[31mDELETE FROM "has_states_states" WHERE "has_states_states"."id" = ?[0m [["id", 1]]
+ [1m[36mUser Destroy (0.0ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[35mSQL (2.0ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35mSQL (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "users"[0m
+ [1m[35m (14.4ms)[0m [1m[31mDELETE FROM "users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'has_states_states';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "companies"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'companies';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 1"], ["created_at", "2025-01-14 15:56:11.688230"], ["updated_at", "2025-01-14 15:56:11.688230"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 2"], ["created_at", "2025-01-14 15:56:11.696425"], ["updated_at", "2025-01-14 15:56:11.696425"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 15:56:11.705618"], ["updated_at", "2025-01-14 15:56:11.705618"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 3"], ["created_at", "2025-01-14 15:56:11.708467"], ["updated_at", "2025-01-14 15:56:11.708467"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 4"], ["created_at", "2025-01-14 15:56:11.712564"], ["updated_at", "2025-01-14 15:56:11.712564"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 5"], ["created_at", "2025-01-14 15:56:11.718652"], ["updated_at", "2025-01-14 15:56:11.718652"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 6"], ["created_at", "2025-01-14 15:56:11.721592"], ["updated_at", "2025-01-14 15:56:11.721592"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 15:56:11.722845"], ["updated_at", "2025-01-14 15:56:11.722845"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.2ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"]]
+ [1m[36mHasStates::State Destroy (0.0ms)[0m [1m[31mDELETE FROM "has_states_states" WHERE "has_states_states"."id" = ?[0m [["id", 1]]
+ [1m[36mUser Destroy (0.0ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[35mSQL (1.8ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35mSQL (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "users"[0m
+ [1m[35m (14.9ms)[0m [1m[31mDELETE FROM "users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'has_states_states';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'companies';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 1"], ["created_at", "2025-01-14 15:57:17.619255"], ["updated_at", "2025-01-14 15:57:17.619255"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 15:57:17.634376"], ["updated_at", "2025-01-14 15:57:17.634376"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 2"], ["created_at", "2025-01-14 15:57:17.636855"], ["updated_at", "2025-01-14 15:57:17.636855"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 3"], ["created_at", "2025-01-14 15:57:17.640609"], ["updated_at", "2025-01-14 15:57:17.640609"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 4"], ["created_at", "2025-01-14 15:57:17.655400"], ["updated_at", "2025-01-14 15:57:17.655400"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 5"], ["created_at", "2025-01-14 15:57:17.657935"], ["updated_at", "2025-01-14 15:57:17.657935"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 15:57:17.659342"], ["updated_at", "2025-01-14 15:57:17.659342"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.2ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"]]
+ [1m[36mHasStates::State Destroy (0.1ms)[0m [1m[31mDELETE FROM "has_states_states" WHERE "has_states_states"."id" = ?[0m [["id", 1]]
+ [1m[36mUser Destroy (0.0ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[35mSQL (1.8ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35mSQL (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "users"[0m
+ [1m[35m (14.8ms)[0m [1m[31mDELETE FROM "users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "has_states_states"[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'has_states_states';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'companies';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 1"], ["created_at", "2025-01-14 15:58:23.425777"], ["updated_at", "2025-01-14 15:58:23.425777"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 15:58:23.440535"], ["updated_at", "2025-01-14 15:58:23.440535"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 2"], ["created_at", "2025-01-14 15:58:23.442916"], ["updated_at", "2025-01-14 15:58:23.442916"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{\"key\":\"value\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 15:58:23.443975"], ["updated_at", "2025-01-14 15:58:23.443975"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 3"], ["created_at", "2025-01-14 15:58:23.453951"], ["updated_at", "2025-01-14 15:58:23.453951"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 4"], ["created_at", "2025-01-14 15:58:23.468413"], ["updated_at", "2025-01-14 15:58:23.468413"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 5"], ["created_at", "2025-01-14 15:58:23.471532"], ["updated_at", "2025-01-14 15:58:23.471532"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 15:58:23.472772"], ["updated_at", "2025-01-14 15:58:23.472772"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.2ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"]]
+ [1m[36mHasStates::State Destroy (0.0ms)[0m [1m[31mDELETE FROM "has_states_states" WHERE "has_states_states"."id" = ?[0m [["id", 1]]
+ [1m[36mUser Destroy (0.0ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[35mSQL (1.7ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35mSQL (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "users"[0m
+ [1m[35m (14.8ms)[0m [1m[31mDELETE FROM "users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'has_states_states';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'companies';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 1"], ["created_at", "2025-01-14 15:58:48.355749"], ["updated_at", "2025-01-14 15:58:48.355749"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 15:58:48.370851"], ["updated_at", "2025-01-14 15:58:48.370851"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 2"], ["created_at", "2025-01-14 15:58:48.373182"], ["updated_at", "2025-01-14 15:58:48.373182"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{\"key\":\"value\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 15:58:48.374142"], ["updated_at", "2025-01-14 15:58:48.374142"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 3"], ["created_at", "2025-01-14 15:58:48.375410"], ["updated_at", "2025-01-14 15:58:48.375410"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 4"], ["created_at", "2025-01-14 15:58:48.380947"], ["updated_at", "2025-01-14 15:58:48.380947"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 5"], ["created_at", "2025-01-14 15:58:48.383575"], ["updated_at", "2025-01-14 15:58:48.383575"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.4ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 15:58:48.384637"], ["updated_at", "2025-01-14 15:58:48.384637"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.2ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"]]
+ [1m[36mHasStates::State Destroy (0.1ms)[0m [1m[31mDELETE FROM "has_states_states" WHERE "has_states_states"."id" = ?[0m [["id", 1]]
+ [1m[36mUser Destroy (0.0ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[35mSQL (1.8ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35mSQL (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "users"[0m
+ [1m[35m (14.3ms)[0m [1m[31mDELETE FROM "users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "has_states_states"[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'has_states_states';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'companies';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 1"], ["created_at", "2025-01-14 16:01:26.901374"], ["updated_at", "2025-01-14 16:01:26.901374"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:01:26.915887"], ["updated_at", "2025-01-14 16:01:26.915887"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 2"], ["created_at", "2025-01-14 16:01:26.918308"], ["updated_at", "2025-01-14 16:01:26.918308"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{\"key\":\"value\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:01:26.919421"], ["updated_at", "2025-01-14 16:01:26.919421"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 3"], ["created_at", "2025-01-14 16:01:26.920888"], ["updated_at", "2025-01-14 16:01:26.920888"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::CustomState Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::CustomState"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:01:26.923830"], ["updated_at", "2025-01-14 16:01:26.923830"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 4"], ["created_at", "2025-01-14 16:01:26.939848"], ["updated_at", "2025-01-14 16:01:26.939848"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 5"], ["created_at", "2025-01-14 16:01:26.942981"], ["updated_at", "2025-01-14 16:01:26.942981"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:01:26.944816"], ["updated_at", "2025-01-14 16:01:26.944816"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.5ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"]]
+ [1m[36mHasStates::State Destroy (0.1ms)[0m [1m[31mDELETE FROM "has_states_states" WHERE "has_states_states"."id" = ?[0m [["id", 1]]
+ [1m[36mUser Destroy (0.0ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[35mSQL (2.0ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35mSQL (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "users"[0m
+ [1m[35m (14.1ms)[0m [1m[31mDELETE FROM "users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "has_states_states"[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'has_states_states';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'companies';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 1"], ["created_at", "2025-01-14 16:14:11.904139"], ["updated_at", "2025-01-14 16:14:11.904139"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 2"], ["created_at", "2025-01-14 16:14:11.923395"], ["updated_at", "2025-01-14 16:14:11.923395"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 3"], ["created_at", "2025-01-14 16:14:11.926073"], ["updated_at", "2025-01-14 16:14:11.926073"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 4"], ["created_at", "2025-01-14 16:14:11.946403"], ["updated_at", "2025-01-14 16:14:11.946403"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 5"], ["created_at", "2025-01-14 16:14:11.949812"], ["updated_at", "2025-01-14 16:14:11.949812"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 6"], ["created_at", "2025-01-14 16:14:11.952163"], ["updated_at", "2025-01-14 16:14:11.952163"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 7"], ["created_at", "2025-01-14 16:14:11.954513"], ["updated_at", "2025-01-14 16:14:11.954513"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[35mSQL (1.8ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35mSQL (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "users"[0m
+ [1m[35m (14.2ms)[0m [1m[31mDELETE FROM "users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "has_states_states"[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'has_states_states';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'companies';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 1"], ["created_at", "2025-01-14 16:14:42.218362"], ["updated_at", "2025-01-14 16:14:42.218362"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.4ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:14:42.233027"], ["updated_at", "2025-01-14 16:14:42.233027"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 2"], ["created_at", "2025-01-14 16:14:42.237453"], ["updated_at", "2025-01-14 16:14:42.237453"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{\"key\":\"value\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:14:42.239673"], ["updated_at", "2025-01-14 16:14:42.239673"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 3"], ["created_at", "2025-01-14 16:14:42.242864"], ["updated_at", "2025-01-14 16:14:42.242864"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::CustomState Create (0.5ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::CustomState"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:14:42.250200"], ["updated_at", "2025-01-14 16:14:42.250200"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 4"], ["created_at", "2025-01-14 16:14:42.274266"], ["updated_at", "2025-01-14 16:14:42.274266"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 5"], ["created_at", "2025-01-14 16:14:42.277706"], ["updated_at", "2025-01-14 16:14:42.277706"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:14:42.279215"], ["updated_at", "2025-01-14 16:14:42.279215"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:14:42.280649"], ["updated_at", "2025-01-14 16:14:42.280649"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:14:42.281703"], ["updated_at", "2025-01-14 16:14:42.281703"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:14:42.282577"], ["updated_at", "2025-01-14 16:14:42.282577"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:14:42.283939"], ["updated_at", "2025-01-14 16:14:42.283939"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 6"], ["created_at", "2025-01-14 16:14:42.285480"], ["updated_at", "2025-01-14 16:14:42.285480"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:14:42.286475"], ["updated_at", "2025-01-14 16:14:42.286475"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:14:42.287246"], ["updated_at", "2025-01-14 16:14:42.287246"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:14:42.288344"], ["updated_at", "2025-01-14 16:14:42.288344"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:14:42.289269"], ["updated_at", "2025-01-14 16:14:42.289269"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:14:42.289955"], ["updated_at", "2025-01-14 16:14:42.289955"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 7"], ["created_at", "2025-01-14 16:14:42.291330"], ["updated_at", "2025-01-14 16:14:42.291330"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:14:42.292508"], ["updated_at", "2025-01-14 16:14:42.292508"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.2ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"]]
+ [1m[36mHasStates::State Destroy (0.0ms)[0m [1m[31mDELETE FROM "has_states_states" WHERE "has_states_states"."id" = ?[0m [["id", 1]]
+ [1m[36mUser Destroy (0.0ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[35mSQL (1.8ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35mSQL (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "users"[0m
+ [1m[35m (14.3ms)[0m [1m[31mDELETE FROM "users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "has_states_states"[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'has_states_states';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'companies';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 1"], ["created_at", "2025-01-14 16:15:46.552085"], ["updated_at", "2025-01-14 16:15:46.552085"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:15:46.566580"], ["updated_at", "2025-01-14 16:15:46.566580"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 2"], ["created_at", "2025-01-14 16:15:46.569236"], ["updated_at", "2025-01-14 16:15:46.569236"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{\"key\":\"value\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:15:46.570586"], ["updated_at", "2025-01-14 16:15:46.570586"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 3"], ["created_at", "2025-01-14 16:15:46.572664"], ["updated_at", "2025-01-14 16:15:46.572664"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::CustomState Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::CustomState"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:15:46.576000"], ["updated_at", "2025-01-14 16:15:46.576000"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 4"], ["created_at", "2025-01-14 16:15:46.591349"], ["updated_at", "2025-01-14 16:15:46.591349"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 5"], ["created_at", "2025-01-14 16:15:46.593966"], ["updated_at", "2025-01-14 16:15:46.593966"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:15:46.595634"], ["updated_at", "2025-01-14 16:15:46.595634"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:15:46.596534"], ["updated_at", "2025-01-14 16:15:46.596534"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:15:46.597317"], ["updated_at", "2025-01-14 16:15:46.597317"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:15:46.598043"], ["updated_at", "2025-01-14 16:15:46.598043"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.7ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:15:46.598752"], ["updated_at", "2025-01-14 16:15:46.598752"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-15 16:15:46"], ["updated_at", "2025-01-15 16:15:46"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 6"], ["created_at", "2025-01-14 16:15:46.612357"], ["updated_at", "2025-01-14 16:15:46.612357"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:15:46.613876"], ["updated_at", "2025-01-14 16:15:46.613876"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:15:46.614825"], ["updated_at", "2025-01-14 16:15:46.614825"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:15:46.615552"], ["updated_at", "2025-01-14 16:15:46.615552"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:15:46.616272"], ["updated_at", "2025-01-14 16:15:46.616272"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:15:46.617068"], ["updated_at", "2025-01-14 16:15:46.617068"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "nonexistent"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 7"], ["created_at", "2025-01-14 16:15:46.618965"], ["updated_at", "2025-01-14 16:15:46.618965"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:15:46.619835"], ["updated_at", "2025-01-14 16:15:46.619835"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"]]
+ [1m[36mHasStates::State Destroy (0.0ms)[0m [1m[31mDELETE FROM "has_states_states" WHERE "has_states_states"."id" = ?[0m [["id", 1]]
+ [1m[36mUser Destroy (0.0ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[35mSQL (1.9ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35mSQL (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "users"[0m
+ [1m[35m (5.4ms)[0m [1m[31mDELETE FROM "users"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'has_states_states';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'companies';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 1"], ["created_at", "2025-01-14 16:17:12.511020"], ["updated_at", "2025-01-14 16:17:12.511020"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:17:12.528358"], ["updated_at", "2025-01-14 16:17:12.528358"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 2"], ["created_at", "2025-01-14 16:17:12.531397"], ["updated_at", "2025-01-14 16:17:12.531397"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{\"key\":\"value\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:17:12.532611"], ["updated_at", "2025-01-14 16:17:12.532611"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 3"], ["created_at", "2025-01-14 16:17:12.534127"], ["updated_at", "2025-01-14 16:17:12.534127"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::CustomState Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::CustomState"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:17:12.536727"], ["updated_at", "2025-01-14 16:17:12.536727"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 4"], ["created_at", "2025-01-14 16:17:12.541600"], ["updated_at", "2025-01-14 16:17:12.541600"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 5"], ["created_at", "2025-01-14 16:17:12.543574"], ["updated_at", "2025-01-14 16:17:12.543574"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:17:12.544453"], ["updated_at", "2025-01-14 16:17:12.544453"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:17:12.545397"], ["updated_at", "2025-01-14 16:17:12.545397"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:17:12.546090"], ["updated_at", "2025-01-14 16:17:12.546090"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:17:12.546737"], ["updated_at", "2025-01-14 16:17:12.546737"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:17:12.547350"], ["updated_at", "2025-01-14 16:17:12.547350"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" ASC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-15 16:17:12"], ["updated_at", "2025-01-15 16:17:12"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 6"], ["created_at", "2025-01-14 16:17:12.558596"], ["updated_at", "2025-01-14 16:17:12.558596"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:17:12.559746"], ["updated_at", "2025-01-14 16:17:12.559746"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.4ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:17:12.560697"], ["updated_at", "2025-01-14 16:17:12.560697"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:17:12.571199"], ["updated_at", "2025-01-14 16:17:12.571199"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:17:12.572181"], ["updated_at", "2025-01-14 16:17:12.572181"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:17:12.572927"], ["updated_at", "2025-01-14 16:17:12.572927"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" ASC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "nonexistent"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 7"], ["created_at", "2025-01-14 16:17:12.575477"], ["updated_at", "2025-01-14 16:17:12.575477"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:17:12.576746"], ["updated_at", "2025-01-14 16:17:12.576746"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.2ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"]]
+ [1m[36mHasStates::State Destroy (0.1ms)[0m [1m[31mDELETE FROM "has_states_states" WHERE "has_states_states"."id" = ?[0m [["id", 1]]
+ [1m[36mUser Destroy (0.0ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[35mSQL (1.9ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35mSQL (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "users"[0m
+ [1m[35m (14.2ms)[0m [1m[31mDELETE FROM "users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "has_states_states"[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'has_states_states';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'companies';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 1"], ["created_at", "2025-01-14 16:20:02.543353"], ["updated_at", "2025-01-14 16:20:02.543353"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:20:02.569285"], ["updated_at", "2025-01-14 16:20:02.569285"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 2"], ["created_at", "2025-01-14 16:20:02.580654"], ["updated_at", "2025-01-14 16:20:02.580654"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{\"key\":\"value\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:20:02.582302"], ["updated_at", "2025-01-14 16:20:02.582302"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 3"], ["created_at", "2025-01-14 16:20:02.584282"], ["updated_at", "2025-01-14 16:20:02.584282"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::CustomState Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::CustomState"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:20:02.587850"], ["updated_at", "2025-01-14 16:20:02.587850"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 4"], ["created_at", "2025-01-14 16:20:02.594522"], ["updated_at", "2025-01-14 16:20:02.594522"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 5"], ["created_at", "2025-01-14 16:20:02.597667"], ["updated_at", "2025-01-14 16:20:02.597667"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:20:02.599027"], ["updated_at", "2025-01-14 16:20:02.599027"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:20:02.599881"], ["updated_at", "2025-01-14 16:20:02.599881"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:20:02.600574"], ["updated_at", "2025-01-14 16:20:02.600574"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:20:02.601255"], ["updated_at", "2025-01-14 16:20:02.601255"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:20:02.601934"], ["updated_at", "2025-01-14 16:20:02.601934"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-15 16:20:02"], ["updated_at", "2025-01-15 16:20:02"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 6"], ["created_at", "2025-01-14 16:20:02.614333"], ["updated_at", "2025-01-14 16:20:02.614333"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:20:02.615595"], ["updated_at", "2025-01-14 16:20:02.615595"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:20:02.616434"], ["updated_at", "2025-01-14 16:20:02.616434"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:20:02.617107"], ["updated_at", "2025-01-14 16:20:02.617107"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:20:02.617743"], ["updated_at", "2025-01-14 16:20:02.617743"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:20:02.618390"], ["updated_at", "2025-01-14 16:20:02.618390"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "nonexistent"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 7"], ["created_at", "2025-01-14 16:20:02.620220"], ["updated_at", "2025-01-14 16:20:02.620220"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:20:02.621161"], ["updated_at", "2025-01-14 16:20:02.621161"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"]]
+ [1m[36mHasStates::State Destroy (0.0ms)[0m [1m[31mDELETE FROM "has_states_states" WHERE "has_states_states"."id" = ?[0m [["id", 1]]
+ [1m[36mUser Destroy (0.0ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[35mSQL (1.7ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35mSQL (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "users"[0m
+ [1m[35m (14.8ms)[0m [1m[31mDELETE FROM "users"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'has_states_states';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'companies';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 1"], ["created_at", "2025-01-14 16:22:43.604975"], ["updated_at", "2025-01-14 16:22:43.604975"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:22:43.619553"], ["updated_at", "2025-01-14 16:22:43.619553"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 2"], ["created_at", "2025-01-14 16:22:43.622432"], ["updated_at", "2025-01-14 16:22:43.622432"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{\"key\":\"value\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:22:43.623807"], ["updated_at", "2025-01-14 16:22:43.623807"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 3"], ["created_at", "2025-01-14 16:22:43.625717"], ["updated_at", "2025-01-14 16:22:43.625717"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::CustomState Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::CustomState"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:22:43.628718"], ["updated_at", "2025-01-14 16:22:43.628718"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 4"], ["created_at", "2025-01-14 16:22:43.643266"], ["updated_at", "2025-01-14 16:22:43.643266"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.9ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 5"], ["created_at", "2025-01-13 16:22:43"], ["updated_at", "2025-01-13 16:22:43"]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.4ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:22:43"], ["updated_at", "2025-01-13 16:22:43"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:22:43"], ["updated_at", "2025-01-13 16:22:43"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:22:43"], ["updated_at", "2025-01-13 16:22:43"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:22:43"], ["updated_at", "2025-01-13 16:22:43"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:22:43"], ["updated_at", "2025-01-13 16:22:43"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:22:43.660072"], ["updated_at", "2025-01-14 16:22:43.660072"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 6"], ["created_at", "2025-01-13 16:22:43"], ["updated_at", "2025-01-13 16:22:43"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:22:43"], ["updated_at", "2025-01-13 16:22:43"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:22:43"], ["updated_at", "2025-01-13 16:22:43"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:22:43"], ["updated_at", "2025-01-13 16:22:43"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:22:43"], ["updated_at", "2025-01-13 16:22:43"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:22:43"], ["updated_at", "2025-01-13 16:22:43"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "nonexistent"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 7"], ["created_at", "2025-01-14 16:22:43.679004"], ["updated_at", "2025-01-14 16:22:43.679004"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:22:43.680104"], ["updated_at", "2025-01-14 16:22:43.680104"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.2ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"]]
+ [1m[36mHasStates::State Destroy (0.0ms)[0m [1m[31mDELETE FROM "has_states_states" WHERE "has_states_states"."id" = ?[0m [["id", 1]]
+ [1m[36mUser Destroy (0.0ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[35mSQL (1.7ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35mSQL (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "users"[0m
+ [1m[35m (14.8ms)[0m [1m[31mDELETE FROM "users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "has_states_states"[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'has_states_states';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'companies';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 1"], ["created_at", "2025-01-14 16:22:54.015055"], ["updated_at", "2025-01-14 16:22:54.015055"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.4ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:22:54.029843"], ["updated_at", "2025-01-14 16:22:54.029843"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 2"], ["created_at", "2025-01-14 16:22:54.032616"], ["updated_at", "2025-01-14 16:22:54.032616"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{\"key\":\"value\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:22:54.033638"], ["updated_at", "2025-01-14 16:22:54.033638"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 3"], ["created_at", "2025-01-14 16:22:54.035002"], ["updated_at", "2025-01-14 16:22:54.035002"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::CustomState Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::CustomState"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:22:54.037732"], ["updated_at", "2025-01-14 16:22:54.037732"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 4"], ["created_at", "2025-01-14 16:22:54.052803"], ["updated_at", "2025-01-14 16:22:54.052803"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 5"], ["created_at", "2025-01-14 16:22:54.055822"], ["updated_at", "2025-01-14 16:22:54.055822"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:22:54.056888"], ["updated_at", "2025-01-14 16:22:54.056888"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:22:54"], ["updated_at", "2025-01-13 16:22:54"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:22:54"], ["updated_at", "2025-01-13 16:22:54"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:22:54"], ["updated_at", "2025-01-13 16:22:54"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:22:54"], ["updated_at", "2025-01-13 16:22:54"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:22:54"], ["updated_at", "2025-01-13 16:22:54"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 6"], ["created_at", "2025-01-14 16:22:54.063719"], ["updated_at", "2025-01-14 16:22:54.063719"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:22:54.064861"], ["updated_at", "2025-01-14 16:22:54.064861"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:22:54"], ["updated_at", "2025-01-13 16:22:54"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:22:54"], ["updated_at", "2025-01-13 16:22:54"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:22:54"], ["updated_at", "2025-01-13 16:22:54"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:22:54"], ["updated_at", "2025-01-13 16:22:54"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:22:54"], ["updated_at", "2025-01-13 16:22:54"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "nonexistent"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 7"], ["created_at", "2025-01-14 16:22:54.070344"], ["updated_at", "2025-01-14 16:22:54.070344"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:22:54.071343"], ["updated_at", "2025-01-14 16:22:54.071343"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.2ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"]]
+ [1m[36mHasStates::State Destroy (0.0ms)[0m [1m[31mDELETE FROM "has_states_states" WHERE "has_states_states"."id" = ?[0m [["id", 1]]
+ [1m[36mUser Destroy (0.0ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[35mSQL (1.8ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35mSQL (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "users"[0m
+ [1m[35m (7.1ms)[0m [1m[31mDELETE FROM "users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'has_states_states';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'companies';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 1"], ["created_at", "2025-01-14 16:23:06.695177"], ["updated_at", "2025-01-14 16:23:06.695177"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:23:06.711365"], ["updated_at", "2025-01-14 16:23:06.711365"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 2"], ["created_at", "2025-01-14 16:23:06.714080"], ["updated_at", "2025-01-14 16:23:06.714080"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{\"key\":\"value\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:23:06.715254"], ["updated_at", "2025-01-14 16:23:06.715254"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 3"], ["created_at", "2025-01-14 16:23:06.716841"], ["updated_at", "2025-01-14 16:23:06.716841"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::CustomState Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::CustomState"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:23:06.719589"], ["updated_at", "2025-01-14 16:23:06.719589"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 4"], ["created_at", "2025-01-14 16:23:06.724796"], ["updated_at", "2025-01-14 16:23:06.724796"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 5"], ["created_at", "2025-01-14 16:23:06.727029"], ["updated_at", "2025-01-14 16:23:06.727029"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:23:06.728016"], ["updated_at", "2025-01-14 16:23:06.728016"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:23:06.728781"], ["updated_at", "2025-01-14 16:23:06.728781"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:23:06.729454"], ["updated_at", "2025-01-14 16:23:06.729454"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:23:06.730126"], ["updated_at", "2025-01-14 16:23:06.730126"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:23:06.730785"], ["updated_at", "2025-01-14 16:23:06.730785"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:23:06.731425"], ["updated_at", "2025-01-14 16:23:06.731425"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 6"], ["created_at", "2025-01-14 16:23:06.741625"], ["updated_at", "2025-01-14 16:23:06.741625"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:23:06.742792"], ["updated_at", "2025-01-14 16:23:06.742792"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:23:06.743568"], ["updated_at", "2025-01-14 16:23:06.743568"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:23:06.744219"], ["updated_at", "2025-01-14 16:23:06.744219"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:23:06.744871"], ["updated_at", "2025-01-14 16:23:06.744871"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:23:06.745520"], ["updated_at", "2025-01-14 16:23:06.745520"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:23:06.746334"], ["updated_at", "2025-01-14 16:23:06.746334"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "nonexistent"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 7"], ["created_at", "2025-01-14 16:23:06.748062"], ["updated_at", "2025-01-14 16:23:06.748062"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:23:06.748993"], ["updated_at", "2025-01-14 16:23:06.748993"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"]]
+ [1m[36mHasStates::State Destroy (0.0ms)[0m [1m[31mDELETE FROM "has_states_states" WHERE "has_states_states"."id" = ?[0m [["id", 1]]
+ [1m[36mUser Destroy (0.0ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[35mSQL (1.8ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35mSQL (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "users"[0m
+ [1m[35m (14.5ms)[0m [1m[31mDELETE FROM "users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "has_states_states"[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'has_states_states';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'companies';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 1"], ["created_at", "2025-01-14 16:23:12.983833"], ["updated_at", "2025-01-14 16:23:12.983833"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:23:12.997784"], ["updated_at", "2025-01-14 16:23:12.997784"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 2"], ["created_at", "2025-01-14 16:23:13.000293"], ["updated_at", "2025-01-14 16:23:13.000293"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{\"key\":\"value\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:23:13.001410"], ["updated_at", "2025-01-14 16:23:13.001410"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 3"], ["created_at", "2025-01-14 16:23:13.002962"], ["updated_at", "2025-01-14 16:23:13.002962"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::CustomState Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::CustomState"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:23:13.005736"], ["updated_at", "2025-01-14 16:23:13.005736"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 4"], ["created_at", "2025-01-14 16:23:13.021698"], ["updated_at", "2025-01-14 16:23:13.021698"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 5"], ["created_at", "2025-01-14 16:23:13.024969"], ["updated_at", "2025-01-14 16:23:13.024969"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:23:13.026188"], ["updated_at", "2025-01-14 16:23:13.026188"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:23:13"], ["updated_at", "2025-01-13 16:23:13"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:23:13"], ["updated_at", "2025-01-13 16:23:13"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:23:13"], ["updated_at", "2025-01-13 16:23:13"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:23:13"], ["updated_at", "2025-01-13 16:23:13"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:23:13"], ["updated_at", "2025-01-13 16:23:13"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 6"], ["created_at", "2025-01-14 16:23:13.033623"], ["updated_at", "2025-01-14 16:23:13.033623"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:23:13.035186"], ["updated_at", "2025-01-14 16:23:13.035186"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:23:13"], ["updated_at", "2025-01-13 16:23:13"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:23:13"], ["updated_at", "2025-01-13 16:23:13"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:23:13"], ["updated_at", "2025-01-13 16:23:13"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:23:13"], ["updated_at", "2025-01-13 16:23:13"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:23:13"], ["updated_at", "2025-01-13 16:23:13"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "nonexistent"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 7"], ["created_at", "2025-01-14 16:23:13.040883"], ["updated_at", "2025-01-14 16:23:13.040883"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:23:13.041862"], ["updated_at", "2025-01-14 16:23:13.041862"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.2ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"]]
+ [1m[36mHasStates::State Destroy (0.0ms)[0m [1m[31mDELETE FROM "has_states_states" WHERE "has_states_states"."id" = ?[0m [["id", 1]]
+ [1m[36mUser Destroy (0.0ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[35mSQL (1.8ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35mSQL (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "users"[0m
+ [1m[35m (14.6ms)[0m [1m[31mDELETE FROM "users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'has_states_states';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'companies';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 1"], ["created_at", "2025-01-14 16:26:14.802287"], ["updated_at", "2025-01-14 16:26:14.802287"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:26:14.817113"], ["updated_at", "2025-01-14 16:26:14.817113"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 2"], ["created_at", "2025-01-14 16:26:14.819993"], ["updated_at", "2025-01-14 16:26:14.819993"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{\"key\":\"value\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:26:14.821400"], ["updated_at", "2025-01-14 16:26:14.821400"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 3"], ["created_at", "2025-01-14 16:26:14.823011"], ["updated_at", "2025-01-14 16:26:14.823011"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::CustomState Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::CustomState"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:26:14.825722"], ["updated_at", "2025-01-14 16:26:14.825722"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 4"], ["created_at", "2025-01-14 16:26:14.839823"], ["updated_at", "2025-01-14 16:26:14.839823"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 5"], ["created_at", "2025-01-14 16:26:14.843109"], ["updated_at", "2025-01-14 16:26:14.843109"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:26:14.844244"], ["updated_at", "2025-01-14 16:26:14.844244"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:26:14"], ["updated_at", "2025-01-13 16:26:14"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:26:14"], ["updated_at", "2025-01-13 16:26:14"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:26:14"], ["updated_at", "2025-01-13 16:26:14"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:26:14"], ["updated_at", "2025-01-13 16:26:14"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:26:14"], ["updated_at", "2025-01-13 16:26:14"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 6"], ["created_at", "2025-01-14 16:26:14.850492"], ["updated_at", "2025-01-14 16:26:14.850492"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:26:14.851433"], ["updated_at", "2025-01-14 16:26:14.851433"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:26:14"], ["updated_at", "2025-01-13 16:26:14"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:26:14"], ["updated_at", "2025-01-13 16:26:14"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:26:14"], ["updated_at", "2025-01-13 16:26:14"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:26:14"], ["updated_at", "2025-01-13 16:26:14"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:26:14"], ["updated_at", "2025-01-13 16:26:14"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "nonexistent"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 7"], ["created_at", "2025-01-14 16:26:14.856879"], ["updated_at", "2025-01-14 16:26:14.856879"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:26:14.857934"], ["updated_at", "2025-01-14 16:26:14.857934"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:26:14.858806"], ["updated_at", "2025-01-14 16:26:14.858806"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:26:14.859819"], ["updated_at", "2025-01-14 16:26:14.859819"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:26:14.860639"], ["updated_at", "2025-01-14 16:26:14.860639"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:26:14.861354"], ["updated_at", "2025-01-14 16:26:14.861354"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:26:14.862057"], ["updated_at", "2025-01-14 16:26:14.862057"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"]]
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 8"], ["created_at", "2025-01-14 16:26:14.864397"], ["updated_at", "2025-01-14 16:26:14.864397"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:26:14.865254"], ["updated_at", "2025-01-14 16:26:14.865254"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:26:14.865941"], ["updated_at", "2025-01-14 16:26:14.865941"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:26:14.866599"], ["updated_at", "2025-01-14 16:26:14.866599"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:26:14.867230"], ["updated_at", "2025-01-14 16:26:14.867230"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:26:14.867990"], ["updated_at", "2025-01-14 16:26:14.867990"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:26:14.868622"], ["updated_at", "2025-01-14 16:26:14.868622"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "nonexistent"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 9"], ["created_at", "2025-01-14 16:26:14.870807"], ["updated_at", "2025-01-14 16:26:14.870807"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:26:14.871804"], ["updated_at", "2025-01-14 16:26:14.871804"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.2ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"]]
+ [1m[36mHasStates::State Destroy (0.0ms)[0m [1m[31mDELETE FROM "has_states_states" WHERE "has_states_states"."id" = ?[0m [["id", 1]]
+ [1m[36mUser Destroy (0.0ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[35mSQL (1.8ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35mSQL (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "users"[0m
+ [1m[35m (15.8ms)[0m [1m[31mDELETE FROM "users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'has_states_states';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'companies';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 1"], ["created_at", "2025-01-14 16:43:11.728911"], ["updated_at", "2025-01-14 16:43:11.728911"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:43:11.743341"], ["updated_at", "2025-01-14 16:43:11.743341"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 2"], ["created_at", "2025-01-14 16:43:11.746051"], ["updated_at", "2025-01-14 16:43:11.746051"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{\"key\":\"value\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:43:11.747309"], ["updated_at", "2025-01-14 16:43:11.747309"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 3"], ["created_at", "2025-01-14 16:43:11.748981"], ["updated_at", "2025-01-14 16:43:11.748981"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::CustomState Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::CustomState"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:43:11.751662"], ["updated_at", "2025-01-14 16:43:11.751662"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 4"], ["created_at", "2025-01-14 16:43:11.766890"], ["updated_at", "2025-01-14 16:43:11.766890"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 5"], ["created_at", "2025-01-14 16:43:11.770310"], ["updated_at", "2025-01-14 16:43:11.770310"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:43:11.771434"], ["updated_at", "2025-01-14 16:43:11.771434"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:43:11"], ["updated_at", "2025-01-13 16:43:11"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:43:11"], ["updated_at", "2025-01-13 16:43:11"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.5ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:43:11"], ["updated_at", "2025-01-13 16:43:11"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:43:11"], ["updated_at", "2025-01-13 16:43:11"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:43:11"], ["updated_at", "2025-01-13 16:43:11"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 6"], ["created_at", "2025-01-14 16:43:11.778038"], ["updated_at", "2025-01-14 16:43:11.778038"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:43:11.779443"], ["updated_at", "2025-01-14 16:43:11.779443"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:43:11"], ["updated_at", "2025-01-13 16:43:11"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:43:11"], ["updated_at", "2025-01-13 16:43:11"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:43:11"], ["updated_at", "2025-01-13 16:43:11"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:43:11"], ["updated_at", "2025-01-13 16:43:11"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:43:11"], ["updated_at", "2025-01-13 16:43:11"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "nonexistent"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 7"], ["created_at", "2025-01-14 16:43:11.785423"], ["updated_at", "2025-01-14 16:43:11.785423"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:43:11.786383"], ["updated_at", "2025-01-14 16:43:11.786383"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:43:11.787110"], ["updated_at", "2025-01-14 16:43:11.787110"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:43:11.787760"], ["updated_at", "2025-01-14 16:43:11.787760"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:43:11.788601"], ["updated_at", "2025-01-14 16:43:11.788601"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:43:11.789313"], ["updated_at", "2025-01-14 16:43:11.789313"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:43:11.789949"], ["updated_at", "2025-01-14 16:43:11.789949"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"]]
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 8"], ["created_at", "2025-01-14 16:43:11.792366"], ["updated_at", "2025-01-14 16:43:11.792366"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:43:11.793678"], ["updated_at", "2025-01-14 16:43:11.793678"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:43:11.794616"], ["updated_at", "2025-01-14 16:43:11.794616"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:43:11.795506"], ["updated_at", "2025-01-14 16:43:11.795506"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:43:11.796278"], ["updated_at", "2025-01-14 16:43:11.796278"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:43:11.796985"], ["updated_at", "2025-01-14 16:43:11.796985"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:43:11.797647"], ["updated_at", "2025-01-14 16:43:11.797647"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "nonexistent"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 9"], ["created_at", "2025-01-14 16:43:11.800013"], ["updated_at", "2025-01-14 16:43:11.800013"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:43:11.800874"], ["updated_at", "2025-01-14 16:43:11.800874"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"]]
+ [1m[36mHasStates::State Destroy (0.0ms)[0m [1m[31mDELETE FROM "has_states_states" WHERE "has_states_states"."id" = ?[0m [["id", 1]]
+ [1m[36mUser Destroy (0.0ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[35mSQL (1.8ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35mSQL (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.5ms)[0m [1m[35mTRUNCATE TABLE "users"[0m
+ [1m[35m (8.7ms)[0m [1m[31mDELETE FROM "users"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "has_states_states"[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM "has_states_states"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'has_states_states';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'companies';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 7"], ["created_at", "2025-01-14 16:43:21.290616"], ["updated_at", "2025-01-14 16:43:21.290616"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:43:21.292471"], ["updated_at", "2025-01-14 16:43:21.292471"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."type" = ? AND "has_states_states"."state_type" = ?[0m [["type", "HasStates::State"], ["state_type", "kyc"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 8"], ["created_at", "2025-01-14 16:43:21.295757"], ["updated_at", "2025-01-14 16:43:21.295757"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:43:21.296563"], ["updated_at", "2025-01-14 16:43:21.296563"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 9"], ["created_at", "2025-01-14 16:43:21.298868"], ["updated_at", "2025-01-14 16:43:21.298868"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:43:21.299556"], ["updated_at", "2025-01-14 16:43:21.299556"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 10"], ["created_at", "2025-01-14 16:43:21.301674"], ["updated_at", "2025-01-14 16:43:21.301674"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:43:21.302451"], ["updated_at", "2025-01-14 16:43:21.302451"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.7ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 11"], ["created_at", "2025-01-14 16:43:34.946688"], ["updated_at", "2025-01-14 16:43:34.946688"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.4ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:43:34.948835"], ["updated_at", "2025-01-14 16:43:34.948835"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 12"], ["created_at", "2025-01-14 16:45:33.991914"], ["updated_at", "2025-01-14 16:45:33.991914"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{\"reason\":\"documents_missing\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:45:33.998823"], ["updated_at", "2025-01-14 16:45:33.998823"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 13"], ["created_at", "2025-01-14 16:45:34.000951"], ["updated_at", "2025-01-14 16:45:34.000951"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{\"documents\":{\"passport\":{\"status\":\"rejected\",\"reason\":\"expired\"},\"utility_bill\":{\"status\":\"pending\"}}}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:45:34.001942"], ["updated_at", "2025-01-14 16:45:34.001942"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 14"], ["created_at", "2025-01-14 16:45:34.003165"], ["updated_at", "2025-01-14 16:45:34.003165"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{\"missing_documents\":[\"passport\",\"utility_bill\"],\"review_history\":[{\"date\":\"2024-01-01\",\"status\":\"rejected\"},{\"date\":\"2024-01-02\",\"status\":\"approved\"}]}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:45:34.004030"], ["updated_at", "2025-01-14 16:45:34.004030"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 15"], ["created_at", "2025-01-14 16:45:34.005516"], ["updated_at", "2025-01-14 16:45:34.005516"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{\"string_value\":\"test\",\"integer_value\":42,\"float_value\":42.5,\"boolean_value\":true,\"null_value\":null,\"date_value\":\"2024-01-01\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:45:34.006497"], ["updated_at", "2025-01-14 16:45:34.006497"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 16"], ["created_at", "2025-01-14 16:45:34.008014"], ["updated_at", "2025-01-14 16:45:34.008014"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.5ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:45:34.009119"], ["updated_at", "2025-01-14 16:45:34.009119"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 17"], ["created_at", "2025-01-14 16:45:34.010896"], ["updated_at", "2025-01-14 16:45:34.010896"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{\"key\":\"value\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:45:34.011869"], ["updated_at", "2025-01-14 16:45:34.011869"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."type" = ? AND "has_states_states"."id" = ? LIMIT ?[0m [["type", "HasStates::State"], ["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 18"], ["created_at", "2025-01-14 16:45:34.013981"], ["updated_at", "2025-01-14 16:45:34.013981"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:45:34.015373"], ["updated_at", "2025-01-14 16:45:34.015373"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 16:45:34.016172"], ["id", 1]]
+ [1m[36mUser Update (0.0ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Onboarded User"], ["updated_at", "2025-01-14 16:45:34.016769"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 19"], ["created_at", "2025-01-14 16:45:34.018487"], ["updated_at", "2025-01-14 16:45:34.018487"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:45:34.019627"], ["updated_at", "2025-01-14 16:45:34.019627"]]
+ [1m[36mUser Update (0.0ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Onboarded User"], ["updated_at", "2025-01-14 16:45:34.020257"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Original Name"], ["updated_at", "2025-01-14 16:45:34.020755"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "pending"], ["updated_at", "2025-01-14 16:45:34.021215"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 20"], ["created_at", "2025-01-14 16:45:34.022848"], ["updated_at", "2025-01-14 16:45:34.022848"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:45:34.023734"], ["updated_at", "2025-01-14 16:45:34.023734"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 16:45:34.024359"], ["id", 1]]
+ [1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Execution 1"], ["updated_at", "2025-01-14 16:45:34.024814"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:45:34.026132"], ["updated_at", "2025-01-14 16:45:34.026132"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 16:45:34.026879"], ["id", 2]]
+ [1m[36mUser Update (0.0ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Execution 2"], ["updated_at", "2025-01-14 16:45:34.027357"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Final Name"], ["updated_at", "2025-01-14 16:45:34.028147"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:45:34.029004"], ["updated_at", "2025-01-14 16:45:34.029004"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 16:45:34.029844"], ["id", 3]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 21"], ["created_at", "2025-01-14 16:45:34.031528"], ["updated_at", "2025-01-14 16:45:34.031528"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:45:34.032597"], ["updated_at", "2025-01-14 16:45:34.032597"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 16:45:34.033214"], ["id", 1]]
+ [1m[36mUser Update (0.0ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Execution 1"], ["updated_at", "2025-01-14 16:45:34.033642"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:45:34.034664"], ["updated_at", "2025-01-14 16:45:34.034664"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 16:45:34.035259"], ["id", 2]]
+ [1m[36mUser Update (0.0ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Execution 2"], ["updated_at", "2025-01-14 16:45:34.035671"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:45:34.036571"], ["updated_at", "2025-01-14 16:45:34.036571"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 16:45:34.037147"], ["id", 3]]
+ [1m[36mUser Update (0.0ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Execution 3"], ["updated_at", "2025-01-14 16:45:34.037581"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 22"], ["created_at", "2025-01-14 16:45:34.040110"], ["updated_at", "2025-01-14 16:45:34.040110"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:45:34.041040"], ["updated_at", "2025-01-14 16:45:34.041040"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 16:45:34.041660"], ["id", 1]]
+ [1m[36mUser Update (0.0ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Executed"], ["updated_at", "2025-01-14 16:45:34.042093"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 23"], ["created_at", "2025-01-14 16:45:34.043463"], ["updated_at", "2025-01-14 16:45:34.043463"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKYCState Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "KYCState"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{\"document_type\":\"passport\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:45:34.046694"], ["updated_at", "2025-01-14 16:45:34.046694"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 24"], ["created_at", "2025-01-14 16:45:34.050075"], ["updated_at", "2025-01-14 16:45:34.050075"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 25"], ["created_at", "2025-01-14 16:45:34.053903"], ["updated_at", "2025-01-14 16:45:34.053903"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:45:34.054987"], ["updated_at", "2025-01-14 16:45:34.054987"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 26"], ["created_at", "2025-01-14 16:45:34.056261"], ["updated_at", "2025-01-14 16:45:34.056261"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKYCState Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "KYCState"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{\"document_type\":\"passport\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:45:34.057058"], ["updated_at", "2025-01-14 16:45:34.057058"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[35mSQL (1.8ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35mSQL (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "users"[0m
+ [1m[35m (14.1ms)[0m [1m[31mDELETE FROM "users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'has_states_states';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'companies';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 7"], ["created_at", "2025-01-14 16:45:59.670742"], ["updated_at", "2025-01-14 16:45:59.670742"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:45:59.672649"], ["updated_at", "2025-01-14 16:45:59.672649"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."type" = ? AND "has_states_states"."state_type" = ?[0m [["type", "HasStates::State"], ["state_type", "kyc"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 8"], ["created_at", "2025-01-14 16:45:59.676219"], ["updated_at", "2025-01-14 16:45:59.676219"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:45:59.677298"], ["updated_at", "2025-01-14 16:45:59.677298"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 9"], ["created_at", "2025-01-14 16:45:59.680350"], ["updated_at", "2025-01-14 16:45:59.680350"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:45:59.681380"], ["updated_at", "2025-01-14 16:45:59.681380"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 10"], ["created_at", "2025-01-14 16:45:59.683559"], ["updated_at", "2025-01-14 16:45:59.683559"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:45:59.684625"], ["updated_at", "2025-01-14 16:45:59.684625"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 11"], ["created_at", "2025-01-14 16:45:59.686503"], ["updated_at", "2025-01-14 16:45:59.686503"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:45:59.687209"], ["updated_at", "2025-01-14 16:45:59.687209"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 12"], ["created_at", "2025-01-14 16:45:59.696859"], ["updated_at", "2025-01-14 16:45:59.696859"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:45:59.697774"], ["updated_at", "2025-01-14 16:45:59.697774"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 13"], ["created_at", "2025-01-14 16:45:59.699607"], ["updated_at", "2025-01-14 16:45:59.699607"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{\"reason\":\"documents_missing\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:45:59.704024"], ["updated_at", "2025-01-14 16:45:59.704024"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 14"], ["created_at", "2025-01-14 16:45:59.705650"], ["updated_at", "2025-01-14 16:45:59.705650"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{\"documents\":{\"passport\":{\"status\":\"rejected\",\"reason\":\"expired\"},\"utility_bill\":{\"status\":\"pending\"}}}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:45:59.706630"], ["updated_at", "2025-01-14 16:45:59.706630"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 15"], ["created_at", "2025-01-14 16:45:59.707994"], ["updated_at", "2025-01-14 16:45:59.707994"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{\"missing_documents\":[\"passport\",\"utility_bill\"],\"review_history\":[{\"date\":\"2024-01-01\",\"status\":\"rejected\"},{\"date\":\"2024-01-02\",\"status\":\"approved\"}]}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:45:59.708906"], ["updated_at", "2025-01-14 16:45:59.708906"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 16"], ["created_at", "2025-01-14 16:45:59.710186"], ["updated_at", "2025-01-14 16:45:59.710186"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{\"string_value\":\"test\",\"integer_value\":42,\"float_value\":42.5,\"boolean_value\":true,\"null_value\":null,\"date_value\":\"2024-01-01\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:45:59.711206"], ["updated_at", "2025-01-14 16:45:59.711206"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 17"], ["created_at", "2025-01-14 16:45:59.712577"], ["updated_at", "2025-01-14 16:45:59.712577"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:45:59.713487"], ["updated_at", "2025-01-14 16:45:59.713487"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 18"], ["created_at", "2025-01-14 16:45:59.714738"], ["updated_at", "2025-01-14 16:45:59.714738"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{\"key\":\"value\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:45:59.715661"], ["updated_at", "2025-01-14 16:45:59.715661"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."type" = ? AND "has_states_states"."id" = ? LIMIT ?[0m [["type", "HasStates::State"], ["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 19"], ["created_at", "2025-01-14 16:45:59.717736"], ["updated_at", "2025-01-14 16:45:59.717736"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:45:59.718821"], ["updated_at", "2025-01-14 16:45:59.718821"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 16:45:59.719524"], ["id", 1]]
+ [1m[36mUser Update (0.0ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Onboarded User"], ["updated_at", "2025-01-14 16:45:59.720132"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 20"], ["created_at", "2025-01-14 16:45:59.721938"], ["updated_at", "2025-01-14 16:45:59.721938"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:45:59.723004"], ["updated_at", "2025-01-14 16:45:59.723004"]]
+ [1m[36mUser Update (0.0ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Onboarded User"], ["updated_at", "2025-01-14 16:45:59.723595"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Original Name"], ["updated_at", "2025-01-14 16:45:59.724056"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "pending"], ["updated_at", "2025-01-14 16:45:59.724497"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 21"], ["created_at", "2025-01-14 16:45:59.726197"], ["updated_at", "2025-01-14 16:45:59.726197"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:45:59.727277"], ["updated_at", "2025-01-14 16:45:59.727277"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 16:45:59.727984"], ["id", 1]]
+ [1m[36mUser Update (0.0ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Execution 1"], ["updated_at", "2025-01-14 16:45:59.728461"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:45:59.729607"], ["updated_at", "2025-01-14 16:45:59.729607"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 16:45:59.730247"], ["id", 2]]
+ [1m[36mUser Update (0.0ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Execution 2"], ["updated_at", "2025-01-14 16:45:59.730689"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Final Name"], ["updated_at", "2025-01-14 16:45:59.731481"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:45:59.732301"], ["updated_at", "2025-01-14 16:45:59.732301"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 16:45:59.732980"], ["id", 3]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 22"], ["created_at", "2025-01-14 16:45:59.734584"], ["updated_at", "2025-01-14 16:45:59.734584"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:45:59.735491"], ["updated_at", "2025-01-14 16:45:59.735491"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 16:45:59.736074"], ["id", 1]]
+ [1m[36mUser Update (0.0ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Execution 1"], ["updated_at", "2025-01-14 16:45:59.736468"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:45:59.737423"], ["updated_at", "2025-01-14 16:45:59.737423"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 16:45:59.738082"], ["id", 2]]
+ [1m[36mUser Update (0.0ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Execution 2"], ["updated_at", "2025-01-14 16:45:59.738542"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:45:59.739436"], ["updated_at", "2025-01-14 16:45:59.739436"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 16:45:59.740084"], ["id", 3]]
+ [1m[36mUser Update (0.0ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Execution 3"], ["updated_at", "2025-01-14 16:45:59.740547"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 23"], ["created_at", "2025-01-14 16:45:59.752381"], ["updated_at", "2025-01-14 16:45:59.752381"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:45:59.753887"], ["updated_at", "2025-01-14 16:45:59.753887"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 16:45:59.754668"], ["id", 1]]
+ [1m[36mUser Update (0.0ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Executed"], ["updated_at", "2025-01-14 16:45:59.755158"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 24"], ["created_at", "2025-01-14 16:45:59.756447"], ["updated_at", "2025-01-14 16:45:59.756447"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKYCState Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "KYCState"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{\"document_type\":\"passport\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:45:59.760006"], ["updated_at", "2025-01-14 16:45:59.760006"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 25"], ["created_at", "2025-01-14 16:45:59.762848"], ["updated_at", "2025-01-14 16:45:59.762848"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 26"], ["created_at", "2025-01-14 16:45:59.767199"], ["updated_at", "2025-01-14 16:45:59.767199"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:45:59.768392"], ["updated_at", "2025-01-14 16:45:59.768392"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 27"], ["created_at", "2025-01-14 16:45:59.769989"], ["updated_at", "2025-01-14 16:45:59.769989"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKYCState Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "KYCState"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{\"document_type\":\"passport\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:45:59.771301"], ["updated_at", "2025-01-14 16:45:59.771301"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[35mSQL (1.8ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35mSQL (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "users"[0m
+ [1m[35m (14.1ms)[0m [1m[31mDELETE FROM "users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'has_states_states';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'companies';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 1"], ["created_at", "2025-01-14 16:53:50.650069"], ["updated_at", "2025-01-14 16:53:50.650069"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.674783"], ["updated_at", "2025-01-14 16:53:50.674783"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 2"], ["created_at", "2025-01-14 16:53:50.678006"], ["updated_at", "2025-01-14 16:53:50.678006"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{\"key\":\"value\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.679309"], ["updated_at", "2025-01-14 16:53:50.679309"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 3"], ["created_at", "2025-01-14 16:53:50.681107"], ["updated_at", "2025-01-14 16:53:50.681107"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::CustomState Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::CustomState"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.684588"], ["updated_at", "2025-01-14 16:53:50.684588"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 4"], ["created_at", "2025-01-14 16:53:50.691221"], ["updated_at", "2025-01-14 16:53:50.691221"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 5"], ["created_at", "2025-01-14 16:53:50.694192"], ["updated_at", "2025-01-14 16:53:50.694192"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.695425"], ["updated_at", "2025-01-14 16:53:50.695425"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:53:50"], ["updated_at", "2025-01-13 16:53:50"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:53:50"], ["updated_at", "2025-01-13 16:53:50"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:53:50"], ["updated_at", "2025-01-13 16:53:50"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:53:50"], ["updated_at", "2025-01-13 16:53:50"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:53:50"], ["updated_at", "2025-01-13 16:53:50"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 6"], ["created_at", "2025-01-14 16:53:50.701952"], ["updated_at", "2025-01-14 16:53:50.701952"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.702973"], ["updated_at", "2025-01-14 16:53:50.702973"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:53:50"], ["updated_at", "2025-01-13 16:53:50"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:53:50"], ["updated_at", "2025-01-13 16:53:50"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:53:50"], ["updated_at", "2025-01-13 16:53:50"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:53:50"], ["updated_at", "2025-01-13 16:53:50"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:53:50"], ["updated_at", "2025-01-13 16:53:50"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "nonexistent"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 7"], ["created_at", "2025-01-14 16:53:50.708285"], ["updated_at", "2025-01-14 16:53:50.708285"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.709306"], ["updated_at", "2025-01-14 16:53:50.709306"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.710146"], ["updated_at", "2025-01-14 16:53:50.710146"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.710952"], ["updated_at", "2025-01-14 16:53:50.710952"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.711700"], ["updated_at", "2025-01-14 16:53:50.711700"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.712403"], ["updated_at", "2025-01-14 16:53:50.712403"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.713044"], ["updated_at", "2025-01-14 16:53:50.713044"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"]]
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 8"], ["created_at", "2025-01-14 16:53:50.716150"], ["updated_at", "2025-01-14 16:53:50.716150"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.717447"], ["updated_at", "2025-01-14 16:53:50.717447"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.718273"], ["updated_at", "2025-01-14 16:53:50.718273"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.718968"], ["updated_at", "2025-01-14 16:53:50.718968"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.719612"], ["updated_at", "2025-01-14 16:53:50.719612"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.720313"], ["updated_at", "2025-01-14 16:53:50.720313"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.721182"], ["updated_at", "2025-01-14 16:53:50.721182"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "nonexistent"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 9"], ["created_at", "2025-01-14 16:53:50.723619"], ["updated_at", "2025-01-14 16:53:50.723619"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.724850"], ["updated_at", "2025-01-14 16:53:50.724850"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.725687"], ["updated_at", "2025-01-14 16:53:50.725687"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.726359"], ["updated_at", "2025-01-14 16:53:50.726359"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.727136"], ["updated_at", "2025-01-14 16:53:50.727136"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.727905"], ["updated_at", "2025-01-14 16:53:50.727905"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.728590"], ["updated_at", "2025-01-14 16:53:50.728590"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.729249"], ["updated_at", "2025-01-14 16:53:50.729249"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.729941"], ["updated_at", "2025-01-14 16:53:50.729941"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 10"], ["created_at", "2025-01-14 16:53:50.732355"], ["updated_at", "2025-01-14 16:53:50.732355"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.733416"], ["updated_at", "2025-01-14 16:53:50.733416"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.734166"], ["updated_at", "2025-01-14 16:53:50.734166"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.734827"], ["updated_at", "2025-01-14 16:53:50.734827"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.735529"], ["updated_at", "2025-01-14 16:53:50.735529"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.736229"], ["updated_at", "2025-01-14 16:53:50.736229"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.737062"], ["updated_at", "2025-01-14 16:53:50.737062"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.737810"], ["updated_at", "2025-01-14 16:53:50.737810"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.738487"], ["updated_at", "2025-01-14 16:53:50.738487"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["status", "pending"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 11"], ["created_at", "2025-01-14 16:53:50.749836"], ["updated_at", "2025-01-14 16:53:50.749836"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.751154"], ["updated_at", "2025-01-14 16:53:50.751154"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.752038"], ["updated_at", "2025-01-14 16:53:50.752038"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.6ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.752842"], ["updated_at", "2025-01-14 16:53:50.752842"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.754182"], ["updated_at", "2025-01-14 16:53:50.754182"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.754911"], ["updated_at", "2025-01-14 16:53:50.754911"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.755760"], ["updated_at", "2025-01-14 16:53:50.755760"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.756564"], ["updated_at", "2025-01-14 16:53:50.756564"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.757333"], ["updated_at", "2025-01-14 16:53:50.757333"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 12"], ["created_at", "2025-01-14 16:53:50.759150"], ["updated_at", "2025-01-14 16:53:50.759150"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.760301"], ["updated_at", "2025-01-14 16:53:50.760301"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.761247"], ["updated_at", "2025-01-14 16:53:50.761247"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.762009"], ["updated_at", "2025-01-14 16:53:50.762009"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.762679"], ["updated_at", "2025-01-14 16:53:50.762679"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.763658"], ["updated_at", "2025-01-14 16:53:50.763658"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.764651"], ["updated_at", "2025-01-14 16:53:50.764651"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.765543"], ["updated_at", "2025-01-14 16:53:50.765543"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.766218"], ["updated_at", "2025-01-14 16:53:50.766218"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["status", "pending"]]
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["status", "completed"]]
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"], ["status", "pending"]]
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"], ["status", "completed"]]
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ? ORDER BY "has_states_states"."created_at" DESC[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["status", "pending"]]
+ [1m[36mHasStates::Base Load (0.0ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ? ORDER BY "has_states_states"."created_at" DESC[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["status", "completed"]]
+ [1m[36mHasStates::Base Load (0.0ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ? ORDER BY "has_states_states"."created_at" DESC[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"], ["status", "pending"]]
+ [1m[36mHasStates::Base Load (0.0ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ? ORDER BY "has_states_states"."created_at" DESC[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"], ["status", "completed"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 13"], ["created_at", "2025-01-14 16:53:50.770012"], ["updated_at", "2025-01-14 16:53:50.770012"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:53:50.770922"], ["updated_at", "2025-01-14 16:53:50.770922"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"]]
+ [1m[36mHasStates::State Destroy (0.0ms)[0m [1m[31mDELETE FROM "has_states_states" WHERE "has_states_states"."id" = ?[0m [["id", 1]]
+ [1m[36mUser Destroy (0.0ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[35mSQL (2.0ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35mSQL (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "users"[0m
+ [1m[35m (13.8ms)[0m [1m[31mDELETE FROM "users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'has_states_states';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'companies';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 1"], ["created_at", "2025-01-14 16:54:39.236331"], ["updated_at", "2025-01-14 16:54:39.236331"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.250961"], ["updated_at", "2025-01-14 16:54:39.250961"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 2"], ["created_at", "2025-01-14 16:54:39.253624"], ["updated_at", "2025-01-14 16:54:39.253624"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{\"key\":\"value\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.254818"], ["updated_at", "2025-01-14 16:54:39.254818"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 3"], ["created_at", "2025-01-14 16:54:39.256478"], ["updated_at", "2025-01-14 16:54:39.256478"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::CustomState Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::CustomState"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.259338"], ["updated_at", "2025-01-14 16:54:39.259338"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 4"], ["created_at", "2025-01-14 16:54:39.275699"], ["updated_at", "2025-01-14 16:54:39.275699"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 5"], ["created_at", "2025-01-14 16:54:39.279303"], ["updated_at", "2025-01-14 16:54:39.279303"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.280445"], ["updated_at", "2025-01-14 16:54:39.280445"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:54:39"], ["updated_at", "2025-01-13 16:54:39"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:54:39"], ["updated_at", "2025-01-13 16:54:39"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:54:39"], ["updated_at", "2025-01-13 16:54:39"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:54:39"], ["updated_at", "2025-01-13 16:54:39"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:54:39"], ["updated_at", "2025-01-13 16:54:39"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.2ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 6"], ["created_at", "2025-01-14 16:54:39.288647"], ["updated_at", "2025-01-14 16:54:39.288647"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.4ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.291017"], ["updated_at", "2025-01-14 16:54:39.291017"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (1.0ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:54:39"], ["updated_at", "2025-01-13 16:54:39"]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:54:39"], ["updated_at", "2025-01-13 16:54:39"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:54:39"], ["updated_at", "2025-01-13 16:54:39"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:54:39"], ["updated_at", "2025-01-13 16:54:39"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:54:39"], ["updated_at", "2025-01-13 16:54:39"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "nonexistent"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 7"], ["created_at", "2025-01-14 16:54:39.304038"], ["updated_at", "2025-01-14 16:54:39.304038"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.305941"], ["updated_at", "2025-01-14 16:54:39.305941"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.307640"], ["updated_at", "2025-01-14 16:54:39.307640"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.309390"], ["updated_at", "2025-01-14 16:54:39.309390"]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.7ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.312057"], ["updated_at", "2025-01-14 16:54:39.312057"]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.5ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.315376"], ["updated_at", "2025-01-14 16:54:39.315376"]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.5ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.318211"], ["updated_at", "2025-01-14 16:54:39.318211"]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"]]
+ [1m[36mHasStates::Base Load (0.2ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.7ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 8"], ["created_at", "2025-01-14 16:54:39.324497"], ["updated_at", "2025-01-14 16:54:39.324497"]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.327424"], ["updated_at", "2025-01-14 16:54:39.327424"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.328770"], ["updated_at", "2025-01-14 16:54:39.328770"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.330223"], ["updated_at", "2025-01-14 16:54:39.330223"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.331311"], ["updated_at", "2025-01-14 16:54:39.331311"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.332126"], ["updated_at", "2025-01-14 16:54:39.332126"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.332855"], ["updated_at", "2025-01-14 16:54:39.332855"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "nonexistent"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 9"], ["created_at", "2025-01-14 16:54:39.337871"], ["updated_at", "2025-01-14 16:54:39.337871"]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.5ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.340842"], ["updated_at", "2025-01-14 16:54:39.340842"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.343385"], ["updated_at", "2025-01-14 16:54:39.343385"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.344890"], ["updated_at", "2025-01-14 16:54:39.344890"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.345894"], ["updated_at", "2025-01-14 16:54:39.345894"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.346660"], ["updated_at", "2025-01-14 16:54:39.346660"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.347366"], ["updated_at", "2025-01-14 16:54:39.347366"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.348017"], ["updated_at", "2025-01-14 16:54:39.348017"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.348802"], ["updated_at", "2025-01-14 16:54:39.348802"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 10"], ["created_at", "2025-01-14 16:54:39.350931"], ["updated_at", "2025-01-14 16:54:39.350931"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.351845"], ["updated_at", "2025-01-14 16:54:39.351845"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.352562"], ["updated_at", "2025-01-14 16:54:39.352562"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.353202"], ["updated_at", "2025-01-14 16:54:39.353202"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.353854"], ["updated_at", "2025-01-14 16:54:39.353854"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.354473"], ["updated_at", "2025-01-14 16:54:39.354473"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.355125"], ["updated_at", "2025-01-14 16:54:39.355125"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.355816"], ["updated_at", "2025-01-14 16:54:39.355816"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.356521"], ["updated_at", "2025-01-14 16:54:39.356521"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["status", "pending"], ["LIMIT", 1]]
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 11"], ["created_at", "2025-01-14 16:54:39.367286"], ["updated_at", "2025-01-14 16:54:39.367286"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.368450"], ["updated_at", "2025-01-14 16:54:39.368450"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.369302"], ["updated_at", "2025-01-14 16:54:39.369302"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.369999"], ["updated_at", "2025-01-14 16:54:39.369999"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.370640"], ["updated_at", "2025-01-14 16:54:39.370640"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.371292"], ["updated_at", "2025-01-14 16:54:39.371292"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.371939"], ["updated_at", "2025-01-14 16:54:39.371939"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.372617"], ["updated_at", "2025-01-14 16:54:39.372617"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.373379"], ["updated_at", "2025-01-14 16:54:39.373379"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 12"], ["created_at", "2025-01-14 16:54:39.374855"], ["updated_at", "2025-01-14 16:54:39.374855"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.375729"], ["updated_at", "2025-01-14 16:54:39.375729"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.376410"], ["updated_at", "2025-01-14 16:54:39.376410"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.377041"], ["updated_at", "2025-01-14 16:54:39.377041"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.377725"], ["updated_at", "2025-01-14 16:54:39.377725"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.378576"], ["updated_at", "2025-01-14 16:54:39.378576"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.379277"], ["updated_at", "2025-01-14 16:54:39.379277"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.379929"], ["updated_at", "2025-01-14 16:54:39.379929"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.380669"], ["updated_at", "2025-01-14 16:54:39.380669"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["status", "pending"]]
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["status", "completed"]]
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"], ["status", "pending"]]
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"], ["status", "completed"]]
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ? ORDER BY "has_states_states"."created_at" DESC[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["status", "pending"]]
+ [1m[36mHasStates::Base Load (0.0ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ? ORDER BY "has_states_states"."created_at" DESC[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["status", "completed"]]
+ [1m[36mHasStates::Base Load (0.0ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ? ORDER BY "has_states_states"."created_at" DESC[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"], ["status", "pending"]]
+ [1m[36mHasStates::Base Load (0.0ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ? ORDER BY "has_states_states"."created_at" DESC[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"], ["status", "completed"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 13"], ["created_at", "2025-01-14 16:54:39.392371"], ["updated_at", "2025-01-14 16:54:39.392371"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:54:39.393761"], ["updated_at", "2025-01-14 16:54:39.393761"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"]]
+ [1m[36mHasStates::State Destroy (0.0ms)[0m [1m[31mDELETE FROM "has_states_states" WHERE "has_states_states"."id" = ?[0m [["id", 1]]
+ [1m[36mUser Destroy (0.0ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[35mSQL (2.0ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35mSQL (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "users"[0m
+ [1m[35m (14.3ms)[0m [1m[31mDELETE FROM "users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "has_states_states"[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'has_states_states';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'companies';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 1"], ["created_at", "2025-01-14 16:55:51.065572"], ["updated_at", "2025-01-14 16:55:51.065572"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.080667"], ["updated_at", "2025-01-14 16:55:51.080667"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 2"], ["created_at", "2025-01-14 16:55:51.083427"], ["updated_at", "2025-01-14 16:55:51.083427"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{\"key\":\"value\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.084651"], ["updated_at", "2025-01-14 16:55:51.084651"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 3"], ["created_at", "2025-01-14 16:55:51.086444"], ["updated_at", "2025-01-14 16:55:51.086444"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::CustomState Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::CustomState"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.089144"], ["updated_at", "2025-01-14 16:55:51.089144"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 4"], ["created_at", "2025-01-14 16:55:51.104014"], ["updated_at", "2025-01-14 16:55:51.104014"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 5"], ["created_at", "2025-01-14 16:55:51.107278"], ["updated_at", "2025-01-14 16:55:51.107278"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.108635"], ["updated_at", "2025-01-14 16:55:51.108635"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:55:51"], ["updated_at", "2025-01-13 16:55:51"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:55:51"], ["updated_at", "2025-01-13 16:55:51"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:55:51"], ["updated_at", "2025-01-13 16:55:51"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:55:51"], ["updated_at", "2025-01-13 16:55:51"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:55:51"], ["updated_at", "2025-01-13 16:55:51"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 6"], ["created_at", "2025-01-14 16:55:51.115585"], ["updated_at", "2025-01-14 16:55:51.115585"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.116480"], ["updated_at", "2025-01-14 16:55:51.116480"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:55:51"], ["updated_at", "2025-01-13 16:55:51"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:55:51"], ["updated_at", "2025-01-13 16:55:51"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:55:51"], ["updated_at", "2025-01-13 16:55:51"]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:55:51"], ["updated_at", "2025-01-13 16:55:51"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:55:51"], ["updated_at", "2025-01-13 16:55:51"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "nonexistent"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 7"], ["created_at", "2025-01-14 16:55:51.122255"], ["updated_at", "2025-01-14 16:55:51.122255"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.123431"], ["updated_at", "2025-01-14 16:55:51.123431"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.124226"], ["updated_at", "2025-01-14 16:55:51.124226"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.125379"], ["updated_at", "2025-01-14 16:55:51.125379"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.126191"], ["updated_at", "2025-01-14 16:55:51.126191"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.126978"], ["updated_at", "2025-01-14 16:55:51.126978"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.127775"], ["updated_at", "2025-01-14 16:55:51.127775"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"]]
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 8"], ["created_at", "2025-01-14 16:55:51.130122"], ["updated_at", "2025-01-14 16:55:51.130122"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.131012"], ["updated_at", "2025-01-14 16:55:51.131012"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.131705"], ["updated_at", "2025-01-14 16:55:51.131705"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.132349"], ["updated_at", "2025-01-14 16:55:51.132349"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.132995"], ["updated_at", "2025-01-14 16:55:51.132995"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.133789"], ["updated_at", "2025-01-14 16:55:51.133789"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.134435"], ["updated_at", "2025-01-14 16:55:51.134435"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "nonexistent"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 9"], ["created_at", "2025-01-14 16:55:51.136521"], ["updated_at", "2025-01-14 16:55:51.136521"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.137442"], ["updated_at", "2025-01-14 16:55:51.137442"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.138375"], ["updated_at", "2025-01-14 16:55:51.138375"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.139038"], ["updated_at", "2025-01-14 16:55:51.139038"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.139850"], ["updated_at", "2025-01-14 16:55:51.139850"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.140608"], ["updated_at", "2025-01-14 16:55:51.140608"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.141538"], ["updated_at", "2025-01-14 16:55:51.141538"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.142553"], ["updated_at", "2025-01-14 16:55:51.142553"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.143385"], ["updated_at", "2025-01-14 16:55:51.143385"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 10"], ["created_at", "2025-01-14 16:55:51.145586"], ["updated_at", "2025-01-14 16:55:51.145586"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.146563"], ["updated_at", "2025-01-14 16:55:51.146563"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.147308"], ["updated_at", "2025-01-14 16:55:51.147308"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.147977"], ["updated_at", "2025-01-14 16:55:51.147977"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.148611"], ["updated_at", "2025-01-14 16:55:51.148611"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.149266"], ["updated_at", "2025-01-14 16:55:51.149266"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.149913"], ["updated_at", "2025-01-14 16:55:51.149913"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.150552"], ["updated_at", "2025-01-14 16:55:51.150552"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.151187"], ["updated_at", "2025-01-14 16:55:51.151187"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["status", "pending"], ["LIMIT", 1]]
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ? LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["status", "pending"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 11"], ["created_at", "2025-01-14 16:55:51.161788"], ["updated_at", "2025-01-14 16:55:51.161788"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.163027"], ["updated_at", "2025-01-14 16:55:51.163027"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.163843"], ["updated_at", "2025-01-14 16:55:51.163843"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.164530"], ["updated_at", "2025-01-14 16:55:51.164530"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.165185"], ["updated_at", "2025-01-14 16:55:51.165185"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.165839"], ["updated_at", "2025-01-14 16:55:51.165839"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.166490"], ["updated_at", "2025-01-14 16:55:51.166490"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.167150"], ["updated_at", "2025-01-14 16:55:51.167150"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.167839"], ["updated_at", "2025-01-14 16:55:51.167839"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 12"], ["created_at", "2025-01-14 16:55:51.169234"], ["updated_at", "2025-01-14 16:55:51.169234"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.170228"], ["updated_at", "2025-01-14 16:55:51.170228"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.170950"], ["updated_at", "2025-01-14 16:55:51.170950"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.171608"], ["updated_at", "2025-01-14 16:55:51.171608"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.172340"], ["updated_at", "2025-01-14 16:55:51.172340"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.173040"], ["updated_at", "2025-01-14 16:55:51.173040"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.173687"], ["updated_at", "2025-01-14 16:55:51.173687"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.174334"], ["updated_at", "2025-01-14 16:55:51.174334"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.175113"], ["updated_at", "2025-01-14 16:55:51.175113"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["status", "pending"]]
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["status", "completed"]]
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"], ["status", "pending"]]
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"], ["status", "completed"]]
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ? ORDER BY "has_states_states"."created_at" DESC[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["status", "pending"]]
+ [1m[36mHasStates::Base Load (0.0ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ? ORDER BY "has_states_states"."created_at" DESC[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["status", "completed"]]
+ [1m[36mHasStates::Base Load (0.0ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ? ORDER BY "has_states_states"."created_at" DESC[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"], ["status", "pending"]]
+ [1m[36mHasStates::Base Load (0.0ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ? ORDER BY "has_states_states"."created_at" DESC[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"], ["status", "completed"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 13"], ["created_at", "2025-01-14 16:55:51.187883"], ["updated_at", "2025-01-14 16:55:51.187883"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:55:51.189313"], ["updated_at", "2025-01-14 16:55:51.189313"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.6ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"]]
+ [1m[36mHasStates::State Destroy (0.0ms)[0m [1m[31mDELETE FROM "has_states_states" WHERE "has_states_states"."id" = ?[0m [["id", 1]]
+ [1m[36mUser Destroy (0.0ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[35mSQL (2.2ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35mSQL (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "users"[0m
+ [1m[35m (14.4ms)[0m [1m[31mDELETE FROM "users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'has_states_states';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'companies';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.3ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 1"], ["created_at", "2025-01-14 16:57:05.134487"], ["updated_at", "2025-01-14 16:57:05.134487"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.4ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.158767"], ["updated_at", "2025-01-14 16:57:05.158767"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 2"], ["created_at", "2025-01-14 16:57:05.164520"], ["updated_at", "2025-01-14 16:57:05.164520"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.4ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{\"key\":\"value\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.167066"], ["updated_at", "2025-01-14 16:57:05.167066"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 3"], ["created_at", "2025-01-14 16:57:05.171013"], ["updated_at", "2025-01-14 16:57:05.171013"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::CustomState Create (0.4ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::CustomState"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.178554"], ["updated_at", "2025-01-14 16:57:05.178554"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (1.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 4"], ["created_at", "2025-01-14 16:57:05.188582"], ["updated_at", "2025-01-14 16:57:05.188582"]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (1.0ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 5"], ["created_at", "2025-01-14 16:57:05.199134"], ["updated_at", "2025-01-14 16:57:05.199134"]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.202828"], ["updated_at", "2025-01-14 16:57:05.202828"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:57:05"], ["updated_at", "2025-01-13 16:57:05"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:57:05"], ["updated_at", "2025-01-13 16:57:05"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.4ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:57:05"], ["updated_at", "2025-01-13 16:57:05"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:57:05"], ["updated_at", "2025-01-13 16:57:05"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:57:05"], ["updated_at", "2025-01-13 16:57:05"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.2ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 6"], ["created_at", "2025-01-14 16:57:05.215920"], ["updated_at", "2025-01-14 16:57:05.215920"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.216962"], ["updated_at", "2025-01-14 16:57:05.216962"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:57:05"], ["updated_at", "2025-01-13 16:57:05"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:57:05"], ["updated_at", "2025-01-13 16:57:05"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:57:05"], ["updated_at", "2025-01-13 16:57:05"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:57:05"], ["updated_at", "2025-01-13 16:57:05"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:57:05"], ["updated_at", "2025-01-13 16:57:05"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "nonexistent"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 7"], ["created_at", "2025-01-14 16:57:05.222293"], ["updated_at", "2025-01-14 16:57:05.222293"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.223645"], ["updated_at", "2025-01-14 16:57:05.223645"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.224721"], ["updated_at", "2025-01-14 16:57:05.224721"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.225600"], ["updated_at", "2025-01-14 16:57:05.225600"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.226325"], ["updated_at", "2025-01-14 16:57:05.226325"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.227055"], ["updated_at", "2025-01-14 16:57:05.227055"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.227848"], ["updated_at", "2025-01-14 16:57:05.227848"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"]]
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 8"], ["created_at", "2025-01-14 16:57:05.230137"], ["updated_at", "2025-01-14 16:57:05.230137"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.231010"], ["updated_at", "2025-01-14 16:57:05.231010"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.231721"], ["updated_at", "2025-01-14 16:57:05.231721"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.232366"], ["updated_at", "2025-01-14 16:57:05.232366"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.232986"], ["updated_at", "2025-01-14 16:57:05.232986"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.233608"], ["updated_at", "2025-01-14 16:57:05.233608"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.234239"], ["updated_at", "2025-01-14 16:57:05.234239"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "nonexistent"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 9"], ["created_at", "2025-01-14 16:57:05.236246"], ["updated_at", "2025-01-14 16:57:05.236246"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.237147"], ["updated_at", "2025-01-14 16:57:05.237147"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.237894"], ["updated_at", "2025-01-14 16:57:05.237894"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.238668"], ["updated_at", "2025-01-14 16:57:05.238668"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.239474"], ["updated_at", "2025-01-14 16:57:05.239474"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.240278"], ["updated_at", "2025-01-14 16:57:05.240278"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.240973"], ["updated_at", "2025-01-14 16:57:05.240973"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.241713"], ["updated_at", "2025-01-14 16:57:05.241713"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.242538"], ["updated_at", "2025-01-14 16:57:05.242538"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 10"], ["created_at", "2025-01-14 16:57:05.244875"], ["updated_at", "2025-01-14 16:57:05.244875"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.246040"], ["updated_at", "2025-01-14 16:57:05.246040"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.246973"], ["updated_at", "2025-01-14 16:57:05.246973"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.247664"], ["updated_at", "2025-01-14 16:57:05.247664"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.248318"], ["updated_at", "2025-01-14 16:57:05.248318"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.248957"], ["updated_at", "2025-01-14 16:57:05.248957"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.249641"], ["updated_at", "2025-01-14 16:57:05.249641"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.250268"], ["updated_at", "2025-01-14 16:57:05.250268"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.250894"], ["updated_at", "2025-01-14 16:57:05.250894"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["status", "pending"], ["LIMIT", 1]]
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ? ORDER BY "has_states_states"."id" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["status", "pending"], ["LIMIT", 1]]
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["status", "completed"], ["LIMIT", 1]]
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ? LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["status", "completed"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 11"], ["created_at", "2025-01-14 16:57:05.272599"], ["updated_at", "2025-01-14 16:57:05.272599"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.273978"], ["updated_at", "2025-01-14 16:57:05.273978"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.275313"], ["updated_at", "2025-01-14 16:57:05.275313"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.276261"], ["updated_at", "2025-01-14 16:57:05.276261"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.276997"], ["updated_at", "2025-01-14 16:57:05.276997"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.277656"], ["updated_at", "2025-01-14 16:57:05.277656"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.278307"], ["updated_at", "2025-01-14 16:57:05.278307"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.278963"], ["updated_at", "2025-01-14 16:57:05.278963"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.279611"], ["updated_at", "2025-01-14 16:57:05.279611"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 12"], ["created_at", "2025-01-14 16:57:05.281183"], ["updated_at", "2025-01-14 16:57:05.281183"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.281987"], ["updated_at", "2025-01-14 16:57:05.281987"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.282650"], ["updated_at", "2025-01-14 16:57:05.282650"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.283273"], ["updated_at", "2025-01-14 16:57:05.283273"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.284147"], ["updated_at", "2025-01-14 16:57:05.284147"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.284818"], ["updated_at", "2025-01-14 16:57:05.284818"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.285521"], ["updated_at", "2025-01-14 16:57:05.285521"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.286156"], ["updated_at", "2025-01-14 16:57:05.286156"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.286778"], ["updated_at", "2025-01-14 16:57:05.286778"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["status", "pending"]]
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["status", "completed"]]
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"], ["status", "pending"]]
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"], ["status", "completed"]]
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ? ORDER BY "has_states_states"."created_at" DESC[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["status", "pending"]]
+ [1m[36mHasStates::Base Load (0.0ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ? ORDER BY "has_states_states"."created_at" DESC[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["status", "completed"]]
+ [1m[36mHasStates::Base Load (0.0ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ? ORDER BY "has_states_states"."created_at" DESC[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"], ["status", "pending"]]
+ [1m[36mHasStates::Base Load (0.0ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ? ORDER BY "has_states_states"."created_at" DESC[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"], ["status", "completed"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 13"], ["created_at", "2025-01-14 16:57:05.290419"], ["updated_at", "2025-01-14 16:57:05.290419"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:05.291489"], ["updated_at", "2025-01-14 16:57:05.291489"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"]]
+ [1m[36mHasStates::State Destroy (0.0ms)[0m [1m[31mDELETE FROM "has_states_states" WHERE "has_states_states"."id" = ?[0m [["id", 1]]
+ [1m[36mUser Destroy (0.0ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[35mSQL (2.2ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35mSQL (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "users"[0m
+ [1m[35m (14.6ms)[0m [1m[31mDELETE FROM "users"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'has_states_states';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'companies';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 1"], ["created_at", "2025-01-14 16:57:31.351413"], ["updated_at", "2025-01-14 16:57:31.351413"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.381916"], ["updated_at", "2025-01-14 16:57:31.381916"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 2"], ["created_at", "2025-01-14 16:57:31.384755"], ["updated_at", "2025-01-14 16:57:31.384755"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{\"key\":\"value\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.385856"], ["updated_at", "2025-01-14 16:57:31.385856"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 3"], ["created_at", "2025-01-14 16:57:31.387738"], ["updated_at", "2025-01-14 16:57:31.387738"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::CustomState Create (0.4ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::CustomState"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.392025"], ["updated_at", "2025-01-14 16:57:31.392025"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 4"], ["created_at", "2025-01-14 16:57:31.401883"], ["updated_at", "2025-01-14 16:57:31.401883"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 5"], ["created_at", "2025-01-14 16:57:31.406659"], ["updated_at", "2025-01-14 16:57:31.406659"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.4ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.409324"], ["updated_at", "2025-01-14 16:57:31.409324"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.4ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:57:31"], ["updated_at", "2025-01-13 16:57:31"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.4ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:57:31"], ["updated_at", "2025-01-13 16:57:31"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:57:31"], ["updated_at", "2025-01-13 16:57:31"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:57:31"], ["updated_at", "2025-01-13 16:57:31"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:57:31"], ["updated_at", "2025-01-13 16:57:31"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.2ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 6"], ["created_at", "2025-01-14 16:57:31.423045"], ["updated_at", "2025-01-14 16:57:31.423045"]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.425043"], ["updated_at", "2025-01-14 16:57:31.425043"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.4ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:57:31"], ["updated_at", "2025-01-13 16:57:31"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:57:31"], ["updated_at", "2025-01-13 16:57:31"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:57:31"], ["updated_at", "2025-01-13 16:57:31"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:57:31"], ["updated_at", "2025-01-13 16:57:31"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 16:57:31"], ["updated_at", "2025-01-13 16:57:31"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "nonexistent"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 7"], ["created_at", "2025-01-14 16:57:31.436251"], ["updated_at", "2025-01-14 16:57:31.436251"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.437469"], ["updated_at", "2025-01-14 16:57:31.437469"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.439034"], ["updated_at", "2025-01-14 16:57:31.439034"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.440315"], ["updated_at", "2025-01-14 16:57:31.440315"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.441446"], ["updated_at", "2025-01-14 16:57:31.441446"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.442471"], ["updated_at", "2025-01-14 16:57:31.442471"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.443455"], ["updated_at", "2025-01-14 16:57:31.443455"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"]]
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 8"], ["created_at", "2025-01-14 16:57:31.446091"], ["updated_at", "2025-01-14 16:57:31.446091"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.447269"], ["updated_at", "2025-01-14 16:57:31.447269"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.448250"], ["updated_at", "2025-01-14 16:57:31.448250"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.449162"], ["updated_at", "2025-01-14 16:57:31.449162"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.450198"], ["updated_at", "2025-01-14 16:57:31.450198"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.451005"], ["updated_at", "2025-01-14 16:57:31.451005"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.451699"], ["updated_at", "2025-01-14 16:57:31.451699"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "nonexistent"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 9"], ["created_at", "2025-01-14 16:57:31.453769"], ["updated_at", "2025-01-14 16:57:31.453769"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.454696"], ["updated_at", "2025-01-14 16:57:31.454696"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.455488"], ["updated_at", "2025-01-14 16:57:31.455488"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.456257"], ["updated_at", "2025-01-14 16:57:31.456257"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.456955"], ["updated_at", "2025-01-14 16:57:31.456955"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.457688"], ["updated_at", "2025-01-14 16:57:31.457688"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.458477"], ["updated_at", "2025-01-14 16:57:31.458477"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.459230"], ["updated_at", "2025-01-14 16:57:31.459230"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.459932"], ["updated_at", "2025-01-14 16:57:31.459932"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 10"], ["created_at", "2025-01-14 16:57:31.461970"], ["updated_at", "2025-01-14 16:57:31.461970"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.462967"], ["updated_at", "2025-01-14 16:57:31.462967"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.463899"], ["updated_at", "2025-01-14 16:57:31.463899"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.464630"], ["updated_at", "2025-01-14 16:57:31.464630"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.465375"], ["updated_at", "2025-01-14 16:57:31.465375"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.466028"], ["updated_at", "2025-01-14 16:57:31.466028"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.466770"], ["updated_at", "2025-01-14 16:57:31.466770"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.467420"], ["updated_at", "2025-01-14 16:57:31.467420"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.468052"], ["updated_at", "2025-01-14 16:57:31.468052"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["status", "pending"], ["LIMIT", 1]]
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ? ORDER BY "has_states_states"."id" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["status", "pending"], ["LIMIT", 1]]
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["status", "completed"], ["LIMIT", 1]]
+ [1m[36mHasStates::Base Load (0.0ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ? ORDER BY "has_states_states"."id" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["status", "completed"], ["LIMIT", 1]]
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"], ["status", "pending"], ["LIMIT", 1]]
+ [1m[36mHasStates::Base Load (0.0ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ? ORDER BY "has_states_states"."id" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"], ["status", "pending"], ["LIMIT", 1]]
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"], ["status", "completed"], ["LIMIT", 1]]
+ [1m[36mHasStates::Base Load (0.2ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ? ORDER BY "has_states_states"."id" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"], ["status", "completed"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 11"], ["created_at", "2025-01-14 16:57:31.481137"], ["updated_at", "2025-01-14 16:57:31.481137"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.482394"], ["updated_at", "2025-01-14 16:57:31.482394"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.483342"], ["updated_at", "2025-01-14 16:57:31.483342"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.484595"], ["updated_at", "2025-01-14 16:57:31.484595"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.485433"], ["updated_at", "2025-01-14 16:57:31.485433"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.486106"], ["updated_at", "2025-01-14 16:57:31.486106"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.486797"], ["updated_at", "2025-01-14 16:57:31.486797"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.487571"], ["updated_at", "2025-01-14 16:57:31.487571"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.5ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.488380"], ["updated_at", "2025-01-14 16:57:31.488380"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 12"], ["created_at", "2025-01-14 16:57:31.490186"], ["updated_at", "2025-01-14 16:57:31.490186"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.491164"], ["updated_at", "2025-01-14 16:57:31.491164"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.491909"], ["updated_at", "2025-01-14 16:57:31.491909"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.492588"], ["updated_at", "2025-01-14 16:57:31.492588"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.493596"], ["updated_at", "2025-01-14 16:57:31.493596"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.494398"], ["updated_at", "2025-01-14 16:57:31.494398"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.495105"], ["updated_at", "2025-01-14 16:57:31.495105"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.495792"], ["updated_at", "2025-01-14 16:57:31.495792"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.496488"], ["updated_at", "2025-01-14 16:57:31.496488"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["status", "pending"]]
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["status", "completed"]]
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"], ["status", "pending"]]
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"], ["status", "completed"]]
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ? ORDER BY "has_states_states"."created_at" DESC[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["status", "pending"]]
+ [1m[36mHasStates::Base Load (0.0ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ? ORDER BY "has_states_states"."created_at" DESC[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["status", "completed"]]
+ [1m[36mHasStates::Base Load (0.0ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ? ORDER BY "has_states_states"."created_at" DESC[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"], ["status", "pending"]]
+ [1m[36mHasStates::Base Load (0.0ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? AND "has_states_states"."status" = ? ORDER BY "has_states_states"."created_at" DESC[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"], ["status", "completed"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 13"], ["created_at", "2025-01-14 16:57:31.500373"], ["updated_at", "2025-01-14 16:57:31.500373"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 16:57:31.501413"], ["updated_at", "2025-01-14 16:57:31.501413"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"]]
+ [1m[36mHasStates::State Destroy (0.0ms)[0m [1m[31mDELETE FROM "has_states_states" WHERE "has_states_states"."id" = ?[0m [["id", 1]]
+ [1m[36mUser Destroy (0.0ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[35mSQL (1.9ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35mSQL (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "users"[0m
+ [1m[35m (14.5ms)[0m [1m[31mDELETE FROM "users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'has_states_states';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'companies';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35mSQL (2.0ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35mSQL (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "users"[0m
+ [1m[35m (14.6ms)[0m [1m[31mDELETE FROM "users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'has_states_states';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'companies';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 1"], ["created_at", "2025-01-14 17:08:50.798269"], ["updated_at", "2025-01-14 17:08:50.798269"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:08:50.812618"], ["updated_at", "2025-01-14 17:08:50.812618"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 2"], ["created_at", "2025-01-14 17:08:50.815450"], ["updated_at", "2025-01-14 17:08:50.815450"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{\"key\":\"value\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:08:50.816874"], ["updated_at", "2025-01-14 17:08:50.816874"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 3"], ["created_at", "2025-01-14 17:08:50.818944"], ["updated_at", "2025-01-14 17:08:50.818944"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::CustomState Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::CustomState"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:08:50.821831"], ["updated_at", "2025-01-14 17:08:50.821831"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 4"], ["created_at", "2025-01-14 17:08:50.836299"], ["updated_at", "2025-01-14 17:08:50.836299"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 5"], ["created_at", "2025-01-14 17:08:50.839632"], ["updated_at", "2025-01-14 17:08:50.839632"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:08:50.840803"], ["updated_at", "2025-01-14 17:08:50.840803"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 17:08:50"], ["updated_at", "2025-01-13 17:08:50"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 17:08:50"], ["updated_at", "2025-01-13 17:08:50"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 17:08:50"], ["updated_at", "2025-01-13 17:08:50"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 17:08:50"], ["updated_at", "2025-01-13 17:08:50"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 17:08:50"], ["updated_at", "2025-01-13 17:08:50"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 6"], ["created_at", "2025-01-14 17:08:50.847375"], ["updated_at", "2025-01-14 17:08:50.847375"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:08:50.848432"], ["updated_at", "2025-01-14 17:08:50.848432"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 17:08:50"], ["updated_at", "2025-01-13 17:08:50"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 17:08:50"], ["updated_at", "2025-01-13 17:08:50"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 17:08:50"], ["updated_at", "2025-01-13 17:08:50"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 17:08:50"], ["updated_at", "2025-01-13 17:08:50"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 17:08:50"], ["updated_at", "2025-01-13 17:08:50"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "nonexistent"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 7"], ["created_at", "2025-01-14 17:08:50.854693"], ["updated_at", "2025-01-14 17:08:50.854693"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:08:50.856332"], ["updated_at", "2025-01-14 17:08:50.856332"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:08:50.857159"], ["updated_at", "2025-01-14 17:08:50.857159"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:08:50.857863"], ["updated_at", "2025-01-14 17:08:50.857863"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:08:50.858543"], ["updated_at", "2025-01-14 17:08:50.858543"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:08:50.859185"], ["updated_at", "2025-01-14 17:08:50.859185"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:08:50.859817"], ["updated_at", "2025-01-14 17:08:50.859817"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"]]
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 8"], ["created_at", "2025-01-14 17:08:50.862154"], ["updated_at", "2025-01-14 17:08:50.862154"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:08:50.863161"], ["updated_at", "2025-01-14 17:08:50.863161"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:08:50.863950"], ["updated_at", "2025-01-14 17:08:50.863950"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:08:50.864861"], ["updated_at", "2025-01-14 17:08:50.864861"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:08:50.865559"], ["updated_at", "2025-01-14 17:08:50.865559"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:08:50.866260"], ["updated_at", "2025-01-14 17:08:50.866260"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:08:50.866986"], ["updated_at", "2025-01-14 17:08:50.866986"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "nonexistent"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 9"], ["created_at", "2025-01-14 17:08:50.869209"], ["updated_at", "2025-01-14 17:08:50.869209"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:08:50.870533"], ["updated_at", "2025-01-14 17:08:50.870533"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:08:50.871362"], ["updated_at", "2025-01-14 17:08:50.871362"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:08:50.872034"], ["updated_at", "2025-01-14 17:08:50.872034"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:08:50.872714"], ["updated_at", "2025-01-14 17:08:50.872714"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 10"], ["created_at", "2025-01-14 17:08:50.874743"], ["updated_at", "2025-01-14 17:08:50.874743"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:08:50.875911"], ["updated_at", "2025-01-14 17:08:50.875911"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:08:50.876620"], ["updated_at", "2025-01-14 17:08:50.876620"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:08:50.877289"], ["updated_at", "2025-01-14 17:08:50.877289"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:08:50.877926"], ["updated_at", "2025-01-14 17:08:50.877926"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["LIMIT", 1]]
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["LIMIT", 1]]
+ [1m[36mHasStates::Base Load (0.0ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"], ["LIMIT", 1]]
+ [1m[36mHasStates::Base Load (0.0ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 11"], ["created_at", "2025-01-14 17:08:50.880673"], ["updated_at", "2025-01-14 17:08:50.880673"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:08:50.881642"], ["updated_at", "2025-01-14 17:08:50.881642"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:08:50.882384"], ["updated_at", "2025-01-14 17:08:50.882384"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:08:50.883135"], ["updated_at", "2025-01-14 17:08:50.883135"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:08:50.883803"], ["updated_at", "2025-01-14 17:08:50.883803"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 12"], ["created_at", "2025-01-14 17:08:50.885065"], ["updated_at", "2025-01-14 17:08:50.885065"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:08:50.886003"], ["updated_at", "2025-01-14 17:08:50.886003"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:08:50.886851"], ["updated_at", "2025-01-14 17:08:50.886851"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:08:50.887542"], ["updated_at", "2025-01-14 17:08:50.887542"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:08:50.888202"], ["updated_at", "2025-01-14 17:08:50.888202"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"]]
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"]]
+ [1m[36mHasStates::Base Load (0.0ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"]]
+ [1m[36mHasStates::Base Load (0.0ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 13"], ["created_at", "2025-01-14 17:08:50.890630"], ["updated_at", "2025-01-14 17:08:50.890630"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:08:50.891442"], ["updated_at", "2025-01-14 17:08:50.891442"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"]]
+ [1m[36mHasStates::State Destroy (0.0ms)[0m [1m[31mDELETE FROM "has_states_states" WHERE "has_states_states"."id" = ?[0m [["id", 1]]
+ [1m[36mUser Destroy (0.0ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[35mSQL (1.9ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35mSQL (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "users"[0m
+ [1m[35m (5.6ms)[0m [1m[31mDELETE FROM "users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'has_states_states';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'companies';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 1"], ["created_at", "2025-01-14 17:09:25.178280"], ["updated_at", "2025-01-14 17:09:25.178280"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.182142"], ["updated_at", "2025-01-14 17:09:25.182142"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 2"], ["created_at", "2025-01-14 17:09:25.188053"], ["updated_at", "2025-01-14 17:09:25.188053"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.189097"], ["updated_at", "2025-01-14 17:09:25.189097"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 9"], ["created_at", "2025-01-14 17:09:25.198068"], ["updated_at", "2025-01-14 17:09:25.198068"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.199087"], ["updated_at", "2025-01-14 17:09:25.199087"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."type" = ? AND "has_states_states"."state_type" = ?[0m [["type", "HasStates::State"], ["state_type", "kyc"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 10"], ["created_at", "2025-01-14 17:09:25.201288"], ["updated_at", "2025-01-14 17:09:25.201288"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.202018"], ["updated_at", "2025-01-14 17:09:25.202018"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 11"], ["created_at", "2025-01-14 17:09:25.204239"], ["updated_at", "2025-01-14 17:09:25.204239"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.205094"], ["updated_at", "2025-01-14 17:09:25.205094"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 12"], ["created_at", "2025-01-14 17:09:25.206553"], ["updated_at", "2025-01-14 17:09:25.206553"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.207185"], ["updated_at", "2025-01-14 17:09:25.207185"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 13"], ["created_at", "2025-01-14 17:09:25.208435"], ["updated_at", "2025-01-14 17:09:25.208435"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{\"reason\":\"documents_missing\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.213080"], ["updated_at", "2025-01-14 17:09:25.213080"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 14"], ["created_at", "2025-01-14 17:09:25.214901"], ["updated_at", "2025-01-14 17:09:25.214901"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{\"documents\":{\"passport\":{\"status\":\"rejected\",\"reason\":\"expired\"},\"utility_bill\":{\"status\":\"pending\"}}}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.215928"], ["updated_at", "2025-01-14 17:09:25.215928"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 15"], ["created_at", "2025-01-14 17:09:25.217182"], ["updated_at", "2025-01-14 17:09:25.217182"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{\"missing_documents\":[\"passport\",\"utility_bill\"],\"review_history\":[{\"date\":\"2024-01-01\",\"status\":\"rejected\"},{\"date\":\"2024-01-02\",\"status\":\"approved\"}]}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.218129"], ["updated_at", "2025-01-14 17:09:25.218129"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 16"], ["created_at", "2025-01-14 17:09:25.219741"], ["updated_at", "2025-01-14 17:09:25.219741"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{\"string_value\":\"test\",\"integer_value\":42,\"float_value\":42.5,\"boolean_value\":true,\"null_value\":null,\"date_value\":\"2024-01-01\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.220921"], ["updated_at", "2025-01-14 17:09:25.220921"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 17"], ["created_at", "2025-01-14 17:09:25.222474"], ["updated_at", "2025-01-14 17:09:25.222474"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.223567"], ["updated_at", "2025-01-14 17:09:25.223567"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 18"], ["created_at", "2025-01-14 17:09:25.224855"], ["updated_at", "2025-01-14 17:09:25.224855"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{\"key\":\"value\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.225727"], ["updated_at", "2025-01-14 17:09:25.225727"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."type" = ? AND "has_states_states"."id" = ? LIMIT ?[0m [["type", "HasStates::State"], ["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 19"], ["created_at", "2025-01-14 17:09:25.237088"], ["updated_at", "2025-01-14 17:09:25.237088"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.238501"], ["updated_at", "2025-01-14 17:09:25.238501"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 17:09:25.239368"], ["id", 1]]
+ [1m[36mUser Update (0.0ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Onboarded User"], ["updated_at", "2025-01-14 17:09:25.240016"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 20"], ["created_at", "2025-01-14 17:09:25.242356"], ["updated_at", "2025-01-14 17:09:25.242356"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.243252"], ["updated_at", "2025-01-14 17:09:25.243252"]]
+ [1m[36mUser Update (0.0ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Onboarded User"], ["updated_at", "2025-01-14 17:09:25.244041"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Original Name"], ["updated_at", "2025-01-14 17:09:25.244519"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.5ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "pending"], ["updated_at", "2025-01-14 17:09:25.244984"], ["id", 1]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 21"], ["created_at", "2025-01-14 17:09:25.247292"], ["updated_at", "2025-01-14 17:09:25.247292"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.248342"], ["updated_at", "2025-01-14 17:09:25.248342"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 17:09:25.249019"], ["id", 1]]
+ [1m[36mUser Update (0.0ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Execution 1"], ["updated_at", "2025-01-14 17:09:25.249467"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.250766"], ["updated_at", "2025-01-14 17:09:25.250766"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 17:09:25.251492"], ["id", 2]]
+ [1m[36mUser Update (0.0ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Execution 2"], ["updated_at", "2025-01-14 17:09:25.251992"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Final Name"], ["updated_at", "2025-01-14 17:09:25.252812"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.253541"], ["updated_at", "2025-01-14 17:09:25.253541"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 17:09:25.254123"], ["id", 3]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 22"], ["created_at", "2025-01-14 17:09:25.255923"], ["updated_at", "2025-01-14 17:09:25.255923"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.256773"], ["updated_at", "2025-01-14 17:09:25.256773"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 17:09:25.257333"], ["id", 1]]
+ [1m[36mUser Update (0.0ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Execution 1"], ["updated_at", "2025-01-14 17:09:25.257733"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.258646"], ["updated_at", "2025-01-14 17:09:25.258646"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 17:09:25.259195"], ["id", 2]]
+ [1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Execution 2"], ["updated_at", "2025-01-14 17:09:25.259836"], ["id", 1]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.261293"], ["updated_at", "2025-01-14 17:09:25.261293"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 17:09:25.262066"], ["id", 3]]
+ [1m[36mUser Update (0.0ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Execution 3"], ["updated_at", "2025-01-14 17:09:25.262594"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 23"], ["created_at", "2025-01-14 17:09:25.264204"], ["updated_at", "2025-01-14 17:09:25.264204"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.265209"], ["updated_at", "2025-01-14 17:09:25.265209"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 17:09:25.265999"], ["id", 1]]
+ [1m[36mUser Update (0.0ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Executed"], ["updated_at", "2025-01-14 17:09:25.266458"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 24"], ["created_at", "2025-01-14 17:09:25.267682"], ["updated_at", "2025-01-14 17:09:25.267682"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKYCState Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "KYCState"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{\"document_type\":\"passport\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.270766"], ["updated_at", "2025-01-14 17:09:25.270766"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 25"], ["created_at", "2025-01-14 17:09:25.272918"], ["updated_at", "2025-01-14 17:09:25.272918"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 26"], ["created_at", "2025-01-14 17:09:25.276781"], ["updated_at", "2025-01-14 17:09:25.276781"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.278143"], ["updated_at", "2025-01-14 17:09:25.278143"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 27"], ["created_at", "2025-01-14 17:09:25.279837"], ["updated_at", "2025-01-14 17:09:25.279837"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKYCState Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "KYCState"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{\"document_type\":\"passport\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.280913"], ["updated_at", "2025-01-14 17:09:25.280913"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 28"], ["created_at", "2025-01-14 17:09:25.283530"], ["updated_at", "2025-01-14 17:09:25.283530"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.284590"], ["updated_at", "2025-01-14 17:09:25.284590"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 29"], ["created_at", "2025-01-14 17:09:25.286219"], ["updated_at", "2025-01-14 17:09:25.286219"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{\"key\":\"value\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.287306"], ["updated_at", "2025-01-14 17:09:25.287306"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 30"], ["created_at", "2025-01-14 17:09:25.288841"], ["updated_at", "2025-01-14 17:09:25.288841"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::CustomState Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::CustomState"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.291697"], ["updated_at", "2025-01-14 17:09:25.291697"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 31"], ["created_at", "2025-01-14 17:09:25.296626"], ["updated_at", "2025-01-14 17:09:25.296626"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 32"], ["created_at", "2025-01-14 17:09:25.299244"], ["updated_at", "2025-01-14 17:09:25.299244"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.300312"], ["updated_at", "2025-01-14 17:09:25.300312"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 17:09:25"], ["updated_at", "2025-01-13 17:09:25"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 17:09:25"], ["updated_at", "2025-01-13 17:09:25"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 17:09:25"], ["updated_at", "2025-01-13 17:09:25"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 17:09:25"], ["updated_at", "2025-01-13 17:09:25"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 17:09:25"], ["updated_at", "2025-01-13 17:09:25"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 33"], ["created_at", "2025-01-14 17:09:25.305929"], ["updated_at", "2025-01-14 17:09:25.305929"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.306819"], ["updated_at", "2025-01-14 17:09:25.306819"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 17:09:25"], ["updated_at", "2025-01-13 17:09:25"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 17:09:25"], ["updated_at", "2025-01-13 17:09:25"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 17:09:25"], ["updated_at", "2025-01-13 17:09:25"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 17:09:25"], ["updated_at", "2025-01-13 17:09:25"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 17:09:25"], ["updated_at", "2025-01-13 17:09:25"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "nonexistent"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 34"], ["created_at", "2025-01-14 17:09:25.312539"], ["updated_at", "2025-01-14 17:09:25.312539"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.313535"], ["updated_at", "2025-01-14 17:09:25.313535"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.314382"], ["updated_at", "2025-01-14 17:09:25.314382"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.315112"], ["updated_at", "2025-01-14 17:09:25.315112"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.315776"], ["updated_at", "2025-01-14 17:09:25.315776"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.316423"], ["updated_at", "2025-01-14 17:09:25.316423"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.317060"], ["updated_at", "2025-01-14 17:09:25.317060"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"]]
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 35"], ["created_at", "2025-01-14 17:09:25.319275"], ["updated_at", "2025-01-14 17:09:25.319275"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.320374"], ["updated_at", "2025-01-14 17:09:25.320374"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.321152"], ["updated_at", "2025-01-14 17:09:25.321152"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.321840"], ["updated_at", "2025-01-14 17:09:25.321840"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.322485"], ["updated_at", "2025-01-14 17:09:25.322485"]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.332656"], ["updated_at", "2025-01-14 17:09:25.332656"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.333876"], ["updated_at", "2025-01-14 17:09:25.333876"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "nonexistent"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 36"], ["created_at", "2025-01-14 17:09:25.335869"], ["updated_at", "2025-01-14 17:09:25.335869"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.337236"], ["updated_at", "2025-01-14 17:09:25.337236"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.338264"], ["updated_at", "2025-01-14 17:09:25.338264"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.339044"], ["updated_at", "2025-01-14 17:09:25.339044"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.339741"], ["updated_at", "2025-01-14 17:09:25.339741"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 37"], ["created_at", "2025-01-14 17:09:25.341069"], ["updated_at", "2025-01-14 17:09:25.341069"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.342202"], ["updated_at", "2025-01-14 17:09:25.342202"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.342975"], ["updated_at", "2025-01-14 17:09:25.342975"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.343854"], ["updated_at", "2025-01-14 17:09:25.343854"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.344543"], ["updated_at", "2025-01-14 17:09:25.344543"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["LIMIT", 1]]
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["LIMIT", 1]]
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"], ["LIMIT", 1]]
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 38"], ["created_at", "2025-01-14 17:09:25.347732"], ["updated_at", "2025-01-14 17:09:25.347732"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.348799"], ["updated_at", "2025-01-14 17:09:25.348799"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.349578"], ["updated_at", "2025-01-14 17:09:25.349578"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.350256"], ["updated_at", "2025-01-14 17:09:25.350256"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.351136"], ["updated_at", "2025-01-14 17:09:25.351136"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 39"], ["created_at", "2025-01-14 17:09:25.352599"], ["updated_at", "2025-01-14 17:09:25.352599"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.353717"], ["updated_at", "2025-01-14 17:09:25.353717"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.354517"], ["updated_at", "2025-01-14 17:09:25.354517"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.355199"], ["updated_at", "2025-01-14 17:09:25.355199"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.356030"], ["updated_at", "2025-01-14 17:09:25.356030"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"]]
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"]]
+ [1m[36mHasStates::Base Load (0.0ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"]]
+ [1m[36mHasStates::Base Load (0.0ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 40"], ["created_at", "2025-01-14 17:09:25.358588"], ["updated_at", "2025-01-14 17:09:25.358588"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 17:09:25.359429"], ["updated_at", "2025-01-14 17:09:25.359429"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"]]
+ [1m[36mHasStates::State Destroy (0.0ms)[0m [1m[31mDELETE FROM "has_states_states" WHERE "has_states_states"."id" = ?[0m [["id", 1]]
+ [1m[36mUser Destroy (0.0ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[35mSQL (1.7ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35mSQL (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "users"[0m
+ [1m[35m (14.6ms)[0m [1m[31mDELETE FROM "users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "has_states_states"[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM "has_states_states"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'has_states_states';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'companies';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 1"], ["created_at", "2025-01-14 18:01:57.483209"], ["updated_at", "2025-01-14 18:01:57.483209"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.487385"], ["updated_at", "2025-01-14 18:01:57.487385"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 2"], ["created_at", "2025-01-14 18:01:57.493575"], ["updated_at", "2025-01-14 18:01:57.493575"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.494543"], ["updated_at", "2025-01-14 18:01:57.494543"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 9"], ["created_at", "2025-01-14 18:01:57.503570"], ["updated_at", "2025-01-14 18:01:57.503570"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.504452"], ["updated_at", "2025-01-14 18:01:57.504452"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."type" = ? AND "has_states_states"."state_type" = ?[0m [["type", "HasStates::State"], ["state_type", "kyc"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 10"], ["created_at", "2025-01-14 18:01:57.506490"], ["updated_at", "2025-01-14 18:01:57.506490"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.507080"], ["updated_at", "2025-01-14 18:01:57.507080"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 11"], ["created_at", "2025-01-14 18:01:57.509091"], ["updated_at", "2025-01-14 18:01:57.509091"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.509790"], ["updated_at", "2025-01-14 18:01:57.509790"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 12"], ["created_at", "2025-01-14 18:01:57.511025"], ["updated_at", "2025-01-14 18:01:57.511025"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.511621"], ["updated_at", "2025-01-14 18:01:57.511621"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 13"], ["created_at", "2025-01-14 18:01:57.512805"], ["updated_at", "2025-01-14 18:01:57.512805"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{\"reason\":\"documents_missing\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.517443"], ["updated_at", "2025-01-14 18:01:57.517443"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 14"], ["created_at", "2025-01-14 18:01:57.519304"], ["updated_at", "2025-01-14 18:01:57.519304"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{\"documents\":{\"passport\":{\"status\":\"rejected\",\"reason\":\"expired\"},\"utility_bill\":{\"status\":\"pending\"}}}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.520481"], ["updated_at", "2025-01-14 18:01:57.520481"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 15"], ["created_at", "2025-01-14 18:01:57.521781"], ["updated_at", "2025-01-14 18:01:57.521781"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{\"missing_documents\":[\"passport\",\"utility_bill\"],\"review_history\":[{\"date\":\"2024-01-01\",\"status\":\"rejected\"},{\"date\":\"2024-01-02\",\"status\":\"approved\"}]}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.522637"], ["updated_at", "2025-01-14 18:01:57.522637"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 16"], ["created_at", "2025-01-14 18:01:57.523738"], ["updated_at", "2025-01-14 18:01:57.523738"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{\"string_value\":\"test\",\"integer_value\":42,\"float_value\":42.5,\"boolean_value\":true,\"null_value\":null,\"date_value\":\"2024-01-01\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.524567"], ["updated_at", "2025-01-14 18:01:57.524567"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 17"], ["created_at", "2025-01-14 18:01:57.525731"], ["updated_at", "2025-01-14 18:01:57.525731"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.526573"], ["updated_at", "2025-01-14 18:01:57.526573"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 18"], ["created_at", "2025-01-14 18:01:57.527681"], ["updated_at", "2025-01-14 18:01:57.527681"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{\"key\":\"value\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.528460"], ["updated_at", "2025-01-14 18:01:57.528460"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."type" = ? AND "has_states_states"."id" = ? LIMIT ?[0m [["type", "HasStates::State"], ["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 19"], ["created_at", "2025-01-14 18:01:57.530124"], ["updated_at", "2025-01-14 18:01:57.530124"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.530976"], ["updated_at", "2025-01-14 18:01:57.530976"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 18:01:57.531667"], ["id", 1]]
+ [1m[36mUser Update (0.0ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Onboarded User"], ["updated_at", "2025-01-14 18:01:57.532282"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 20"], ["created_at", "2025-01-14 18:01:57.533927"], ["updated_at", "2025-01-14 18:01:57.533927"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.534924"], ["updated_at", "2025-01-14 18:01:57.534924"]]
+ [1m[36mUser Update (0.0ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Onboarded User"], ["updated_at", "2025-01-14 18:01:57.535616"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Original Name"], ["updated_at", "2025-01-14 18:01:57.536148"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "pending"], ["updated_at", "2025-01-14 18:01:57.536631"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 21"], ["created_at", "2025-01-14 18:01:57.538393"], ["updated_at", "2025-01-14 18:01:57.538393"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.539368"], ["updated_at", "2025-01-14 18:01:57.539368"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 18:01:57.539977"], ["id", 1]]
+ [1m[36mUser Update (0.0ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Execution 1"], ["updated_at", "2025-01-14 18:01:57.540441"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.541388"], ["updated_at", "2025-01-14 18:01:57.541388"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 18:01:57.542051"], ["id", 2]]
+ [1m[36mUser Update (0.0ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Execution 2"], ["updated_at", "2025-01-14 18:01:57.542541"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Final Name"], ["updated_at", "2025-01-14 18:01:57.543309"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.544065"], ["updated_at", "2025-01-14 18:01:57.544065"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 18:01:57.544678"], ["id", 3]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 22"], ["created_at", "2025-01-14 18:01:57.546228"], ["updated_at", "2025-01-14 18:01:57.546228"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.547137"], ["updated_at", "2025-01-14 18:01:57.547137"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 18:01:57.547770"], ["id", 1]]
+ [1m[36mUser Update (0.0ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Execution 1"], ["updated_at", "2025-01-14 18:01:57.548194"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.558246"], ["updated_at", "2025-01-14 18:01:57.558246"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 18:01:57.559327"], ["id", 2]]
+ [1m[36mUser Update (0.0ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Execution 2"], ["updated_at", "2025-01-14 18:01:57.559921"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.561099"], ["updated_at", "2025-01-14 18:01:57.561099"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 18:01:57.561770"], ["id", 3]]
+ [1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Execution 3"], ["updated_at", "2025-01-14 18:01:57.562215"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 23"], ["created_at", "2025-01-14 18:01:57.565925"], ["updated_at", "2025-01-14 18:01:57.565925"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.568176"], ["updated_at", "2025-01-14 18:01:57.568176"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.2ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 18:01:57.569525"], ["id", 1]]
+ [1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Executed"], ["updated_at", "2025-01-14 18:01:57.570399"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 24"], ["created_at", "2025-01-14 18:01:57.572774"], ["updated_at", "2025-01-14 18:01:57.572774"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKYCState Create (0.4ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "KYCState"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{\"document_type\":\"passport\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.576642"], ["updated_at", "2025-01-14 18:01:57.576642"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 25"], ["created_at", "2025-01-14 18:01:57.579550"], ["updated_at", "2025-01-14 18:01:57.579550"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 26"], ["created_at", "2025-01-14 18:01:57.585346"], ["updated_at", "2025-01-14 18:01:57.585346"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.587060"], ["updated_at", "2025-01-14 18:01:57.587060"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 27"], ["created_at", "2025-01-14 18:01:57.590156"], ["updated_at", "2025-01-14 18:01:57.590156"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKYCState Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "KYCState"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{\"document_type\":\"passport\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.592475"], ["updated_at", "2025-01-14 18:01:57.592475"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 28"], ["created_at", "2025-01-14 18:01:57.596585"], ["updated_at", "2025-01-14 18:01:57.596585"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.598015"], ["updated_at", "2025-01-14 18:01:57.598015"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 29"], ["created_at", "2025-01-14 18:01:57.599957"], ["updated_at", "2025-01-14 18:01:57.599957"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{\"key\":\"value\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.601294"], ["updated_at", "2025-01-14 18:01:57.601294"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 30"], ["created_at", "2025-01-14 18:01:57.603599"], ["updated_at", "2025-01-14 18:01:57.603599"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::CustomState Create (0.4ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::CustomState"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.608469"], ["updated_at", "2025-01-14 18:01:57.608469"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 31"], ["created_at", "2025-01-14 18:01:57.617576"], ["updated_at", "2025-01-14 18:01:57.617576"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 32"], ["created_at", "2025-01-14 18:01:57.620371"], ["updated_at", "2025-01-14 18:01:57.620371"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.621667"], ["updated_at", "2025-01-14 18:01:57.621667"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 18:01:57"], ["updated_at", "2025-01-13 18:01:57"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 18:01:57"], ["updated_at", "2025-01-13 18:01:57"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 18:01:57"], ["updated_at", "2025-01-13 18:01:57"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 18:01:57"], ["updated_at", "2025-01-13 18:01:57"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 18:01:57"], ["updated_at", "2025-01-13 18:01:57"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 33"], ["created_at", "2025-01-14 18:01:57.627935"], ["updated_at", "2025-01-14 18:01:57.627935"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.628973"], ["updated_at", "2025-01-14 18:01:57.628973"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 18:01:57"], ["updated_at", "2025-01-13 18:01:57"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 18:01:57"], ["updated_at", "2025-01-13 18:01:57"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 18:01:57"], ["updated_at", "2025-01-13 18:01:57"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 18:01:57"], ["updated_at", "2025-01-13 18:01:57"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 18:01:57"], ["updated_at", "2025-01-13 18:01:57"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "nonexistent"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 34"], ["created_at", "2025-01-14 18:01:57.634458"], ["updated_at", "2025-01-14 18:01:57.634458"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.635637"], ["updated_at", "2025-01-14 18:01:57.635637"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.636462"], ["updated_at", "2025-01-14 18:01:57.636462"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.637162"], ["updated_at", "2025-01-14 18:01:57.637162"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.637813"], ["updated_at", "2025-01-14 18:01:57.637813"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.638462"], ["updated_at", "2025-01-14 18:01:57.638462"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.639108"], ["updated_at", "2025-01-14 18:01:57.639108"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"]]
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 35"], ["created_at", "2025-01-14 18:01:57.641130"], ["updated_at", "2025-01-14 18:01:57.641130"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.642034"], ["updated_at", "2025-01-14 18:01:57.642034"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.642758"], ["updated_at", "2025-01-14 18:01:57.642758"]]
+ [1m[36mTRANSACTION (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.651860"], ["updated_at", "2025-01-14 18:01:57.651860"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.653056"], ["updated_at", "2025-01-14 18:01:57.653056"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.653919"], ["updated_at", "2025-01-14 18:01:57.653919"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.654817"], ["updated_at", "2025-01-14 18:01:57.654817"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "nonexistent"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 36"], ["created_at", "2025-01-14 18:01:57.657171"], ["updated_at", "2025-01-14 18:01:57.657171"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.658074"], ["updated_at", "2025-01-14 18:01:57.658074"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.658922"], ["updated_at", "2025-01-14 18:01:57.658922"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.659701"], ["updated_at", "2025-01-14 18:01:57.659701"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.660656"], ["updated_at", "2025-01-14 18:01:57.660656"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 37"], ["created_at", "2025-01-14 18:01:57.662011"], ["updated_at", "2025-01-14 18:01:57.662011"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.662945"], ["updated_at", "2025-01-14 18:01:57.662945"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.663671"], ["updated_at", "2025-01-14 18:01:57.663671"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.664345"], ["updated_at", "2025-01-14 18:01:57.664345"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.665246"], ["updated_at", "2025-01-14 18:01:57.665246"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["LIMIT", 1]]
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["LIMIT", 1]]
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"], ["LIMIT", 1]]
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 38"], ["created_at", "2025-01-14 18:01:57.668214"], ["updated_at", "2025-01-14 18:01:57.668214"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.669306"], ["updated_at", "2025-01-14 18:01:57.669306"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.4ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.670202"], ["updated_at", "2025-01-14 18:01:57.670202"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.671327"], ["updated_at", "2025-01-14 18:01:57.671327"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.672020"], ["updated_at", "2025-01-14 18:01:57.672020"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 39"], ["created_at", "2025-01-14 18:01:57.673309"], ["updated_at", "2025-01-14 18:01:57.673309"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.674153"], ["updated_at", "2025-01-14 18:01:57.674153"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.675023"], ["updated_at", "2025-01-14 18:01:57.675023"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.675681"], ["updated_at", "2025-01-14 18:01:57.675681"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.676343"], ["updated_at", "2025-01-14 18:01:57.676343"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"]]
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"]]
+ [1m[36mHasStates::Base Load (0.0ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"]]
+ [1m[36mHasStates::Base Load (0.0ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 40"], ["created_at", "2025-01-14 18:01:57.678960"], ["updated_at", "2025-01-14 18:01:57.678960"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:01:57.679882"], ["updated_at", "2025-01-14 18:01:57.679882"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"]]
+ [1m[36mHasStates::State Destroy (0.0ms)[0m [1m[31mDELETE FROM "has_states_states" WHERE "has_states_states"."id" = ?[0m [["id", 1]]
+ [1m[36mUser Destroy (0.0ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[35mSQL (1.9ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35mSQL (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "users"[0m
+ [1m[35m (14.7ms)[0m [1m[31mDELETE FROM "users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'has_states_states';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'companies';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 1"], ["created_at", "2025-01-14 18:03:12.224794"], ["updated_at", "2025-01-14 18:03:12.224794"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.228645"], ["updated_at", "2025-01-14 18:03:12.228645"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 2"], ["created_at", "2025-01-14 18:03:12.234405"], ["updated_at", "2025-01-14 18:03:12.234405"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.235521"], ["updated_at", "2025-01-14 18:03:12.235521"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 14"], ["created_at", "2025-01-14 18:03:12.260417"], ["updated_at", "2025-01-14 18:03:12.260417"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.261324"], ["updated_at", "2025-01-14 18:03:12.261324"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."type" = ? AND "has_states_states"."state_type" = ?[0m [["type", "HasStates::State"], ["state_type", "kyc"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 15"], ["created_at", "2025-01-14 18:03:12.263215"], ["updated_at", "2025-01-14 18:03:12.263215"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.263898"], ["updated_at", "2025-01-14 18:03:12.263898"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 16"], ["created_at", "2025-01-14 18:03:12.266367"], ["updated_at", "2025-01-14 18:03:12.266367"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.267271"], ["updated_at", "2025-01-14 18:03:12.267271"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 17"], ["created_at", "2025-01-14 18:03:12.269045"], ["updated_at", "2025-01-14 18:03:12.269045"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.270032"], ["updated_at", "2025-01-14 18:03:12.270032"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 18"], ["created_at", "2025-01-14 18:03:12.281137"], ["updated_at", "2025-01-14 18:03:12.281137"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{\"reason\":\"documents_missing\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.286860"], ["updated_at", "2025-01-14 18:03:12.286860"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 19"], ["created_at", "2025-01-14 18:03:12.288840"], ["updated_at", "2025-01-14 18:03:12.288840"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{\"documents\":{\"passport\":{\"status\":\"rejected\",\"reason\":\"expired\"},\"utility_bill\":{\"status\":\"pending\"}}}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.290392"], ["updated_at", "2025-01-14 18:03:12.290392"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 20"], ["created_at", "2025-01-14 18:03:12.291802"], ["updated_at", "2025-01-14 18:03:12.291802"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{\"missing_documents\":[\"passport\",\"utility_bill\"],\"review_history\":[{\"date\":\"2024-01-01\",\"status\":\"rejected\"},{\"date\":\"2024-01-02\",\"status\":\"approved\"}]}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.292740"], ["updated_at", "2025-01-14 18:03:12.292740"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 21"], ["created_at", "2025-01-14 18:03:12.294028"], ["updated_at", "2025-01-14 18:03:12.294028"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{\"string_value\":\"test\",\"integer_value\":42,\"float_value\":42.5,\"boolean_value\":true,\"null_value\":null,\"date_value\":\"2024-01-01\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.295217"], ["updated_at", "2025-01-14 18:03:12.295217"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 22"], ["created_at", "2025-01-14 18:03:12.296502"], ["updated_at", "2025-01-14 18:03:12.296502"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.297319"], ["updated_at", "2025-01-14 18:03:12.297319"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 23"], ["created_at", "2025-01-14 18:03:12.298414"], ["updated_at", "2025-01-14 18:03:12.298414"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{\"key\":\"value\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.299619"], ["updated_at", "2025-01-14 18:03:12.299619"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."type" = ? AND "has_states_states"."id" = ? LIMIT ?[0m [["type", "HasStates::State"], ["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 24"], ["created_at", "2025-01-14 18:03:12.301725"], ["updated_at", "2025-01-14 18:03:12.301725"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.303160"], ["updated_at", "2025-01-14 18:03:12.303160"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 18:03:12.304141"], ["id", 1]]
+ [1m[36mUser Update (0.0ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Onboarded User"], ["updated_at", "2025-01-14 18:03:12.304840"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 25"], ["created_at", "2025-01-14 18:03:12.306672"], ["updated_at", "2025-01-14 18:03:12.306672"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.307700"], ["updated_at", "2025-01-14 18:03:12.307700"]]
+ [1m[36mUser Update (0.0ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Onboarded User"], ["updated_at", "2025-01-14 18:03:12.308393"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Original Name"], ["updated_at", "2025-01-14 18:03:12.308902"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "pending"], ["updated_at", "2025-01-14 18:03:12.309389"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 26"], ["created_at", "2025-01-14 18:03:12.311012"], ["updated_at", "2025-01-14 18:03:12.311012"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.311890"], ["updated_at", "2025-01-14 18:03:12.311890"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 18:03:12.312667"], ["id", 1]]
+ [1m[36mUser Update (0.0ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Execution 1"], ["updated_at", "2025-01-14 18:03:12.313087"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.314104"], ["updated_at", "2025-01-14 18:03:12.314104"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 18:03:12.314727"], ["id", 2]]
+ [1m[36mUser Update (0.0ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Execution 2"], ["updated_at", "2025-01-14 18:03:12.315171"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Final Name"], ["updated_at", "2025-01-14 18:03:12.315916"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.316753"], ["updated_at", "2025-01-14 18:03:12.316753"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 18:03:12.317443"], ["id", 3]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 27"], ["created_at", "2025-01-14 18:03:12.319457"], ["updated_at", "2025-01-14 18:03:12.319457"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.320693"], ["updated_at", "2025-01-14 18:03:12.320693"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 18:03:12.321334"], ["id", 1]]
+ [1m[36mUser Update (0.0ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Execution 1"], ["updated_at", "2025-01-14 18:03:12.321793"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.322748"], ["updated_at", "2025-01-14 18:03:12.322748"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 18:03:12.323559"], ["id", 2]]
+ [1m[36mUser Update (0.0ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Execution 2"], ["updated_at", "2025-01-14 18:03:12.323976"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.324893"], ["updated_at", "2025-01-14 18:03:12.324893"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 18:03:12.325634"], ["id", 3]]
+ [1m[36mUser Update (0.0ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Execution 3"], ["updated_at", "2025-01-14 18:03:12.326081"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 28"], ["created_at", "2025-01-14 18:03:12.327577"], ["updated_at", "2025-01-14 18:03:12.327577"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.328402"], ["updated_at", "2025-01-14 18:03:12.328402"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 18:03:12.328980"], ["id", 1]]
+ [1m[36mUser Update (0.0ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Executed"], ["updated_at", "2025-01-14 18:03:12.329373"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 29"], ["created_at", "2025-01-14 18:03:12.330605"], ["updated_at", "2025-01-14 18:03:12.330605"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKYCState Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "KYCState"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{\"document_type\":\"passport\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.333496"], ["updated_at", "2025-01-14 18:03:12.333496"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 30"], ["created_at", "2025-01-14 18:03:12.335946"], ["updated_at", "2025-01-14 18:03:12.335946"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 31"], ["created_at", "2025-01-14 18:03:12.340400"], ["updated_at", "2025-01-14 18:03:12.340400"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.341558"], ["updated_at", "2025-01-14 18:03:12.341558"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 32"], ["created_at", "2025-01-14 18:03:12.343073"], ["updated_at", "2025-01-14 18:03:12.343073"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKYCState Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "KYCState"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{\"document_type\":\"passport\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.344031"], ["updated_at", "2025-01-14 18:03:12.344031"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 33"], ["created_at", "2025-01-14 18:03:12.346332"], ["updated_at", "2025-01-14 18:03:12.346332"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.347171"], ["updated_at", "2025-01-14 18:03:12.347171"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 34"], ["created_at", "2025-01-14 18:03:12.348312"], ["updated_at", "2025-01-14 18:03:12.348312"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{\"key\":\"value\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.349304"], ["updated_at", "2025-01-14 18:03:12.349304"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 35"], ["created_at", "2025-01-14 18:03:12.351059"], ["updated_at", "2025-01-14 18:03:12.351059"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::CustomState Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::CustomState"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.354070"], ["updated_at", "2025-01-14 18:03:12.354070"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 36"], ["created_at", "2025-01-14 18:03:12.358990"], ["updated_at", "2025-01-14 18:03:12.358990"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 37"], ["created_at", "2025-01-14 18:03:12.361292"], ["updated_at", "2025-01-14 18:03:12.361292"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.362178"], ["updated_at", "2025-01-14 18:03:12.362178"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 18:03:12"], ["updated_at", "2025-01-13 18:03:12"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 18:03:12"], ["updated_at", "2025-01-13 18:03:12"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 18:03:12"], ["updated_at", "2025-01-13 18:03:12"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 18:03:12"], ["updated_at", "2025-01-13 18:03:12"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 18:03:12"], ["updated_at", "2025-01-13 18:03:12"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 38"], ["created_at", "2025-01-14 18:03:12.367846"], ["updated_at", "2025-01-14 18:03:12.367846"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.368981"], ["updated_at", "2025-01-14 18:03:12.368981"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 18:03:12"], ["updated_at", "2025-01-13 18:03:12"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 18:03:12"], ["updated_at", "2025-01-13 18:03:12"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 18:03:12"], ["updated_at", "2025-01-13 18:03:12"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 18:03:12"], ["updated_at", "2025-01-13 18:03:12"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 18:03:12"], ["updated_at", "2025-01-13 18:03:12"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "nonexistent"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 39"], ["created_at", "2025-01-14 18:03:12.385334"], ["updated_at", "2025-01-14 18:03:12.385334"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.386708"], ["updated_at", "2025-01-14 18:03:12.386708"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.387773"], ["updated_at", "2025-01-14 18:03:12.387773"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.388560"], ["updated_at", "2025-01-14 18:03:12.388560"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.389259"], ["updated_at", "2025-01-14 18:03:12.389259"]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.390491"], ["updated_at", "2025-01-14 18:03:12.390491"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.391337"], ["updated_at", "2025-01-14 18:03:12.391337"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"]]
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 40"], ["created_at", "2025-01-14 18:03:12.393484"], ["updated_at", "2025-01-14 18:03:12.393484"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.5ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.394343"], ["updated_at", "2025-01-14 18:03:12.394343"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.395547"], ["updated_at", "2025-01-14 18:03:12.395547"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.396331"], ["updated_at", "2025-01-14 18:03:12.396331"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.397025"], ["updated_at", "2025-01-14 18:03:12.397025"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.397690"], ["updated_at", "2025-01-14 18:03:12.397690"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.398357"], ["updated_at", "2025-01-14 18:03:12.398357"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "nonexistent"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 41"], ["created_at", "2025-01-14 18:03:12.400588"], ["updated_at", "2025-01-14 18:03:12.400588"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.401779"], ["updated_at", "2025-01-14 18:03:12.401779"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.402889"], ["updated_at", "2025-01-14 18:03:12.402889"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.403740"], ["updated_at", "2025-01-14 18:03:12.403740"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.404618"], ["updated_at", "2025-01-14 18:03:12.404618"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 42"], ["created_at", "2025-01-14 18:03:12.405993"], ["updated_at", "2025-01-14 18:03:12.405993"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.406883"], ["updated_at", "2025-01-14 18:03:12.406883"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.407590"], ["updated_at", "2025-01-14 18:03:12.407590"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.408405"], ["updated_at", "2025-01-14 18:03:12.408405"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.409120"], ["updated_at", "2025-01-14 18:03:12.409120"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["LIMIT", 1]]
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["LIMIT", 1]]
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"], ["LIMIT", 1]]
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 43"], ["created_at", "2025-01-14 18:03:12.411863"], ["updated_at", "2025-01-14 18:03:12.411863"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.412814"], ["updated_at", "2025-01-14 18:03:12.412814"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.413566"], ["updated_at", "2025-01-14 18:03:12.413566"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.414323"], ["updated_at", "2025-01-14 18:03:12.414323"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.414991"], ["updated_at", "2025-01-14 18:03:12.414991"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 44"], ["created_at", "2025-01-14 18:03:12.416461"], ["updated_at", "2025-01-14 18:03:12.416461"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.417629"], ["updated_at", "2025-01-14 18:03:12.417629"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.418527"], ["updated_at", "2025-01-14 18:03:12.418527"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.419471"], ["updated_at", "2025-01-14 18:03:12.419471"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.420330"], ["updated_at", "2025-01-14 18:03:12.420330"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"]]
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"]]
+ [1m[36mHasStates::Base Load (0.0ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"]]
+ [1m[36mHasStates::Base Load (0.0ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 45"], ["created_at", "2025-01-14 18:03:12.423150"], ["updated_at", "2025-01-14 18:03:12.423150"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:03:12.424015"], ["updated_at", "2025-01-14 18:03:12.424015"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.2ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"]]
+ [1m[36mHasStates::State Destroy (0.0ms)[0m [1m[31mDELETE FROM "has_states_states" WHERE "has_states_states"."id" = ?[0m [["id", 1]]
+ [1m[36mUser Destroy (0.0ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1[0m [[nil, "environment"]]
+ [1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+Migrating to CreateIndexesOnHasStatesStates (20250114175939)
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN immediate TRANSACTION[0m
+ [1m[35m (0.2ms)[0m [1m[35mCREATE INDEX "index_has_states_states_on_stateable_id_and_state_type" ON "has_states_states" ("stateable_id", "state_type")[0m
+ [1m[35m (0.0ms)[0m [1m[35mCREATE INDEX "idx_on_stateable_id_state_type_status_6d3d026e4d" ON "has_states_states" ("stateable_id", "state_type", "status")[0m
+ [1m[35m (0.0ms)[0m [1m[35mCREATE INDEX "idx_on_stateable_id_state_type_created_at_b5d09fb6ee" ON "has_states_states" ("stateable_id", "state_type", "created_at")[0m
+ [1m[35m (0.0ms)[0m [1m[35mCREATE INDEX "idx_on_stateable_id_state_type_status_created_at_19e1cf37c2" ON "has_states_states" ("stateable_id", "state_type", "status", "created_at")[0m
+ [1m[36mActiveRecord::SchemaMigration Create (0.0ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ('20250114175939') RETURNING "version"[0m
+ [1m[36mTRANSACTION (14.2ms)[0m [1m[36mCOMMIT TRANSACTION[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35mSQL (1.7ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35mSQL (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "users"[0m
+ [1m[35m (14.4ms)[0m [1m[31mDELETE FROM "users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "has_states_states"[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM "has_states_states"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'has_states_states';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM "companies"[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'companies';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 1"], ["created_at", "2025-01-14 18:04:01.354816"], ["updated_at", "2025-01-14 18:04:01.354816"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.359294"], ["updated_at", "2025-01-14 18:04:01.359294"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 2"], ["created_at", "2025-01-14 18:04:01.365551"], ["updated_at", "2025-01-14 18:04:01.365551"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.366446"], ["updated_at", "2025-01-14 18:04:01.366446"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 14"], ["created_at", "2025-01-14 18:04:01.381383"], ["updated_at", "2025-01-14 18:04:01.381383"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.382344"], ["updated_at", "2025-01-14 18:04:01.382344"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."type" = ? AND "has_states_states"."state_type" = ?[0m [["type", "HasStates::State"], ["state_type", "kyc"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 15"], ["created_at", "2025-01-14 18:04:01.384487"], ["updated_at", "2025-01-14 18:04:01.384487"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.385196"], ["updated_at", "2025-01-14 18:04:01.385196"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 16"], ["created_at", "2025-01-14 18:04:01.387388"], ["updated_at", "2025-01-14 18:04:01.387388"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.388098"], ["updated_at", "2025-01-14 18:04:01.388098"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 17"], ["created_at", "2025-01-14 18:04:01.389502"], ["updated_at", "2025-01-14 18:04:01.389502"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.390232"], ["updated_at", "2025-01-14 18:04:01.390232"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 18"], ["created_at", "2025-01-14 18:04:01.391613"], ["updated_at", "2025-01-14 18:04:01.391613"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{\"reason\":\"documents_missing\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.396085"], ["updated_at", "2025-01-14 18:04:01.396085"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 19"], ["created_at", "2025-01-14 18:04:01.397985"], ["updated_at", "2025-01-14 18:04:01.397985"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{\"documents\":{\"passport\":{\"status\":\"rejected\",\"reason\":\"expired\"},\"utility_bill\":{\"status\":\"pending\"}}}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.399196"], ["updated_at", "2025-01-14 18:04:01.399196"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 20"], ["created_at", "2025-01-14 18:04:01.400644"], ["updated_at", "2025-01-14 18:04:01.400644"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{\"missing_documents\":[\"passport\",\"utility_bill\"],\"review_history\":[{\"date\":\"2024-01-01\",\"status\":\"rejected\"},{\"date\":\"2024-01-02\",\"status\":\"approved\"}]}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.401503"], ["updated_at", "2025-01-14 18:04:01.401503"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 21"], ["created_at", "2025-01-14 18:04:01.402720"], ["updated_at", "2025-01-14 18:04:01.402720"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{\"string_value\":\"test\",\"integer_value\":42,\"float_value\":42.5,\"boolean_value\":true,\"null_value\":null,\"date_value\":\"2024-01-01\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.403663"], ["updated_at", "2025-01-14 18:04:01.403663"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 22"], ["created_at", "2025-01-14 18:04:01.404920"], ["updated_at", "2025-01-14 18:04:01.404920"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.405779"], ["updated_at", "2025-01-14 18:04:01.405779"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 23"], ["created_at", "2025-01-14 18:04:01.406854"], ["updated_at", "2025-01-14 18:04:01.406854"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{\"key\":\"value\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.407622"], ["updated_at", "2025-01-14 18:04:01.407622"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Load (0.2ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."type" = ? AND "has_states_states"."id" = ? LIMIT ?[0m [["type", "HasStates::State"], ["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 24"], ["created_at", "2025-01-14 18:04:01.410734"], ["updated_at", "2025-01-14 18:04:01.410734"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.413089"], ["updated_at", "2025-01-14 18:04:01.413089"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 18:04:01.414110"], ["id", 1]]
+ [1m[36mUser Update (0.0ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Onboarded User"], ["updated_at", "2025-01-14 18:04:01.414827"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 25"], ["created_at", "2025-01-14 18:04:01.416626"], ["updated_at", "2025-01-14 18:04:01.416626"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.417636"], ["updated_at", "2025-01-14 18:04:01.417636"]]
+ [1m[36mUser Update (0.0ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Onboarded User"], ["updated_at", "2025-01-14 18:04:01.418197"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Original Name"], ["updated_at", "2025-01-14 18:04:01.418653"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "pending"], ["updated_at", "2025-01-14 18:04:01.419084"], ["id", 1]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 26"], ["created_at", "2025-01-14 18:04:01.430040"], ["updated_at", "2025-01-14 18:04:01.430040"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.431525"], ["updated_at", "2025-01-14 18:04:01.431525"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 18:04:01.432340"], ["id", 1]]
+ [1m[36mUser Update (0.0ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Execution 1"], ["updated_at", "2025-01-14 18:04:01.432878"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.434484"], ["updated_at", "2025-01-14 18:04:01.434484"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 18:04:01.435504"], ["id", 2]]
+ [1m[36mUser Update (0.0ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Execution 2"], ["updated_at", "2025-01-14 18:04:01.436123"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Final Name"], ["updated_at", "2025-01-14 18:04:01.436964"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.437752"], ["updated_at", "2025-01-14 18:04:01.437752"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 18:04:01.438354"], ["id", 3]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 27"], ["created_at", "2025-01-14 18:04:01.440267"], ["updated_at", "2025-01-14 18:04:01.440267"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.441161"], ["updated_at", "2025-01-14 18:04:01.441161"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 18:04:01.441795"], ["id", 1]]
+ [1m[36mUser Update (0.0ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Execution 1"], ["updated_at", "2025-01-14 18:04:01.442223"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.443229"], ["updated_at", "2025-01-14 18:04:01.443229"]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.1ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 18:04:01.444113"], ["id", 2]]
+ [1m[36mUser Update (0.0ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Execution 2"], ["updated_at", "2025-01-14 18:04:01.444580"], ["id", 1]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.4ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.446941"], ["updated_at", "2025-01-14 18:04:01.446941"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.2ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 18:04:01.448532"], ["id", 3]]
+ [1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Execution 3"], ["updated_at", "2025-01-14 18:04:01.449558"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 28"], ["created_at", "2025-01-14 18:04:01.452539"], ["updated_at", "2025-01-14 18:04:01.452539"]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "onboarding"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.454844"], ["updated_at", "2025-01-14 18:04:01.454844"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Update (0.2ms)[0m [1m[33mUPDATE "has_states_states" SET "status" = ?, "updated_at" = ? WHERE "has_states_states"."id" = ?[0m [["status", "completed"], ["updated_at", "2025-01-14 18:04:01.456177"], ["id", 1]]
+ [1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "Executed"], ["updated_at", "2025-01-14 18:04:01.457098"], ["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 29"], ["created_at", "2025-01-14 18:04:01.458805"], ["updated_at", "2025-01-14 18:04:01.458805"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKYCState Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "KYCState"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{\"document_type\":\"passport\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.462180"], ["updated_at", "2025-01-14 18:04:01.462180"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 30"], ["created_at", "2025-01-14 18:04:01.464840"], ["updated_at", "2025-01-14 18:04:01.464840"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 31"], ["created_at", "2025-01-14 18:04:01.469400"], ["updated_at", "2025-01-14 18:04:01.469400"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.470436"], ["updated_at", "2025-01-14 18:04:01.470436"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 32"], ["created_at", "2025-01-14 18:04:01.471872"], ["updated_at", "2025-01-14 18:04:01.471872"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKYCState Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "KYCState"], ["state_type", "kyc"], ["status", "pending"], ["metadata", "{\"document_type\":\"passport\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.472896"], ["updated_at", "2025-01-14 18:04:01.472896"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 33"], ["created_at", "2025-01-14 18:04:01.475108"], ["updated_at", "2025-01-14 18:04:01.475108"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.476153"], ["updated_at", "2025-01-14 18:04:01.476153"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 34"], ["created_at", "2025-01-14 18:04:01.477706"], ["updated_at", "2025-01-14 18:04:01.477706"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{\"key\":\"value\"}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.478681"], ["updated_at", "2025-01-14 18:04:01.478681"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 35"], ["created_at", "2025-01-14 18:04:01.480760"], ["updated_at", "2025-01-14 18:04:01.480760"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::CustomState Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::CustomState"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.484348"], ["updated_at", "2025-01-14 18:04:01.484348"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 36"], ["created_at", "2025-01-14 18:04:01.489536"], ["updated_at", "2025-01-14 18:04:01.489536"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 37"], ["created_at", "2025-01-14 18:04:01.491898"], ["updated_at", "2025-01-14 18:04:01.491898"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.492966"], ["updated_at", "2025-01-14 18:04:01.492966"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 18:04:01"], ["updated_at", "2025-01-13 18:04:01"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 18:04:01"], ["updated_at", "2025-01-13 18:04:01"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 18:04:01"], ["updated_at", "2025-01-13 18:04:01"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 18:04:01"], ["updated_at", "2025-01-13 18:04:01"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 18:04:01"], ["updated_at", "2025-01-13 18:04:01"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 38"], ["created_at", "2025-01-14 18:04:01.499225"], ["updated_at", "2025-01-14 18:04:01.499225"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.500238"], ["updated_at", "2025-01-14 18:04:01.500238"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 18:04:01"], ["updated_at", "2025-01-13 18:04:01"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 18:04:01"], ["updated_at", "2025-01-13 18:04:01"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 18:04:01"], ["updated_at", "2025-01-13 18:04:01"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 18:04:01"], ["updated_at", "2025-01-13 18:04:01"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-13 18:04:01"], ["updated_at", "2025-01-13 18:04:01"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "nonexistent"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 39"], ["created_at", "2025-01-14 18:04:01.514146"], ["updated_at", "2025-01-14 18:04:01.514146"]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.515548"], ["updated_at", "2025-01-14 18:04:01.515548"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.516480"], ["updated_at", "2025-01-14 18:04:01.516480"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.517202"], ["updated_at", "2025-01-14 18:04:01.517202"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.517871"], ["updated_at", "2025-01-14 18:04:01.517871"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.518530"], ["updated_at", "2025-01-14 18:04:01.518530"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.519762"], ["updated_at", "2025-01-14 18:04:01.519762"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"]]
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 40"], ["created_at", "2025-01-14 18:04:01.522079"], ["updated_at", "2025-01-14 18:04:01.522079"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.522965"], ["updated_at", "2025-01-14 18:04:01.522965"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.523884"], ["updated_at", "2025-01-14 18:04:01.523884"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.524630"], ["updated_at", "2025-01-14 18:04:01.524630"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.525292"], ["updated_at", "2025-01-14 18:04:01.525292"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.525978"], ["updated_at", "2025-01-14 18:04:01.525978"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "completed"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.526633"], ["updated_at", "2025-01-14 18:04:01.526633"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "nonexistent"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 41"], ["created_at", "2025-01-14 18:04:01.528842"], ["updated_at", "2025-01-14 18:04:01.528842"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.529960"], ["updated_at", "2025-01-14 18:04:01.529960"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.530799"], ["updated_at", "2025-01-14 18:04:01.530799"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.531583"], ["updated_at", "2025-01-14 18:04:01.531583"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.3ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.532295"], ["updated_at", "2025-01-14 18:04:01.532295"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 42"], ["created_at", "2025-01-14 18:04:01.533785"], ["updated_at", "2025-01-14 18:04:01.533785"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.534938"], ["updated_at", "2025-01-14 18:04:01.534938"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.535898"], ["updated_at", "2025-01-14 18:04:01.535898"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.536625"], ["updated_at", "2025-01-14 18:04:01.536625"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.537317"], ["updated_at", "2025-01-14 18:04:01.537317"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["LIMIT", 1]]
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"], ["LIMIT", 1]]
+ [1m[36mHasStates::Base Load (0.0ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"], ["LIMIT", 1]]
+ [1m[36mHasStates::Base Load (0.0ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC LIMIT ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 43"], ["created_at", "2025-01-14 18:04:01.540399"], ["updated_at", "2025-01-14 18:04:01.540399"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.541409"], ["updated_at", "2025-01-14 18:04:01.541409"]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.542403"], ["updated_at", "2025-01-14 18:04:01.542403"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.543181"], ["updated_at", "2025-01-14 18:04:01.543181"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.543847"], ["updated_at", "2025-01-14 18:04:01.543847"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 44"], ["created_at", "2025-01-14 18:04:01.545245"], ["updated_at", "2025-01-14 18:04:01.545245"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.2ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.546645"], ["updated_at", "2025-01-14 18:04:01.546645"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.547595"], ["updated_at", "2025-01-14 18:04:01.547595"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.548393"], ["updated_at", "2025-01-14 18:04:01.548393"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "other_test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.549162"], ["updated_at", "2025-01-14 18:04:01.549162"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"]]
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"]]
+ [1m[36mHasStates::Base Load (0.0ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "test_type"]]
+ [1m[36mHasStates::Base Load (0.0ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ? AND "has_states_states"."state_type" = ? ORDER BY "has_states_states"."created_at" DESC[0m [["stateable_id", 1], ["stateable_type", "User"], ["state_type", "other_test_type"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "User 45"], ["created_at", "2025-01-14 18:04:01.551949"], ["updated_at", "2025-01-14 18:04:01.551949"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::State Create (0.1ms)[0m [1m[32mINSERT INTO "has_states_states" ("type", "state_type", "status", "metadata", "stateable_type", "stateable_id", "completed_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["type", "HasStates::State"], ["state_type", "test_type"], ["status", "pending"], ["metadata", "{}"], ["stateable_type", "User"], ["stateable_id", 1], ["completed_at", nil], ["created_at", "2025-01-14 18:04:01.552907"], ["updated_at", "2025-01-14 18:04:01.552907"]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Load (0.1ms)[0m [1m[34mSELECT "has_states_states".* FROM "has_states_states" WHERE "has_states_states"."stateable_id" = ? AND "has_states_states"."stateable_type" = ?[0m [["stateable_id", 1], ["stateable_type", "User"]]
+ [1m[36mHasStates::State Destroy (0.0ms)[0m [1m[31mDELETE FROM "has_states_states" WHERE "has_states_states"."id" = ?[0m [["id", 1]]
+ [1m[36mUser Destroy (0.0ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mHasStates::Base Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "has_states_states"[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m