spec/dummy/log/test.log in active_admin-state_machine-0.1.1 vs spec/dummy/log/test.log in active_admin-state_machine-1.0.0.pre1
- old
+ new
@@ -1,2969 +1,13995 @@
-Connecting to database specified by database.yml
-Connecting to database specified by database.yml
-Connecting to database specified by database.yml
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.0ms)[0m rollback transaction
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.0ms)[0m rollback transaction
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.0ms)[0m rollback transaction
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.0ms)[0m rollback transaction
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.0ms)[0m rollback transaction
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.0ms)[0m rollback transaction
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.0ms)[0m rollback transaction
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
-Connecting to database specified by database.yml
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (3.2ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Tue, 03 Sep 2013 23:43:00 UTC +00:00], ["name", "Category 1"], ["updated_at", Tue, 03 Sep 2013 23:43:00 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Tue, 03 Sep 2013 23:43:00 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Tue, 03 Sep 2013 23:43:00 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
- [1m[35m (2.2ms)[0m rollback transaction
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (3.0ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Tue, 03 Sep 2013 23:43:20 UTC +00:00], ["name", "Category 1"], ["updated_at", Tue, 03 Sep 2013 23:43:20 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Tue, 03 Sep 2013 23:43:20 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Tue, 03 Sep 2013 23:43:20 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 19:43:20 -0400
+ [1m[35m (2.8ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[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.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (2.3ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.5ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user1@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user1@example.com"], ["encrypted_password", "$2a$04$F4KDj1OHeA8818Q2F3MT6u3b582WeK.ETCX4PJa9Ynn0JYAhUaa66"], ["created_at", "2021-08-31 18:37:08.969523"], ["updated_at", "2021-08-31 18:37:08.969523"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 1"], ["created_at", "2021-08-31 18:37:08.974512"], ["updated_at", "2021-08-31 18:37:08.974512"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 1"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 1"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:37:08.987642"], ["updated_at", "2021-08-31 18:37:08.987642"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user2@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user2@example.com"], ["encrypted_password", "$2a$04$sj9EyF.d.dPWTBiLlmrXoOvGVQLTI/a4dtzpFFKw7E47a3lKTTigG"], ["created_at", "2021-08-31 18:37:09.037480"], ["updated_at", "2021-08-31 18:37:09.037480"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 2"], ["created_at", "2021-08-31 18:37:09.039815"], ["updated_at", "2021-08-31 18:37:09.039815"]]
+ [1m[36mTRANSACTION (1.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 2"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.2ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 2"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:37:09.043013"], ["updated_at", "2021-08-31 18:37:09.043013"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.1ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (3.4ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (14.3ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[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 "active_admin_comments"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user3@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.6ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user3@example.com"], ["encrypted_password", "$2a$04$jolSeXLfmj1uBRTdtuzqOuHlyCVaW/iYKATx2m2WgM.2LtJzFnCKW"], ["created_at", "2021-08-31 18:37:09.083826"], ["updated_at", "2021-08-31 18:37:09.083826"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 3"], ["created_at", "2021-08-31 18:37:09.086366"], ["updated_at", "2021-08-31 18:37:09.086366"]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 3"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 3"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:37:09.089129"], ["updated_at", "2021-08-31 18:37:09.089129"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user4@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user4@example.com"], ["encrypted_password", "$2a$04$Q/TydkrVYChmh1Y9c6hH3OoAO19FQ3p4xesDYtuoRVnFbt67tjYUq"], ["created_at", "2021-08-31 18:37:09.110968"], ["updated_at", "2021-08-31 18:37:09.110968"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 4"], ["created_at", "2021-08-31 18:37:09.113082"], ["updated_at", "2021-08-31 18:37:09.113082"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 4"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 4"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:37:09.115829"], ["updated_at", "2021-08-31 18:37:09.115829"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (6.8ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user5@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user5@example.com"], ["encrypted_password", "$2a$04$oWxwFczid62yfFp.lD0pT.gCTKBDuQG4Rrky05XM3cKQaKZcJW/im"], ["created_at", "2021-08-31 18:37:09.143135"], ["updated_at", "2021-08-31 18:37:09.143135"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.5ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 5"], ["created_at", "2021-08-31 18:37:09.145240"], ["updated_at", "2021-08-31 18:37:09.145240"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 5"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 5"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:37:09.149356"], ["updated_at", "2021-08-31 18:37:09.149356"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user6@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user6@example.com"], ["encrypted_password", "$2a$04$tcqDjrrEyx.xpkZe2GvileftrsaUH3x2vHGE8l89ZstfCYPXObjeK"], ["created_at", "2021-08-31 18:37:09.172321"], ["updated_at", "2021-08-31 18:37:09.172321"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 6"], ["created_at", "2021-08-31 18:37:09.174407"], ["updated_at", "2021-08-31 18:37:09.174407"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 6"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 6"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:37:09.177102"], ["updated_at", "2021-08-31 18:37:09.177102"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 (17.4ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (4.5ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.3ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user7@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user7@example.com"], ["encrypted_password", "$2a$04$XzV3cAEuoQQG/VAPkJbvEO1rAq89sUYj1dm.MTo4JLBwZ2qwV/OFO"], ["created_at", "2021-08-31 18:37:09.220662"], ["updated_at", "2021-08-31 18:37:09.220662"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 7"], ["created_at", "2021-08-31 18:37:09.222870"], ["updated_at", "2021-08-31 18:37:09.222870"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 7"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.1ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user8@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user8@example.com"], ["encrypted_password", "$2a$04$SajRUiwL282qcn0SW./MBeDzYYeoilbf1qBAnUOZZmL2Tm6DQLkJS"], ["created_at", "2021-08-31 18:37:09.247935"], ["updated_at", "2021-08-31 18:37:09.247935"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 8"], ["created_at", "2021-08-31 18:37:09.250160"], ["updated_at", "2021-08-31 18:37:09.250160"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 8"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (26.3ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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[35m (2.6ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (2.8ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (2.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.5ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user1@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user1@example.com"], ["encrypted_password", "$2a$04$ppSbtqKM6iRo3fa7SFwREezd0D1kukKLNKHwX6sPt2nXxzS2cfcw6"], ["created_at", "2021-08-31 18:42:49.548749"], ["updated_at", "2021-08-31 18:42:49.548749"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 1"], ["created_at", "2021-08-31 18:42:49.553890"], ["updated_at", "2021-08-31 18:42:49.553890"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 1"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 1"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:42:49.582716"], ["updated_at", "2021-08-31 18:42:49.582716"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 14:42:49 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 18:42:49.592357"], ["last_sign_in_at", "2021-08-31 18:42:49.592357"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 18:42:49.592534"], ["id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
-Completed 401 Unauthorized in 2ms
-Started GET "/admin/login" for 127.0.0.1 at 2013-09-03 19:43:20 -0400
-Processing by ActiveAdmin::Devise::SessionsController#new as HTML
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/devise/shared/_links.erb (1.2ms)
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out (40.2ms)
-Completed 200 OK in 103ms (Views: 47.7ms | ActiveRecord: 0.1ms)
- [1m[35m (0.5ms)[0m rollback transaction
-Connecting to database specified by database.yml
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (3.7ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Tue, 03 Sep 2013 23:44:09 UTC +00:00], ["name", "Category 1"], ["updated_at", Tue, 03 Sep 2013 23:44:09 UTC +00:00]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Tue, 03 Sep 2013 23:44:09 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Tue, 03 Sep 2013 23:44:09 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 19:44:09 -0400
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.2ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 16.9ms | Allocations: 2023)
+Completed 500 Internal Server Error in 57ms (ActiveRecord: 0.3ms | Allocations: 11024)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.1ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user2@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user2@example.com"], ["encrypted_password", "$2a$04$9Iy4ZUXkG3xsXHOD4MkqGO193U7Tt9.vnjBOhSKT5U4nmyK8KpDZq"], ["created_at", "2021-08-31 18:42:49.727958"], ["updated_at", "2021-08-31 18:42:49.727958"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 2"], ["created_at", "2021-08-31 18:42:49.730120"], ["updated_at", "2021-08-31 18:42:49.730120"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 2"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 2"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:42:49.733246"], ["updated_at", "2021-08-31 18:42:49.733246"], ["category_id", 1]]
+ [1m[36mTRANSACTION (1.0ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 14:42:49 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 18:42:49.736674"], ["last_sign_in_at", "2021-08-31 18:42:49.736674"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 18:42:49.736837"], ["id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
-Completed 401 Unauthorized in 2ms
-Started GET "/admin/login" for 127.0.0.1 at 2013-09-03 19:44:09 -0400
-Processing by ActiveAdmin::Devise::SessionsController#new as HTML
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/devise/shared/_links.erb (1.3ms)
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out (29.9ms)
-Completed 200 OK in 92ms (Views: 79.2ms | ActiveRecord: 0.1ms)
- [1m[35m (2.3ms)[0m rollback transaction
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAdminUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
-Binary data inserted for `string` type on column `encrypted_password`
- [1m[35mSQL (1.2ms)[0m INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 03 Sep 2013 23:44:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$lBE/RAKSIEtEV.yPN6dpY.kf.CEUTpSxFXeP4XSXM4MHAia8CWj8G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 03 Sep 2013 23:44:52 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (1.9ms)[0m rollback transaction
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.0ms)[0m rollback transaction
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAdminUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
-Binary data inserted for `string` type on column `encrypted_password`
- [1m[35mSQL (1.5ms)[0m INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 03 Sep 2013 23:50:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$QQjogYRvQxdmW.2HgY22nu4cq9iU7e/byHPsAapvAu/.1g2tCUty."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 03 Sep 2013 23:50:46 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Tue, 03 Sep 2013 23:50:46 UTC +00:00], ["name", "Category 1"], ["updated_at", Tue, 03 Sep 2013 23:50:46 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Tue, 03 Sep 2013 23:50:46 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Tue, 03 Sep 2013 23:50:46 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 19:50:46 -0400
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-09-03 23:50:46.484956', "current_sign_in_at" = '2013-09-03 23:50:46.484956', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-03 23:50:46.485736' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 4.7ms | Allocations: 1262)
+Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.3ms | Allocations: 2135)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user3@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user3@example.com"], ["encrypted_password", "$2a$04$81frupej0.PMoO/pogUXweOAJ1zIc.Gblte1z3Y5LxAPtt5wkvT4e"], ["created_at", "2021-08-31 18:42:49.765511"], ["updated_at", "2021-08-31 18:42:49.765511"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 3"], ["created_at", "2021-08-31 18:42:49.767508"], ["updated_at", "2021-08-31 18:42:49.767508"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 3"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user4@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user4@example.com"], ["encrypted_password", "$2a$04$aesbxNPUI2q9ag19AsFMoOiBmhr.2pdO0Ix2/hd0AKuM1Ab/MxiDO"], ["created_at", "2021-08-31 18:42:49.792557"], ["updated_at", "2021-08-31 18:42:49.792557"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 4"], ["created_at", "2021-08-31 18:42:49.794955"], ["updated_at", "2021-08-31 18:42:49.794955"]]
+ [1m[36mTRANSACTION (1.1ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 4"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user5@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user5@example.com"], ["encrypted_password", "$2a$04$zEAINcT1Iv1GeU.mGTAsYeyv9lIe7wFHHk6Ux/hzMxnHjLCIMjqVS"], ["created_at", "2021-08-31 18:42:49.821319"], ["updated_at", "2021-08-31 18:42:49.821319"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 5"], ["created_at", "2021-08-31 18:42:49.823346"], ["updated_at", "2021-08-31 18:42:49.823346"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 5"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 5"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:42:49.826134"], ["updated_at", "2021-08-31 18:42:49.826134"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.1ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.4ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user6@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user6@example.com"], ["encrypted_password", "$2a$04$tEOZ9mAA3u5Li9zF8e9gG./Qmf0HEZ4lrZI71uTiHmLBxKlRyd7c6"], ["created_at", "2021-08-31 18:42:50.042944"], ["updated_at", "2021-08-31 18:42:50.042944"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 6"], ["created_at", "2021-08-31 18:42:50.045618"], ["updated_at", "2021-08-31 18:42:50.045618"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 6"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 6"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:42:50.049015"], ["updated_at", "2021-08-31 18:42:50.049015"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (3.4ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (3.7ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user7@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user7@example.com"], ["encrypted_password", "$2a$04$I3f/ozzF4tM91B7ghfsryOIXr2qAtjZKiJpeabybsTrMYUdPsplZ."], ["created_at", "2021-08-31 18:42:50.084531"], ["updated_at", "2021-08-31 18:42:50.084531"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (1.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 7"], ["created_at", "2021-08-31 18:42:50.087544"], ["updated_at", "2021-08-31 18:42:50.087544"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (1.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 7"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.4ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 7"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:42:50.094246"], ["updated_at", "2021-08-31 18:42:50.094246"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.7ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.9ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.8ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.7ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (1.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 (1.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user8@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user8@example.com"], ["encrypted_password", "$2a$04$w4/6D2zSCZvPW/jQZdEYtenCh.xqHeaxsq691MnVyaDiCl4UzKW0G"], ["created_at", "2021-08-31 18:42:50.134316"], ["updated_at", "2021-08-31 18:42:50.134316"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 8"], ["created_at", "2021-08-31 18:42:50.137819"], ["updated_at", "2021-08-31 18:42:50.137819"]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 8"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.4ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 8"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:42:50.144454"], ["updated_at", "2021-08-31 18:42:50.144454"], ["category_id", 1]]
+ [1m[36mTRANSACTION (1.2ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.5ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.9ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (2.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.7ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user1@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user1@example.com"], ["encrypted_password", "$2a$04$C6y2HVGObaO7m9gNdlqXB.oae7bn3t6vDyIZF5QOyTJHCrsV.DJCC"], ["created_at", "2021-08-31 18:43:10.820254"], ["updated_at", "2021-08-31 18:43:10.820254"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 1"], ["created_at", "2021-08-31 18:43:10.825202"], ["updated_at", "2021-08-31 18:43:10.825202"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 1"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user2@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user2@example.com"], ["encrypted_password", "$2a$04$B9ND1wH40vGfoqdY4Psro.axT0bJeookyQJbFzVVo09yV1aTEWzTW"], ["created_at", "2021-08-31 18:43:10.885617"], ["updated_at", "2021-08-31 18:43:10.885617"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 2"], ["created_at", "2021-08-31 18:43:10.887833"], ["updated_at", "2021-08-31 18:43:10.887833"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 2"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user3@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user3@example.com"], ["encrypted_password", "$2a$04$.K2ScJSh8YkUG2rIDKhire9LvjsVOyUDDJUt88rQqyJ3p0HBBGvr6"], ["created_at", "2021-08-31 18:43:10.911488"], ["updated_at", "2021-08-31 18:43:10.911488"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 3"], ["created_at", "2021-08-31 18:43:10.913438"], ["updated_at", "2021-08-31 18:43:10.913438"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 3"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 3"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:43:10.916291"], ["updated_at", "2021-08-31 18:43:10.916291"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.4ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.6ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.2ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user4@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user4@example.com"], ["encrypted_password", "$2a$04$m/QZVVQVQ2s9lfA3Wvxsie/w8jCdt4TX.QF1WuEHaeoNDZiNS/wEa"], ["created_at", "2021-08-31 18:43:12.293327"], ["updated_at", "2021-08-31 18:43:12.293327"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 4"], ["created_at", "2021-08-31 18:43:12.295965"], ["updated_at", "2021-08-31 18:43:12.295965"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 4"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 4"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:43:12.301818"], ["updated_at", "2021-08-31 18:43:12.301818"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.2ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[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 (1.1ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.7ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.7ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.7ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.6ms)[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.3ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.8ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user5@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user5@example.com"], ["encrypted_password", "$2a$04$KFHpQCiS8FvjfKypKhHSTO4SeBDeak5bJN0dXYD6tPHzbZm.XaOM."], ["created_at", "2021-08-31 18:43:12.821264"], ["updated_at", "2021-08-31 18:43:12.821264"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 5"], ["created_at", "2021-08-31 18:43:12.824352"], ["updated_at", "2021-08-31 18:43:12.824352"]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 5"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 5"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:43:12.829016"], ["updated_at", "2021-08-31 18:43:12.829016"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.2ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.5ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.9ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (1.0ms)[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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.7ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user6@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user6@example.com"], ["encrypted_password", "$2a$04$r.OzJhKJcP7muXALuutsPuf6nwuG0HZCKWLWLK5ydZYWBPKVBHsPO"], ["created_at", "2021-08-31 18:43:13.406882"], ["updated_at", "2021-08-31 18:43:13.406882"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 6"], ["created_at", "2021-08-31 18:43:13.409733"], ["updated_at", "2021-08-31 18:43:13.409733"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 6"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 6"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:43:13.414373"], ["updated_at", "2021-08-31 18:43:13.414373"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.3ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (1.8ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (1.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.8ms)[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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (1.0ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (1.6ms)[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.7ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user7@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.5ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user7@example.com"], ["encrypted_password", "$2a$04$zglUiccl5VtNDzS5pBYjWOQPZK.dIe6W2aFQG9IrRSXBm3olVOPbi"], ["created_at", "2021-08-31 18:43:13.956419"], ["updated_at", "2021-08-31 18:43:13.956419"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 7"], ["created_at", "2021-08-31 18:43:13.960023"], ["updated_at", "2021-08-31 18:43:13.960023"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 7"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 7"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:43:13.965602"], ["updated_at", "2021-08-31 18:43:13.965602"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 14:43:13 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 18:43:13.982274"], ["last_sign_in_at", "2021-08-31 18:43:13.982274"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 18:43:13.982520"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 18:43:13.985777"], ["last_sign_in_at", "2021-08-31 18:43:13.985777"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 18:43:13.985892"], ["id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 18:43:13.988455"], ["last_sign_in_at", "2021-08-31 18:43:13.988455"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 18:43:13.988566"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 18:43:13.990480"], ["last_sign_in_at", "2021-08-31 18:43:13.990480"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 18:43:13.991000"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 18:43:13.992918"], ["last_sign_in_at", "2021-08-31 18:43:13.992918"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 18:43:13.993017"], ["id", 1]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.2ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Post' AND "active_admin_comments"."resource_id" = '1' AND "active_admin_comments"."namespace" = 'admin'[0m
- [1m[35mCACHE (0.0ms)[0m SELECT COUNT(*) FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Post' AND "active_admin_comments"."resource_id" = '1' AND "active_admin_comments"."namespace" = 'admin'
- [1m[36mActiveAdmin::Comment Load (0.1ms)[0m [1mSELECT "active_admin_comments".* FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Post' AND "active_admin_comments"."resource_id" = '1' AND "active_admin_comments"."namespace" = 'admin'[0m
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (8944.1ms)
-Completed 500 Internal Server Error in 9004ms
- [1m[35m (2.1ms)[0m rollback transaction
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAdminUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
-Binary data inserted for `string` type on column `encrypted_password`
- [1m[35mSQL (1.1ms)[0m INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 03 Sep 2013 23:51:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$e1fXsP5hsvjO23Lc6welG.EykilE5fLGm6pvZ22k0N0.k3XCpTuOS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 03 Sep 2013 23:51:32 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Tue, 03 Sep 2013 23:51:32 UTC +00:00], ["name", "Category 1"], ["updated_at", Tue, 03 Sep 2013 23:51:32 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Tue, 03 Sep 2013 23:51:32 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Tue, 03 Sep 2013 23:51:32 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 19:51:32 -0400
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-09-03 23:51:32.530171', "current_sign_in_at" = '2013-09-03 23:51:32.530171', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-03 23:51:32.531007' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.2ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 7.9ms | Allocations: 1904)
+Completed 500 Internal Server Error in 83ms (ActiveRecord: 0.3ms | Allocations: 10905)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.6ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.6ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.6ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.6ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user8@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.5ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user8@example.com"], ["encrypted_password", "$2a$04$cnQM9VaAdlvZxXjlx5J8vOBZP8rBukjsf8ykALhkxJXiAoiLERfzS"], ["created_at", "2021-08-31 18:43:14.125251"], ["updated_at", "2021-08-31 18:43:14.125251"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 8"], ["created_at", "2021-08-31 18:43:14.127644"], ["updated_at", "2021-08-31 18:43:14.127644"]]
+ [1m[36mTRANSACTION (0.5ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 8"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.2ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 8"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:43:14.129986"], ["updated_at", "2021-08-31 18:43:14.129986"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 14:43:14 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.2ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 18:43:14.132273"], ["last_sign_in_at", "2021-08-31 18:43:14.132273"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 18:43:14.132377"], ["id", 1]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.2ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Post' AND "active_admin_comments"."resource_id" = '1' AND "active_admin_comments"."namespace" = 'admin'[0m
- [1m[35mCACHE (0.0ms)[0m SELECT COUNT(*) FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Post' AND "active_admin_comments"."resource_id" = '1' AND "active_admin_comments"."namespace" = 'admin'
- [1m[36mActiveAdmin::Comment Load (0.1ms)[0m [1mSELECT "active_admin_comments".* FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Post' AND "active_admin_comments"."resource_id" = '1' AND "active_admin_comments"."namespace" = 'admin'[0m
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (8630.4ms)
-Completed 500 Internal Server Error in 8688ms
- [1m[35m (1.9ms)[0m rollback transaction
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAdminUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
-Binary data inserted for `string` type on column `encrypted_password`
- [1m[35mSQL (1.1ms)[0m INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 03 Sep 2013 23:51:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$G5rYwek7p6fekjMRhx.n1.kFlO.1qRfqSA3RqXf5sdvhRspuomwBO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 03 Sep 2013 23:51:54 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Tue, 03 Sep 2013 23:51:54 UTC +00:00], ["name", "Category 1"], ["updated_at", Tue, 03 Sep 2013 23:51:54 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Tue, 03 Sep 2013 23:51:54 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Tue, 03 Sep 2013 23:51:54 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 19:51:55 -0400
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.2ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-09-03 23:51:55.005130', "current_sign_in_at" = '2013-09-03 23:51:55.005130', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-03 23:51:55.006160' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 4.0ms | Allocations: 1262)
+Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.2ms | Allocations: 2137)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.6ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.6ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (2.3ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (2.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user1@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user1@example.com"], ["encrypted_password", "$2a$04$EkeO3h4jAioRIzSohRjjcekGUnJTJmhTgQsmoStAQpeZ92QLW.OPK"], ["created_at", "2021-08-31 18:44:46.912167"], ["updated_at", "2021-08-31 18:44:46.912167"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 1"], ["created_at", "2021-08-31 18:44:46.917843"], ["updated_at", "2021-08-31 18:44:46.917843"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 1"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 1"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:44:46.931325"], ["updated_at", "2021-08-31 18:44:46.931325"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.7ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[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.4ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (2.6ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.6ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.7ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.6ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user2@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user2@example.com"], ["encrypted_password", "$2a$04$7CK2fRx8IERStitnTR8cK.msDfLs5AL2UnuspOZWjkKPX1gmHagwG"], ["created_at", "2021-08-31 18:44:47.965707"], ["updated_at", "2021-08-31 18:44:47.965707"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 2"], ["created_at", "2021-08-31 18:44:47.968371"], ["updated_at", "2021-08-31 18:44:47.968371"]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 2"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.9ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 2"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:44:47.972436"], ["updated_at", "2021-08-31 18:44:47.972436"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.4ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[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 (1.0ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.6ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (1.0ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.7ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.8ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.8ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (2.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user3@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user3@example.com"], ["encrypted_password", "$2a$04$W4jhwpw8WLUPwI7kU42btu6rgzsYvq90mGVHPQ8rdtPWb3QCoZAi2"], ["created_at", "2021-08-31 18:44:48.545955"], ["updated_at", "2021-08-31 18:44:48.545955"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.2ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 3"], ["created_at", "2021-08-31 18:44:48.548238"], ["updated_at", "2021-08-31 18:44:48.548238"]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 3"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 3"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:44:48.552149"], ["updated_at", "2021-08-31 18:44:48.552149"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.3ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.9ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.7ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.7ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.3ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user4@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.5ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user4@example.com"], ["encrypted_password", "$2a$04$ZtYWiXQBEgPkcMuRDdABCegQMZ6W7UlTFiaGopkFzgz53yQZGdxsS"], ["created_at", "2021-08-31 18:44:49.046152"], ["updated_at", "2021-08-31 18:44:49.046152"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 4"], ["created_at", "2021-08-31 18:44:49.049257"], ["updated_at", "2021-08-31 18:44:49.049257"]]
+ [1m[36mTRANSACTION (1.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 4"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.4ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 4"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:44:49.054029"], ["updated_at", "2021-08-31 18:44:49.054029"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.4ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[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.8ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.6ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (1.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user5@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user5@example.com"], ["encrypted_password", "$2a$04$uWXxRM2Qk3TBSR0v.Qv7nOTnBW1cZqkMghebyArJ4dteUY0RV5Djy"], ["created_at", "2021-08-31 18:44:49.547566"], ["updated_at", "2021-08-31 18:44:49.547566"]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.2ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 5"], ["created_at", "2021-08-31 18:44:49.549695"], ["updated_at", "2021-08-31 18:44:49.549695"]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 5"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.4ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.5ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user6@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user6@example.com"], ["encrypted_password", "$2a$04$IvPZxhi8xEFxW7Cz6chgu.4NqakaX6TCEUyKNzgQ4DRPHXRja8cea"], ["created_at", "2021-08-31 18:44:49.577232"], ["updated_at", "2021-08-31 18:44:49.577232"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 6"], ["created_at", "2021-08-31 18:44:49.579896"], ["updated_at", "2021-08-31 18:44:49.579896"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 6"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.5ms)[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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (2.1ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.8ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.8ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (1.0ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.4ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user7@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.5ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user7@example.com"], ["encrypted_password", "$2a$04$ZAolPG1s5qifNuj5Wdl5GufOuaZ4/LQq.oVVNg2QYOFkv3r58Be/."], ["created_at", "2021-08-31 18:44:49.612793"], ["updated_at", "2021-08-31 18:44:49.612793"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 7"], ["created_at", "2021-08-31 18:44:49.615732"], ["updated_at", "2021-08-31 18:44:49.615732"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 7"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 7"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:44:49.619662"], ["updated_at", "2021-08-31 18:44:49.619662"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 14:44:49 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 18:44:49.638424"], ["last_sign_in_at", "2021-08-31 18:44:49.638424"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 18:44:49.638657"], ["id", 1]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 18:44:49.641662"], ["last_sign_in_at", "2021-08-31 18:44:49.641662"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 18:44:49.641775"], ["id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (1.0ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 18:44:49.644271"], ["last_sign_in_at", "2021-08-31 18:44:49.644271"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 18:44:49.644379"], ["id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 18:44:49.646967"], ["last_sign_in_at", "2021-08-31 18:44:49.646967"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 18:44:49.647075"], ["id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 18:44:49.649513"], ["last_sign_in_at", "2021-08-31 18:44:49.649513"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 18:44:49.649613"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.2ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Post' AND "active_admin_comments"."resource_id" = '1' AND "active_admin_comments"."namespace" = 'admin'[0m
- [1m[35mCACHE (0.0ms)[0m SELECT COUNT(*) FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Post' AND "active_admin_comments"."resource_id" = '1' AND "active_admin_comments"."namespace" = 'admin'
- [1m[36mActiveAdmin::Comment Load (0.1ms)[0m [1mSELECT "active_admin_comments".* FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Post' AND "active_admin_comments"."resource_id" = '1' AND "active_admin_comments"."namespace" = 'admin'[0m
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (8469.9ms)
-Completed 500 Internal Server Error in 8524ms
- [1m[35m (1.9ms)[0m rollback transaction
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAdminUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
-Binary data inserted for `string` type on column `encrypted_password`
- [1m[35mSQL (1.2ms)[0m INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 03 Sep 2013 23:52:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$9cHkzQLjWsQmYtRNnturzOdc/K.GjrFgjP6p2jei8ZUr5dBcOKLIW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 03 Sep 2013 23:52:55 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Tue, 03 Sep 2013 23:52:55 UTC +00:00], ["name", "Category 1"], ["updated_at", Tue, 03 Sep 2013 23:52:55 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Tue, 03 Sep 2013 23:52:55 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Tue, 03 Sep 2013 23:52:55 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 19:52:55 -0400
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-09-03 23:52:55.859478', "current_sign_in_at" = '2013-09-03 23:52:55.859478', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-03 23:52:55.860260' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 178.2ms | Allocations: 20532)
+Completed 500 Internal Server Error in 210ms (ActiveRecord: 0.3ms | Allocations: 28969)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (1.0ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (2.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user8@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user8@example.com"], ["encrypted_password", "$2a$04$mr3obENTI6pckVn5YVUQvOkid9IXuEAvgjaqYaja9ocLBdy2ta/YG"], ["created_at", "2021-08-31 18:44:49.988709"], ["updated_at", "2021-08-31 18:44:49.988709"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 8"], ["created_at", "2021-08-31 18:44:49.999627"], ["updated_at", "2021-08-31 18:44:49.999627"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 8"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.2ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 8"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:44:50.005693"], ["updated_at", "2021-08-31 18:44:50.005693"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 14:44:50 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 18:44:50.010532"], ["last_sign_in_at", "2021-08-31 18:44:50.010532"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 18:44:50.010674"], ["id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.2ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Post' AND "active_admin_comments"."resource_id" = '1' AND "active_admin_comments"."namespace" = 'admin'[0m
- [1m[35mCACHE (0.0ms)[0m SELECT COUNT(*) FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Post' AND "active_admin_comments"."resource_id" = '1' AND "active_admin_comments"."namespace" = 'admin'
- [1m[36mActiveAdmin::Comment Load (0.1ms)[0m [1mSELECT "active_admin_comments".* FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Post' AND "active_admin_comments"."resource_id" = '1' AND "active_admin_comments"."namespace" = 'admin'[0m
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (8531.1ms)
-Completed 500 Internal Server Error in 8586ms
- [1m[35m (1.9ms)[0m rollback transaction
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAdminUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
-Binary data inserted for `string` type on column `encrypted_password`
- [1m[35mSQL (1.2ms)[0m INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 03 Sep 2013 23:53:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$w6qkDb2Z5MiE.yA58c7SMu2D.ewinW5FwSzRdXyp7R8UcC78FqUAW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 03 Sep 2013 23:53:38 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Tue, 03 Sep 2013 23:53:38 UTC +00:00], ["name", "Category 1"], ["updated_at", Tue, 03 Sep 2013 23:53:38 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Tue, 03 Sep 2013 23:53:38 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Tue, 03 Sep 2013 23:53:38 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 19:53:38 -0400
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-09-03 23:53:38.816038', "current_sign_in_at" = '2013-09-03 23:53:38.816038', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-03 23:53:38.816872' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mCategory Load (0.7ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 17.4ms | Allocations: 4611)
+Completed 500 Internal Server Error in 21ms (ActiveRecord: 0.8ms | Allocations: 5525)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.8ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.7ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (2.4ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.6ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user1@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user1@example.com"], ["encrypted_password", "$2a$04$9Imwt1VjzfypbU8I1tiJfeb3ZlU19R38xlifv.gA7lcvPbyKrMXLm"], ["created_at", "2021-08-31 18:45:40.073512"], ["updated_at", "2021-08-31 18:45:40.073512"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 1"], ["created_at", "2021-08-31 18:45:40.078681"], ["updated_at", "2021-08-31 18:45:40.078681"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 1"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[0m
+ [1m[35m (0.1ms)[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user2@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user2@example.com"], ["encrypted_password", "$2a$04$HTXFLQ.Bgl8Nb3M2zb7UAeZcuu/5knaJYCCkeADVyjWeqN6PdaN/a"], ["created_at", "2021-08-31 18:45:40.159756"], ["updated_at", "2021-08-31 18:45:40.159756"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 2"], ["created_at", "2021-08-31 18:45:40.161870"], ["updated_at", "2021-08-31 18:45:40.161870"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 2"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user3@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.5ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user3@example.com"], ["encrypted_password", "$2a$04$N81APknE.3iexB3MaTCtUeK0cnOz2KmLC8NU3ejy.DAzBzw5yF262"], ["created_at", "2021-08-31 18:45:40.188506"], ["updated_at", "2021-08-31 18:45:40.188506"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 3"], ["created_at", "2021-08-31 18:45:40.191597"], ["updated_at", "2021-08-31 18:45:40.191597"]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 3"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 3"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:45:40.195297"], ["updated_at", "2021-08-31 18:45:40.195297"], ["category_id", 1]]
+ [1m[36mTRANSACTION (1.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.3ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.3ms)[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.3ms)[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 = 'posts';[0m
+ [1m[35m (0.1ms)[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user4@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user4@example.com"], ["encrypted_password", "$2a$04$.d294bzFxTN81a2bXVfwrO5/.V0EubSH.t4rdoosgnNXHB5Nb2MP2"], ["created_at", "2021-08-31 18:45:41.065749"], ["updated_at", "2021-08-31 18:45:41.065749"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 4"], ["created_at", "2021-08-31 18:45:41.068188"], ["updated_at", "2021-08-31 18:45:41.068188"]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 4"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 4"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:45:41.071315"], ["updated_at", "2021-08-31 18:45:41.071315"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.2ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user5@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user5@example.com"], ["encrypted_password", "$2a$04$ev7Q/A.v8y9VRBarq54/sORt76Zpak8j5OujqzIF7QdwBM/eD/f3."], ["created_at", "2021-08-31 18:45:41.635216"], ["updated_at", "2021-08-31 18:45:41.635216"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 5"], ["created_at", "2021-08-31 18:45:41.637237"], ["updated_at", "2021-08-31 18:45:41.637237"]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 5"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.2ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 5"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:45:41.639879"], ["updated_at", "2021-08-31 18:45:41.639879"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user6@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user6@example.com"], ["encrypted_password", "$2a$04$lUn/3ojdgo.fc4BjmInUXOAPoSrk83DsfA/1Z3EEd0WUNmlnZch0W"], ["created_at", "2021-08-31 18:45:42.136328"], ["updated_at", "2021-08-31 18:45:42.136328"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 6"], ["created_at", "2021-08-31 18:45:42.138377"], ["updated_at", "2021-08-31 18:45:42.138377"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 6"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.2ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 6"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:45:42.141042"], ["updated_at", "2021-08-31 18:45:42.141042"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.2ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.2ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.4ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.3ms)[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 = 'categories';[0m
+ [1m[35m (0.4ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.3ms)[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user7@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user7@example.com"], ["encrypted_password", "$2a$04$FrE7vj0G9rh.SGQTmaUcHO8nn9J.RezWg2btRbwJHRDJxUnhNndy2"], ["created_at", "2021-08-31 18:45:42.626764"], ["updated_at", "2021-08-31 18:45:42.626764"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 7"], ["created_at", "2021-08-31 18:45:42.628793"], ["updated_at", "2021-08-31 18:45:42.628793"]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 7"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 7"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:45:42.631790"], ["updated_at", "2021-08-31 18:45:42.631790"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 14:45:42 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 18:45:42.642533"], ["last_sign_in_at", "2021-08-31 18:45:42.642533"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 18:45:42.642777"], ["id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 18:45:42.645107"], ["last_sign_in_at", "2021-08-31 18:45:42.645107"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 18:45:42.645233"], ["id", 1]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 18:45:42.646970"], ["last_sign_in_at", "2021-08-31 18:45:42.646970"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 18:45:42.647084"], ["id", 1]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.2ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 18:45:42.648648"], ["last_sign_in_at", "2021-08-31 18:45:42.648648"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 18:45:42.648732"], ["id", 1]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.2ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 18:45:42.650197"], ["last_sign_in_at", "2021-08-31 18:45:42.650197"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 18:45:42.650278"], ["id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (20.4ms)
-Completed 200 OK in 32ms (Views: 25.9ms | ActiveRecord: 0.4ms)
- [1m[36m (1.8ms)[0m [1mrollback transaction[0m
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAdminUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
-Binary data inserted for `string` type on column `encrypted_password`
- [1m[35mSQL (1.2ms)[0m INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 03 Sep 2013 23:55:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$o8LaTf407wjPLAPxOqoKD.eTXEcXD1S93rWs8i95KZiAa960ag73K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 03 Sep 2013 23:55:10 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Tue, 03 Sep 2013 23:55:10 UTC +00:00], ["name", "Category 1"], ["updated_at", Tue, 03 Sep 2013 23:55:10 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Tue, 03 Sep 2013 23:55:10 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Tue, 03 Sep 2013 23:55:10 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 19:55:10 -0400
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-09-03 23:55:10.446444', "current_sign_in_at" = '2013-09-03 23:55:10.446444', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-03 23:55:10.447292' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 267.6ms | Allocations: 26171)
+Completed 500 Internal Server Error in 298ms (ActiveRecord: 0.3ms | Allocations: 34600)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.7ms)[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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.4ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.4ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.4ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user8@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user8@example.com"], ["encrypted_password", "$2a$04$8f/IMC.pqk6Q4IIaHLYnGezSTgOyW5ca1NjlMFQn1a/WB.vAr5dDa"], ["created_at", "2021-08-31 18:45:43.005433"], ["updated_at", "2021-08-31 18:45:43.005433"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 8"], ["created_at", "2021-08-31 18:45:43.008239"], ["updated_at", "2021-08-31 18:45:43.008239"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 8"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.4ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 8"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:45:43.014022"], ["updated_at", "2021-08-31 18:45:43.014022"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 14:45:43 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 18:45:43.019816"], ["last_sign_in_at", "2021-08-31 18:45:43.019816"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 18:45:43.020026"], ["id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.2ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (19.9ms)
-Completed 200 OK in 31ms (Views: 25.4ms | ActiveRecord: 0.4ms)
- [1m[36m (0.5ms)[0m [1mrollback transaction[0m
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAdminUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
-Binary data inserted for `string` type on column `encrypted_password`
- [1m[35mSQL (2.0ms)[0m INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 03 Sep 2013 23:55:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$eMhR9eqiHB85/YVjBxnm.OOBzxHqRUYW1BRzOaF5Y.YWa.UNE18lq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 03 Sep 2013 23:55:30 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Tue, 03 Sep 2013 23:55:30 UTC +00:00], ["name", "Category 1"], ["updated_at", Tue, 03 Sep 2013 23:55:30 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Tue, 03 Sep 2013 23:55:30 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Tue, 03 Sep 2013 23:55:30 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 19:55:30 -0400
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-09-03 23:55:30.613408', "current_sign_in_at" = '2013-09-03 23:55:30.613408', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-03 23:55:30.614215' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 13.4ms | Allocations: 5780)
+Completed 500 Internal Server Error in 17ms (ActiveRecord: 0.2ms | Allocations: 6695)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.8ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.9ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.8ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.6ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (1.7ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user1@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user1@example.com"], ["encrypted_password", "$2a$04$xGgJhEG/kmhR3pm37S8mz.gFS.zEmZcrwbyuPlOxjcXlHZem/tUi6"], ["created_at", "2021-08-31 18:46:00.523471"], ["updated_at", "2021-08-31 18:46:00.523471"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 1"], ["created_at", "2021-08-31 18:46:00.528543"], ["updated_at", "2021-08-31 18:46:00.528543"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 1"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user2@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user2@example.com"], ["encrypted_password", "$2a$04$HuYGrLYReXgN1XIVZI7evu1YZAxVroGe2CCe2.xT22.XVaZrJjbja"], ["created_at", "2021-08-31 18:46:00.590299"], ["updated_at", "2021-08-31 18:46:00.590299"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 2"], ["created_at", "2021-08-31 18:46:00.592539"], ["updated_at", "2021-08-31 18:46:00.592539"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 2"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (19.3ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user3@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user3@example.com"], ["encrypted_password", "$2a$04$PzlOl7yvX3I8/UXwn7XONO.H0pW97au2mugRZskIH6/AG6nGZbdvW"], ["created_at", "2021-08-31 18:46:00.636352"], ["updated_at", "2021-08-31 18:46:00.636352"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 3"], ["created_at", "2021-08-31 18:46:00.638700"], ["updated_at", "2021-08-31 18:46:00.638700"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 3"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 3"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:46:00.641914"], ["updated_at", "2021-08-31 18:46:00.641914"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.5ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.8ms)[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 "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.5ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.9ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user4@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user4@example.com"], ["encrypted_password", "$2a$04$N5GHZLVNpk6PO2RnN5QjK.jmAOhYK1OngSjSirZguFBrq0kPeC1EO"], ["created_at", "2021-08-31 18:46:01.452786"], ["updated_at", "2021-08-31 18:46:01.452786"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 4"], ["created_at", "2021-08-31 18:46:01.455719"], ["updated_at", "2021-08-31 18:46:01.455719"]]
+ [1m[36mTRANSACTION (0.5ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 4"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.2ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 4"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:46:01.459450"], ["updated_at", "2021-08-31 18:46:01.459450"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.5ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.8ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.6ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.6ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user5@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user5@example.com"], ["encrypted_password", "$2a$04$bkK0qXWOCmZJ7q6oCwfAaupManK9SOGQRvgdEuvuJvfnBTGsQihC."], ["created_at", "2021-08-31 18:46:01.942488"], ["updated_at", "2021-08-31 18:46:01.942488"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.5ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.2ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 5"], ["created_at", "2021-08-31 18:46:01.944900"], ["updated_at", "2021-08-31 18:46:01.944900"]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 5"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.2ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 5"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:46:01.948567"], ["updated_at", "2021-08-31 18:46:01.948567"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.9ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.5ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.3ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.5ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user6@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user6@example.com"], ["encrypted_password", "$2a$04$nz72ospawpFQdJ1hd.Lhaes/BXn1TYB3.esGcLuPyH2Y8ujELU1y2"], ["created_at", "2021-08-31 18:46:02.469227"], ["updated_at", "2021-08-31 18:46:02.469227"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.3ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 6"], ["created_at", "2021-08-31 18:46:02.471901"], ["updated_at", "2021-08-31 18:46:02.471901"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 6"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 6"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:46:02.476762"], ["updated_at", "2021-08-31 18:46:02.476762"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.6ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.6ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.8ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.4ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user7@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user7@example.com"], ["encrypted_password", "$2a$04$65R7OL8IP2J.ZdT6j0phAuy3wHeIxbseyUCNNwuXnGBhP6TTbtDRe"], ["created_at", "2021-08-31 18:46:03.044371"], ["updated_at", "2021-08-31 18:46:03.044371"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 7"], ["created_at", "2021-08-31 18:46:03.046412"], ["updated_at", "2021-08-31 18:46:03.046412"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 7"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.4ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 7"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:46:03.051428"], ["updated_at", "2021-08-31 18:46:03.051428"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 14:46:03 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 18:46:03.090840"], ["last_sign_in_at", "2021-08-31 18:46:03.090840"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 18:46:03.091024"], ["id", 1]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 18:46:03.093136"], ["last_sign_in_at", "2021-08-31 18:46:03.093136"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 18:46:03.093250"], ["id", 1]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 18:46:03.094852"], ["last_sign_in_at", "2021-08-31 18:46:03.094852"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 18:46:03.094953"], ["id", 1]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.2ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 18:46:03.096483"], ["last_sign_in_at", "2021-08-31 18:46:03.096483"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 18:46:03.096570"], ["id", 1]]
+ [1m[36mTRANSACTION (0.5ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.2ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 18:46:03.097973"], ["last_sign_in_at", "2021-08-31 18:46:03.097973"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 18:46:03.098067"], ["id", 1]]
+ [1m[36mTRANSACTION (0.5ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (24.8ms)
-Completed 200 OK in 39ms (Views: 31.8ms | ActiveRecord: 0.6ms)
- [1m[36m (1.9ms)[0m [1mrollback transaction[0m
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAdminUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
-Binary data inserted for `string` type on column `encrypted_password`
- [1m[35mSQL (2.1ms)[0m INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 03 Sep 2013 23:56:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$G6lS1TWd17gjD2.WRWsJNOelBxQLUCKpme1l8PHmHwZVCS8Myl6q6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 03 Sep 2013 23:56:30 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Tue, 03 Sep 2013 23:56:30 UTC +00:00], ["name", "Category 1"], ["updated_at", Tue, 03 Sep 2013 23:56:30 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Tue, 03 Sep 2013 23:56:30 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Tue, 03 Sep 2013 23:56:30 UTC +00:00]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 19:56:30 -0400
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-09-03 23:56:30.613510', "current_sign_in_at" = '2013-09-03 23:56:30.613510', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-03 23:56:30.614927' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 417.1ms | Allocations: 146189)
+Completed 500 Internal Server Error in 447ms (ActiveRecord: 0.3ms | Allocations: 154617)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (8.9ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user8@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user8@example.com"], ["encrypted_password", "$2a$04$bm3QemcLe7waWTlGrdIxueQEU/5hg9zikcVCnw7MU9/785cB/UA/y"], ["created_at", "2021-08-31 18:46:03.589398"], ["updated_at", "2021-08-31 18:46:03.589398"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (1.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 8"], ["created_at", "2021-08-31 18:46:03.591790"], ["updated_at", "2021-08-31 18:46:03.591790"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 8"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 8"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:46:03.595241"], ["updated_at", "2021-08-31 18:46:03.595241"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 14:46:03 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 18:46:03.598358"], ["last_sign_in_at", "2021-08-31 18:46:03.598358"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 18:46:03.598534"], ["id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (19.6ms)
-Completed 200 OK in 35ms (Views: 27.5ms | ActiveRecord: 0.4ms)
- [1m[36m (2.0ms)[0m [1mrollback transaction[0m
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAdminUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
-Binary data inserted for `string` type on column `encrypted_password`
- [1m[35mSQL (3.0ms)[0m INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 03 Sep 2013 23:56:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$9KXLBj4dgJM9FKMsvlgz6u7wQ.a4vXRympU2GXDqw8bPfW0KE0w4y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 03 Sep 2013 23:56:54 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Tue, 03 Sep 2013 23:56:54 UTC +00:00], ["name", "Category 1"], ["updated_at", Tue, 03 Sep 2013 23:56:54 UTC +00:00]]
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mPost Exists (0.3ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
- [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Tue, 03 Sep 2013 23:56:54 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Tue, 03 Sep 2013 23:56:54 UTC +00:00]]
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 19:56:54 -0400
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-09-03 23:56:54.291191', "current_sign_in_at" = '2013-09-03 23:56:54.291191', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-03 23:56:54.293895' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 13.8ms | Allocations: 18575)
+Completed 200 OK in 16ms (Views: 14.2ms | ActiveRecord: 0.2ms | Allocations: 19488)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (1.7ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user1@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user1@example.com"], ["encrypted_password", "$2a$04$ef3T8ugEtKNn9khpGCUwiu6od6Cs15E7xUowCgRDunqVIVgp7vHTO"], ["created_at", "2021-08-31 18:49:21.159936"], ["updated_at", "2021-08-31 18:49:21.159936"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 1"], ["created_at", "2021-08-31 18:49:21.166085"], ["updated_at", "2021-08-31 18:49:21.166085"]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 1"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 1"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:49:21.181519"], ["updated_at", "2021-08-31 18:49:21.181519"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 14:49:21 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 18:49:21.208318"], ["last_sign_in_at", "2021-08-31 18:49:21.208318"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 18:49:21.208490"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.2ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (50.5ms)
-Completed 200 OK in 76ms (Views: 61.6ms | ActiveRecord: 0.9ms)
- [1m[36m (2.1ms)[0m [1mrollback transaction[0m
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAdminUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
-Binary data inserted for `string` type on column `encrypted_password`
- [1m[35mSQL (1.4ms)[0m INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 03 Sep 2013 23:57:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$CaK0VSxouX03RYf3XuyOGODDBmhI1mgayKtuxJgriYhb2ZtjJf9B."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 03 Sep 2013 23:57:13 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Tue, 03 Sep 2013 23:57:13 UTC +00:00], ["name", "Category 1"], ["updated_at", Tue, 03 Sep 2013 23:57:13 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Tue, 03 Sep 2013 23:57:13 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Tue, 03 Sep 2013 23:57:13 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 19:57:13 -0400
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-09-03 23:57:13.104209', "current_sign_in_at" = '2013-09-03 23:57:13.104209', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-03 23:57:13.104955' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 523.4ms | Allocations: 189336)
+Completed 200 OK in 553ms (Views: 530.9ms | ActiveRecord: 0.3ms | Allocations: 197796)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[0m
+ [1m[35m (0.1ms)[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user2@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.5ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user2@example.com"], ["encrypted_password", "$2a$04$ikJR6gSngkhntncuUK82..y3Ydoxxk1ywVnyXNJc5pqAdbhQ2Zy5q"], ["created_at", "2021-08-31 18:49:21.832891"], ["updated_at", "2021-08-31 18:49:21.832891"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 2"], ["created_at", "2021-08-31 18:49:21.835459"], ["updated_at", "2021-08-31 18:49:21.835459"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 2"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 2"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:49:21.838702"], ["updated_at", "2021-08-31 18:49:21.838702"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 14:49:21 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 18:49:21.842152"], ["last_sign_in_at", "2021-08-31 18:49:21.842152"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 18:49:21.842314"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (19.4ms)
-Completed 200 OK in 30ms (Views: 24.8ms | ActiveRecord: 0.3ms)
- [1m[36m (1.9ms)[0m [1mrollback transaction[0m
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAdminUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
-Binary data inserted for `string` type on column `encrypted_password`
- [1m[35mSQL (1.2ms)[0m INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 03 Sep 2013 23:57:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$dIumF7JMckq0UqdJBWv8ruoWgVJhlRbBeMiPQKa6Q/Pe9LjeyEKru"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 03 Sep 2013 23:57:20 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Tue, 03 Sep 2013 23:57:20 UTC +00:00], ["name", "Category 1"], ["updated_at", Tue, 03 Sep 2013 23:57:20 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Tue, 03 Sep 2013 23:57:20 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Tue, 03 Sep 2013 23:57:20 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 19:57:20 -0400
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-09-03 23:57:20.851552', "current_sign_in_at" = '2013-09-03 23:57:20.851552', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-03 23:57:20.852401' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 20.3ms | Allocations: 9040)
+Completed 200 OK in 23ms (Views: 20.8ms | ActiveRecord: 0.3ms | Allocations: 9945)
+Started GET "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2021-08-31 14:49:21 -0400
+Processing by Admin::PostsController#reopen as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mAdminUser Load (0.2ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+Redirected to http://www.example.com/admin/dashboard
+Completed 302 Found in 2ms (ActiveRecord: 0.2ms | Allocations: 764)
+Started GET "/admin/dashboard" for 127.0.0.1 at 2021-08-31 14:49:21 -0400
+Processing by Admin::DashboardController#index as HTML
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/page/index.html.arb
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/page/index.html.arb (Duration: 9.7ms | Allocations: 4707)
+Completed 200 OK in 15ms (Views: 12.2ms | ActiveRecord: 0.1ms | Allocations: 6025)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.8ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.5ms)[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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user3@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user3@example.com"], ["encrypted_password", "$2a$04$ctnQeYhWHXOdhR8df41Qy.f0GrIjc/mBNCjGFmrmUcqjRHrxhnSWG"], ["created_at", "2021-08-31 18:49:21.923575"], ["updated_at", "2021-08-31 18:49:21.923575"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.6ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 3"], ["created_at", "2021-08-31 18:49:21.926935"], ["updated_at", "2021-08-31 18:49:21.926935"]]
+ [1m[36mTRANSACTION (1.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 3"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 3"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:49:21.934083"], ["updated_at", "2021-08-31 18:49:21.934083"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.7ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.3ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user4@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user4@example.com"], ["encrypted_password", "$2a$04$Tgn6C77Ae2s1NRpvHAz9jOjHaGryhejjR4yhEW/caOa4hfAkHPUv6"], ["created_at", "2021-08-31 18:49:22.839098"], ["updated_at", "2021-08-31 18:49:22.839098"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.5ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 4"], ["created_at", "2021-08-31 18:49:22.840956"], ["updated_at", "2021-08-31 18:49:22.840956"]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 4"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.2ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 4"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:49:22.843610"], ["updated_at", "2021-08-31 18:49:22.843610"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.6ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[0m
+ [1m[35m (0.5ms)[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.2ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user5@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.5ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user5@example.com"], ["encrypted_password", "$2a$04$K3qu45tokSIIPLK.vBna3uIVFCjYW/WPhfrDQIRdAJU65nclNfrY6"], ["created_at", "2021-08-31 18:49:23.385069"], ["updated_at", "2021-08-31 18:49:23.385069"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (2.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 5"], ["created_at", "2021-08-31 18:49:23.389670"], ["updated_at", "2021-08-31 18:49:23.389670"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 5"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 5"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:49:23.393225"], ["updated_at", "2021-08-31 18:49:23.393225"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.8ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[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.4ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.2ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.5ms)[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user6@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.5ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user6@example.com"], ["encrypted_password", "$2a$04$xlXTWS.ZMHVsIYUBrcUXBODiM.OuMDyOBfGFnPV0o/yYOK/EM9VDq"], ["created_at", "2021-08-31 18:49:23.926967"], ["updated_at", "2021-08-31 18:49:23.926967"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 6"], ["created_at", "2021-08-31 18:49:23.930276"], ["updated_at", "2021-08-31 18:49:23.930276"]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 6"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 6"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:49:23.934384"], ["updated_at", "2021-08-31 18:49:23.934384"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.8ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.2ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user7@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user7@example.com"], ["encrypted_password", "$2a$04$1MK7Y731nys2bILv1fmRqOqLOHxDSgdHQTn79EyERo01OgCEV5EMu"], ["created_at", "2021-08-31 18:49:24.409326"], ["updated_at", "2021-08-31 18:49:24.409326"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 7"], ["created_at", "2021-08-31 18:49:24.411444"], ["updated_at", "2021-08-31 18:49:24.411444"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 7"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user8@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user8@example.com"], ["encrypted_password", "$2a$04$hHjuXI/Yvt3/bDHyZoJE/ee3vODZ9OLXAAOWSeooHReUZBW8W/Ixq"], ["created_at", "2021-08-31 18:49:24.458427"], ["updated_at", "2021-08-31 18:49:24.458427"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 8"], ["created_at", "2021-08-31 18:49:24.460583"], ["updated_at", "2021-08-31 18:49:24.460583"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 8"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.6ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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[35m (2.2ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.6ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user1@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user1@example.com"], ["encrypted_password", "$2a$04$562hR5.PxGGq6vfrP63j7eTBsvHdiF1fNVB3UhZTBGbkykhM03.Oe"], ["created_at", "2021-08-31 18:51:40.713675"], ["updated_at", "2021-08-31 18:51:40.713675"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 1"], ["created_at", "2021-08-31 18:51:40.718621"], ["updated_at", "2021-08-31 18:51:40.718621"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 1"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 1"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:51:40.747392"], ["updated_at", "2021-08-31 18:51:40.747392"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 14:51:40 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 18:51:40.756860"], ["last_sign_in_at", "2021-08-31 18:51:40.756860"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 18:51:40.757010"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (21.0ms)
-Completed 200 OK in 33ms (Views: 26.4ms | ActiveRecord: 0.4ms)
- [1m[36m (2.4ms)[0m [1mrollback transaction[0m
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAdminUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
-Binary data inserted for `string` type on column `encrypted_password`
- [1m[35mSQL (1.2ms)[0m INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 03 Sep 2013 23:58:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$Tcj4lNedxFsDQbQJhYDk9u9gV4NLFdHQatoOvHlI8YK1UsQfvzssS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 03 Sep 2013 23:58:11 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Tue, 03 Sep 2013 23:58:11 UTC +00:00], ["name", "Category 1"], ["updated_at", Tue, 03 Sep 2013 23:58:11 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Tue, 03 Sep 2013 23:58:11 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Tue, 03 Sep 2013 23:58:11 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 19:58:11 -0400
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-09-03 23:58:11.934352', "current_sign_in_at" = '2013-09-03 23:58:11.934352', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-03 23:58:11.935110' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 240.9ms | Allocations: 73333)
+Completed 200 OK in 271ms (Views: 248.7ms | ActiveRecord: 0.3ms | Allocations: 81791)
+Started GET "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2021-08-31 14:51:41 -0400
+Processing by Admin::PostsController#reopen as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mAdminUser Load (0.2ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+Redirected to http://www.example.com/admin/dashboard
+Completed 302 Found in 2ms (ActiveRecord: 0.2ms | Allocations: 774)
+Started GET "/admin/dashboard" for 127.0.0.1 at 2021-08-31 14:51:41 -0400
+Processing by Admin::DashboardController#index as HTML
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/page/index.html.arb
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/page/index.html.arb (Duration: 4.5ms | Allocations: 4709)
+Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.1ms | Allocations: 6029)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user2@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user2@example.com"], ["encrypted_password", "$2a$04$QQ4D3viuvnFKzBP/CMsEwuvTbeDbkz.HlvcY/lz3aRZ1Ho8YLHxVO"], ["created_at", "2021-08-31 18:51:41.112504"], ["updated_at", "2021-08-31 18:51:41.112504"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 2"], ["created_at", "2021-08-31 18:51:41.114829"], ["updated_at", "2021-08-31 18:51:41.114829"]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 2"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 2"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:51:41.118296"], ["updated_at", "2021-08-31 18:51:41.118296"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 14:51:41 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 18:51:41.121469"], ["last_sign_in_at", "2021-08-31 18:51:41.121469"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 18:51:41.121627"], ["id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? AND ('t'='f') LIMIT 1 [["id", "1"]]
-Completed 404 Not Found in 6ms
- [1m[36m (1.9ms)[0m [1mrollback transaction[0m
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAdminUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
-Binary data inserted for `string` type on column `encrypted_password`
- [1m[35mSQL (46.0ms)[0m INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:00:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$K9CPi11YH5ONpTnsWygr1uJRJFoTwvSVyAtG7QJm3sLY2gqSKiqL."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 04 Sep 2013 00:00:47 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 04 Sep 2013 00:00:47 UTC +00:00], ["name", "Category 1"], ["updated_at", Wed, 04 Sep 2013 00:00:47 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Wed, 04 Sep 2013 00:00:47 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Wed, 04 Sep 2013 00:00:47 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:00:47 -0400
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-09-04 00:00:47.364946', "current_sign_in_at" = '2013-09-04 00:00:47.364946', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-04 00:00:47.365710' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 8.8ms | Allocations: 9074)
+Completed 200 OK in 11ms (Views: 9.2ms | ActiveRecord: 0.3ms | Allocations: 9978)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.4ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.4ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user3@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user3@example.com"], ["encrypted_password", "$2a$04$UXhvDeQcQTBHvUSla673BOuGzKzKZ.IlnPFqVUW9O3zSQShpDQiDu"], ["created_at", "2021-08-31 18:51:41.164088"], ["updated_at", "2021-08-31 18:51:41.164088"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (1.5ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 3"], ["created_at", "2021-08-31 18:51:41.167005"], ["updated_at", "2021-08-31 18:51:41.167005"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 3"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.4ms)[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 "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.7ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.9ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user4@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user4@example.com"], ["encrypted_password", "$2a$04$qjjkAKMutqlLfeHyyeSvCeyux8/zCxthWtMpAw/zFHeq6cfAQhmtu"], ["created_at", "2021-08-31 18:51:41.199399"], ["updated_at", "2021-08-31 18:51:41.199399"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 4"], ["created_at", "2021-08-31 18:51:41.202421"], ["updated_at", "2021-08-31 18:51:41.202421"]]
+ [1m[36mTRANSACTION (1.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 4"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[0m
+ [1m[35m (0.7ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.7ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.5ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user5@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user5@example.com"], ["encrypted_password", "$2a$04$tng8jJGErD58pdYWGG9W.OzImS7Lp5QUmH6d3TexSvSz5HVqfKAhW"], ["created_at", "2021-08-31 18:51:41.235404"], ["updated_at", "2021-08-31 18:51:41.235404"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 5"], ["created_at", "2021-08-31 18:51:41.238653"], ["updated_at", "2021-08-31 18:51:41.238653"]]
+ [1m[36mTRANSACTION (1.1ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 5"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 5"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:51:41.243896"], ["updated_at", "2021-08-31 18:51:41.243896"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.7ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[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.3ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user6@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user6@example.com"], ["encrypted_password", "$2a$04$JymyItJ2Fm6jPx5D3uPJq.femJQGuf49xkZ3HLbl3osfYh3X7JRCG"], ["created_at", "2021-08-31 18:51:42.212179"], ["updated_at", "2021-08-31 18:51:42.212179"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 6"], ["created_at", "2021-08-31 18:51:42.214202"], ["updated_at", "2021-08-31 18:51:42.214202"]]
+ [1m[36mTRANSACTION (0.5ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 6"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 6"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:51:42.216829"], ["updated_at", "2021-08-31 18:51:42.216829"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.6ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.2ms)[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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[0m
+ [1m[35m (0.3ms)[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.4ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user7@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user7@example.com"], ["encrypted_password", "$2a$04$3i9ivBYuI/hV7x24HtvuX.0cgk7r4zYhV/2DzQPO7O5CWSwrlRLaC"], ["created_at", "2021-08-31 18:51:42.715331"], ["updated_at", "2021-08-31 18:51:42.715331"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 7"], ["created_at", "2021-08-31 18:51:42.717951"], ["updated_at", "2021-08-31 18:51:42.717951"]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 7"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.5ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 7"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:51:42.721308"], ["updated_at", "2021-08-31 18:51:42.721308"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.5ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[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.3ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user8@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user8@example.com"], ["encrypted_password", "$2a$04$TGylT0KiQqvhwD.xzUsvkuD0GP/0sI1qhJVF/47qKwQWi1CNF1vwW"], ["created_at", "2021-08-31 18:51:43.199496"], ["updated_at", "2021-08-31 18:51:43.199496"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 8"], ["created_at", "2021-08-31 18:51:43.201622"], ["updated_at", "2021-08-31 18:51:43.201622"]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 8"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 8"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 18:51:43.204624"], ["updated_at", "2021-08-31 18:51:43.204624"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.7ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.3ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (2.7ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (2.6ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (2.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.5ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user1@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user1@example.com"], ["encrypted_password", "$2a$04$mhAHgEDBEA/V9xMlUhg5NOqMUEdv//hDlZ8TrkGtuUr1JV9FeyZeG"], ["created_at", "2021-08-31 19:05:50.282005"], ["updated_at", "2021-08-31 19:05:50.282005"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 1"], ["created_at", "2021-08-31 19:05:50.287555"], ["updated_at", "2021-08-31 19:05:50.287555"]]
+ [1m[36mTRANSACTION (1.3ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 1"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 1"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:05:50.321070"], ["updated_at", "2021-08-31 19:05:50.321070"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:05:50 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:05:50.332629"], ["last_sign_in_at", "2021-08-31 19:05:50.332629"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:05:50.332811"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? AND ('t'='f') LIMIT 1 [["id", "1"]]
-Completed 404 Not Found in 7ms
- [1m[36m (1.9ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:00:47 UTC +00:00], ["name", "Category 2"], ["updated_at", Wed, 04 Sep 2013 00:00:47 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mPost Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Wed, 04 Sep 2013 00:00:47 UTC +00:00], ["status", "draft"], ["title", "Post 2"], ["updated_at", Wed, 04 Sep 2013 00:00:47 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:00:47 -0400
- [1m[36m (0.4ms)[0m [1mrollback transaction[0m
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAdminUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
-Binary data inserted for `string` type on column `encrypted_password`
- [1m[35mSQL (42.5ms)[0m INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:01:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$D07Fxrd/CMjNGdgNNYa0G.dq0wT0VH8GfB0tswQf8pijH8PDTgk7y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 04 Sep 2013 00:01:49 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 04 Sep 2013 00:01:49 UTC +00:00], ["name", "Category 1"], ["updated_at", Wed, 04 Sep 2013 00:01:49 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Wed, 04 Sep 2013 00:01:49 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Wed, 04 Sep 2013 00:01:49 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:01:49 -0400
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-09-04 00:01:49.535497', "current_sign_in_at" = '2013-09-04 00:01:49.535497', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-04 00:01:49.536353' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.2ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 291.1ms | Allocations: 71674)
+Completed 200 OK in 334ms (Views: 303.1ms | ActiveRecord: 0.4ms | Allocations: 80132)
+Started GET "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2021-08-31 15:05:50 -0400
+Processing by Admin::PostsController#reopen as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mAdminUser Load (0.2ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+Redirected to http://www.example.com/admin/dashboard
+Completed 302 Found in 2ms (ActiveRecord: 0.2ms | Allocations: 770)
+Started GET "/admin/dashboard" for 127.0.0.1 at 2021-08-31 15:05:50 -0400
+Processing by Admin::DashboardController#index as HTML
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/page/index.html.arb
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/page/index.html.arb (Duration: 4.9ms | Allocations: 4712)
+Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.1ms | Allocations: 6020)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user2@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user2@example.com"], ["encrypted_password", "$2a$04$rwE4yK9M8eBbQXlEDz3tbOKEh.9yXTWhyQ/wE9dClpuXOu5LSpug."], ["created_at", "2021-08-31 19:05:50.793270"], ["updated_at", "2021-08-31 19:05:50.793270"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 2"], ["created_at", "2021-08-31 19:05:50.795607"], ["updated_at", "2021-08-31 19:05:50.795607"]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 2"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 2"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:05:50.799504"], ["updated_at", "2021-08-31 19:05:50.799504"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:05:50 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:05:50.802860"], ["last_sign_in_at", "2021-08-31 19:05:50.802860"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:05:50.803025"], ["id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? AND ('t'='f') LIMIT 1 [["id", "1"]]
-Completed 404 Not Found in 6ms
- [1m[36m (2.0ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:01:49 UTC +00:00], ["name", "Category 2"], ["updated_at", Wed, 04 Sep 2013 00:01:49 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mPost Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Wed, 04 Sep 2013 00:01:49 UTC +00:00], ["status", "draft"], ["title", "Post 2"], ["updated_at", Wed, 04 Sep 2013 00:01:49 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:01:49 -0400
- [1m[36m (0.4ms)[0m [1mrollback transaction[0m
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAdminUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
-Binary data inserted for `string` type on column `encrypted_password`
- [1m[35mSQL (45.7ms)[0m INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:04:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$WPcqTFpathOUYFju.1xNX.fSqAFBS/IdDchtDfaZOIV9RnJlgty4G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 04 Sep 2013 00:04:33 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 04 Sep 2013 00:04:33 UTC +00:00], ["name", "Category 1"], ["updated_at", Wed, 04 Sep 2013 00:04:33 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Wed, 04 Sep 2013 00:04:33 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Wed, 04 Sep 2013 00:04:33 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:04:33 -0400
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-09-04 00:04:33.899473', "current_sign_in_at" = '2013-09-04 00:04:33.899473', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-04 00:04:33.900336' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 9.8ms | Allocations: 9074)
+Completed 200 OK in 12ms (Views: 10.2ms | ActiveRecord: 0.3ms | Allocations: 9978)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.9ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user3@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user3@example.com"], ["encrypted_password", "$2a$04$tZtUE9OM1KNYi1NuKNIHH.JrhNmcxGkkjWzW9QkxjAv8IUL5Sqp9G"], ["created_at", "2021-08-31 19:05:50.844403"], ["updated_at", "2021-08-31 19:05:50.844403"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 3"], ["created_at", "2021-08-31 19:05:50.847451"], ["updated_at", "2021-08-31 19:05:50.847451"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 3"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.4ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 3"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:05:50.851856"], ["updated_at", "2021-08-31 19:05:50.851856"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.6ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.2ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user4@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user4@example.com"], ["encrypted_password", "$2a$04$bSdBiF2aEW9Vga48nvtBe.kSfeLMjzdbltKe7o7mw5283V8rNv9fi"], ["created_at", "2021-08-31 19:06:11.513693"], ["updated_at", "2021-08-31 19:06:11.513693"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 4"], ["created_at", "2021-08-31 19:06:11.515945"], ["updated_at", "2021-08-31 19:06:11.515945"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 4"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 4"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:06:11.519136"], ["updated_at", "2021-08-31 19:06:11.519136"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.8ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.7ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (2.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (44.1ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user5@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (20.9ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user5@example.com"], ["encrypted_password", "$2a$04$9/iRxKn9JxFq.5xZo7LXhe8Gl92VWbCMZjZcoJZyDkRu6/1ZJ2PSG"], ["created_at", "2021-08-31 19:06:31.824251"], ["updated_at", "2021-08-31 19:06:31.824251"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.6ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 5"], ["created_at", "2021-08-31 19:06:31.847109"], ["updated_at", "2021-08-31 19:06:31.847109"]]
+ [1m[36mTRANSACTION (1.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 5"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 5"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:06:31.872496"], ["updated_at", "2021-08-31 19:06:31.872496"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (2.5ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user1@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user1@example.com"], ["encrypted_password", "$2a$04$p46t4aD8yscB9RTUcdjma.EBAjKP3eapFSpKQBeBkE4Xz547P4RLy"], ["created_at", "2021-08-31 19:06:52.381531"], ["updated_at", "2021-08-31 19:06:52.381531"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 1"], ["created_at", "2021-08-31 19:06:52.386616"], ["updated_at", "2021-08-31 19:06:52.386616"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 1"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 1"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:06:52.399624"], ["updated_at", "2021-08-31 19:06:52.399624"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:06:52 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:06:52.410289"], ["last_sign_in_at", "2021-08-31 19:06:52.410289"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:06:52.410458"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? AND ('t'='f') LIMIT 1 [["id", "1"]]
-Completed 404 Not Found in 6ms
- [1m[36m (1.9ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.0ms)[0m [1mrollback transaction[0m
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAdminUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
-Binary data inserted for `string` type on column `encrypted_password`
- [1m[35mSQL (44.0ms)[0m INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:05:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$zij10JhewaP09fsLaHFAYev.hZlHc/G2QI66.76vbq9LfFYk9dJEu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 04 Sep 2013 00:05:39 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 04 Sep 2013 00:05:39 UTC +00:00], ["name", "Category 1"], ["updated_at", Wed, 04 Sep 2013 00:05:39 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Wed, 04 Sep 2013 00:05:39 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Wed, 04 Sep 2013 00:05:39 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:05:39 -0400
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-09-04 00:05:39.223769', "current_sign_in_at" = '2013-09-04 00:05:39.223769', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-04 00:05:39.224754' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.2ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 226.2ms | Allocations: 76777)
+Completed 200 OK in 265ms (Views: 235.9ms | ActiveRecord: 0.4ms | Allocations: 85237)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user2@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user2@example.com"], ["encrypted_password", "$2a$04$NRU3cDTSPGrVhsTHzaCXPOzQrdqAQxFsaQ0WgmW69exarRBZOIY3G"], ["created_at", "2021-08-31 19:06:52.789600"], ["updated_at", "2021-08-31 19:06:52.789600"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 2"], ["created_at", "2021-08-31 19:06:52.791977"], ["updated_at", "2021-08-31 19:06:52.791977"]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 2"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 2"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:06:52.795502"], ["updated_at", "2021-08-31 19:06:52.795502"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:06:52 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:06:52.798921"], ["last_sign_in_at", "2021-08-31 19:06:52.798921"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:06:52.799080"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? AND ('t'='f') LIMIT 1 [["id", "1"]]
-Completed 404 Not Found in 6ms
- [1m[36m (1.9ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAdminUser Exists (0.1ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
-Binary data inserted for `string` type on column `encrypted_password`
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 04 Sep 2013 00:05:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$3SYDvu9906nHeVabwR9y.eJHjwa/MO7H0YlaWwNxNF9IWiohGug3a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 04 Sep 2013 00:05:39 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:05:39 UTC +00:00], ["name", "Category 2"], ["updated_at", Wed, 04 Sep 2013 00:05:39 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mPost Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Wed, 04 Sep 2013 00:05:39 UTC +00:00], ["status", "draft"], ["title", "Post 2"], ["updated_at", Wed, 04 Sep 2013 00:05:39 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:05:39 -0400
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-04 00:05:39.260494', "current_sign_in_at" = '2013-09-04 00:05:39.260494', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-04 00:05:39.260944' WHERE "admin_users"."id" = 1
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 9.1ms | Allocations: 9047)
+Completed 200 OK in 11ms (Views: 9.5ms | ActiveRecord: 0.3ms | Allocations: 9951)
+Started GET "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2021-08-31 15:06:52 -0400
+Processing by Admin::PostsController#reopen as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mAdminUser Load (0.2ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+Redirected to http://www.example.com/admin/dashboard
+Completed 302 Found in 2ms (ActiveRecord: 0.2ms | Allocations: 760)
+Started GET "/admin/dashboard" for 127.0.0.1 at 2021-08-31 15:06:52 -0400
+Processing by Admin::DashboardController#index as HTML
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/page/index.html.arb
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/page/index.html.arb (Duration: 5.2ms | Allocations: 4707)
+Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.1ms | Allocations: 6011)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user3@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user3@example.com"], ["encrypted_password", "$2a$04$qIsFVAPvTtmbHFh3JWT9m.FWWOWrq/FO.13Yx.pMGTyJPqI3TLyU6"], ["created_at", "2021-08-31 19:06:52.852678"], ["updated_at", "2021-08-31 19:06:52.852678"]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 3"], ["created_at", "2021-08-31 19:06:52.854954"], ["updated_at", "2021-08-31 19:06:52.854954"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 3"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user4@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user4@example.com"], ["encrypted_password", "$2a$04$9ezXNnQFXZRzBjTT8kGOm.Id7NsCNBe3JtvzV95dD/n3bWNfpn4G2"], ["created_at", "2021-08-31 19:06:52.880973"], ["updated_at", "2021-08-31 19:06:52.880973"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 4"], ["created_at", "2021-08-31 19:06:52.883239"], ["updated_at", "2021-08-31 19:06:52.883239"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 4"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.6ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.6ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.2ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (1.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (1.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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.6ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user5@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user5@example.com"], ["encrypted_password", "$2a$04$s4ITwOCQjb4g1/W3xzE8i.6Ore8tLXru7ICFtnw.ixr.bu0nyBPeS"], ["created_at", "2021-08-31 19:06:52.922613"], ["updated_at", "2021-08-31 19:06:52.922613"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 5"], ["created_at", "2021-08-31 19:06:52.925864"], ["updated_at", "2021-08-31 19:06:52.925864"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 5"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 5"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:06:52.930186"], ["updated_at", "2021-08-31 19:06:52.930186"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:06:58 -0400
+ [1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:06:58.999581"], ["last_sign_in_at", "2021-08-31 19:06:58.999581"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:06:59.000873"], ["id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[35mCategory Load (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36mPost Load (0.0ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? AND ('t'='f') LIMIT 1[0m [["id", "1"]]
-Completed 404 Not Found in 2ms
- [1m[35m (0.5ms)[0m rollback transaction
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAdminUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
-Binary data inserted for `string` type on column `encrypted_password`
- [1m[35mSQL (43.8ms)[0m INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:06:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$I./NhJyf2r3EagDKiEq9kO.ww2DXPUq7Lzea85gLj9bdCK0Z8ms8S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 04 Sep 2013 00:06:09 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 04 Sep 2013 00:06:09 UTC +00:00], ["name", "Category 1"], ["updated_at", Wed, 04 Sep 2013 00:06:09 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Wed, 04 Sep 2013 00:06:09 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Wed, 04 Sep 2013 00:06:09 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:06:09 -0400
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-09-04 00:06:09.707894', "current_sign_in_at" = '2013-09-04 00:06:09.707894', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-04 00:06:09.708744' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mCategory Load (0.3ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.2ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 12.6ms | Allocations: 9087)
+Completed 200 OK in 17ms (Views: 13.1ms | ActiveRecord: 0.5ms | Allocations: 10040)
+Started GET "/assets/active_admin-7e9d70f63036f2488cd96a0dba0b3be93e30b9023b574f0c19a673ac83072e17.css" for 127.0.0.1 at 2021-08-31 15:06:59 -0400
+Started GET "/assets/active_admin/print-f6ce3ffc349ca6c010940202a36b916e852d26179018d2cdc1513350bea7dcba.css" for 127.0.0.1 at 2021-08-31 15:06:59 -0400
+Started GET "/assets/active_admin-9dbfb3c7d6c5060ec15c0f398011488cb7ef48a212410e256cb15388ba4957e3.js" for 127.0.0.1 at 2021-08-31 15:06:59 -0400
+ [1m[35m (0.3ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[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.3ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (3.3ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.4ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.6ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.6ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user6@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (1.1ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user6@example.com"], ["encrypted_password", "$2a$04$Dhd/tIlHMhf8QEos.xrfQO7xwWAFsLnS58wgSkXL97CP6pLkD7O/C"], ["created_at", "2021-08-31 19:06:59.454728"], ["updated_at", "2021-08-31 19:06:59.454728"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 6"], ["created_at", "2021-08-31 19:06:59.457746"], ["updated_at", "2021-08-31 19:06:59.457746"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 6"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 6"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:06:59.462496"], ["updated_at", "2021-08-31 19:06:59.462496"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:06:59 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:06:59.472198"], ["last_sign_in_at", "2021-08-31 19:06:59.472198"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:06:59.472400"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? AND ('t'='f') LIMIT 1 [["id", "1"]]
-Completed 404 Not Found in 6ms
- [1m[36m (2.5ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAdminUser Exists (0.2ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
-Binary data inserted for `string` type on column `encrypted_password`
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 04 Sep 2013 00:06:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$PAHXe4RFC9Zr6rIV2IN52O2Fvdyu.3qIE01GL6yzegMYiW1mK12VW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 04 Sep 2013 00:06:09 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.5ms)[0m [1mrollback transaction[0m
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAdminUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
-Binary data inserted for `string` type on column `encrypted_password`
- [1m[35mSQL (1.2ms)[0m INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:07:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$PRulWDXS8DycYdbSNiENve.IGL8DTAoN9IVJvlsXudHh9jpq8gYoq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 04 Sep 2013 00:07:50 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 04 Sep 2013 00:07:50 UTC +00:00], ["name", "Category 1"], ["updated_at", Wed, 04 Sep 2013 00:07:50 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Wed, 04 Sep 2013 00:07:50 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Wed, 04 Sep 2013 00:07:50 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:07:50 -0400
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-09-04 00:07:50.317769', "current_sign_in_at" = '2013-09-04 00:07:50.317769', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-04 00:07:50.318573' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 23.6ms | Allocations: 9048)
+Completed 200 OK in 28ms (Views: 24.0ms | ActiveRecord: 0.2ms | Allocations: 9965)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.8ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user7@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user7@example.com"], ["encrypted_password", "$2a$04$6R2lpAC/tCuyrDXMaaxM/e5hgNOAKVdiCui08F42uGfcNtK8Nfg9K"], ["created_at", "2021-08-31 19:06:59.752345"], ["updated_at", "2021-08-31 19:06:59.752345"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 7"], ["created_at", "2021-08-31 19:06:59.755296"], ["updated_at", "2021-08-31 19:06:59.755296"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 7"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 7"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:06:59.759674"], ["updated_at", "2021-08-31 19:06:59.759674"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:06:59 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:06:59.768467"], ["last_sign_in_at", "2021-08-31 19:06:59.768467"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:06:59.768658"], ["id", 1]]
+ [1m[36mTRANSACTION (1.4ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? AND ('t'='f') LIMIT 1 [["id", "1"]]
-Completed 404 Not Found in 6ms
- [1m[36m (1.8ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAdminUser Exists (0.1ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
-Binary data inserted for `string` type on column `encrypted_password`
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 04 Sep 2013 00:07:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$0LLFWKinsCd2q3jljt37BuXbf8CmxGzH0NldbqfRjfKwSoXe9G5rS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 04 Sep 2013 00:07:50 UTC +00:00]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.4ms)[0m [1mrollback transaction[0m
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAdminUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
-Binary data inserted for `string` type on column `encrypted_password`
- [1m[35mSQL (1.2ms)[0m INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:08:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$9OqfSQabmmcM9dgrCmJNIuWTc195V4MRkyeRCbTKqAAA5SXuIxodu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 04 Sep 2013 00:08:04 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 04 Sep 2013 00:08:04 UTC +00:00], ["name", "Category 1"], ["updated_at", Wed, 04 Sep 2013 00:08:04 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Wed, 04 Sep 2013 00:08:04 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Wed, 04 Sep 2013 00:08:04 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:08:04 -0400
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-09-04 00:08:04.284388', "current_sign_in_at" = '2013-09-04 00:08:04.284388', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-04 00:08:04.285208' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 37.0ms | Allocations: 9047)
+Completed 200 OK in 41ms (Views: 37.3ms | ActiveRecord: 0.3ms | Allocations: 9948)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.2ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (5.7ms)[0m [1m[31mDELETE FROM "active_admin_comments"[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'active_admin_comments';[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (2.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (2.2ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user8@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user8@example.com"], ["encrypted_password", "$2a$04$aJ8yeE9ZM/Mg7UrYTh/UP.qNYXfXpMKFU8SAQFrzSF49jCZkas.tG"], ["created_at", "2021-08-31 19:07:00.070136"], ["updated_at", "2021-08-31 19:07:00.070136"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (1.1ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (1.0ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 8"], ["created_at", "2021-08-31 19:07:00.073156"], ["updated_at", "2021-08-31 19:07:00.073156"]]
+ [1m[36mTRANSACTION (1.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 8"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.4ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 8"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:07:00.078392"], ["updated_at", "2021-08-31 19:07:00.078392"], ["category_id", 1]]
+ [1m[36mTRANSACTION (1.0ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:07:00 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:07:00.086593"], ["last_sign_in_at", "2021-08-31 19:07:00.086593"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:07:00.086868"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? AND ('t'='f') LIMIT 1 [["id", "1"]]
-Completed 404 Not Found in 6ms
- [1m[36m (0.5ms)[0m [1mrollback transaction[0m
- [1m[35m (0.0ms)[0m begin transaction
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAdminUser Exists (0.1ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
-Binary data inserted for `string` type on column `encrypted_password`
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 04 Sep 2013 00:08:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$TqY/zpNMoiIfKSCAdSWx8u5G2ItXTjE2VMHzFGR9voAshrlJcpBN."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 04 Sep 2013 00:08:04 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:08:04 UTC +00:00], ["name", "Category 2"], ["updated_at", Wed, 04 Sep 2013 00:08:04 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mPost Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Wed, 04 Sep 2013 00:08:04 UTC +00:00], ["status", "draft"], ["title", "Post 2"], ["updated_at", Wed, 04 Sep 2013 00:08:04 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:08:04 -0400
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-04 00:08:04.316462', "current_sign_in_at" = '2013-09-04 00:08:04.316462', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-04 00:08:04.316911' WHERE "admin_users"."id" = 1
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.2ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 15.1ms | Allocations: 9047)
+Completed 200 OK in 18ms (Views: 15.6ms | ActiveRecord: 0.4ms | Allocations: 9950)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (2.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user1@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.5ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user1@example.com"], ["encrypted_password", "$2a$04$fVPzFIE9OnVlbHejGypqxOWOObh0qLp3AeFDdauugtkQcs/5bUaS."], ["created_at", "2021-08-31 19:08:00.226306"], ["updated_at", "2021-08-31 19:08:00.226306"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 1"], ["created_at", "2021-08-31 19:08:00.232464"], ["updated_at", "2021-08-31 19:08:00.232464"]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 1"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 1"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:08:00.264414"], ["updated_at", "2021-08-31 19:08:00.264414"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:08:00 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:08:00.275662"], ["last_sign_in_at", "2021-08-31 19:08:00.275662"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:08:00.275853"], ["id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[35mCategory Load (0.1ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36mPost Load (0.0ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? AND ('t'='f') LIMIT 1[0m [["id", "1"]]
-Completed 404 Not Found in 2ms
- [1m[35m (0.6ms)[0m rollback transaction
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAdminUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
-Binary data inserted for `string` type on column `encrypted_password`
- [1m[35mSQL (1.3ms)[0m INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:08:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$EIyeQDJjeDiThaeznAFqveY8P3N5Qson3Yt1yYT3AzAlFZSyDhu0e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 04 Sep 2013 00:08:34 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 04 Sep 2013 00:08:34 UTC +00:00], ["name", "Category 1"], ["updated_at", Wed, 04 Sep 2013 00:08:34 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Wed, 04 Sep 2013 00:08:34 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Wed, 04 Sep 2013 00:08:34 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:08:34 -0400
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-09-04 00:08:34.437266', "current_sign_in_at" = '2013-09-04 00:08:34.437266', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-04 00:08:34.438006' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.2ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 216.6ms | Allocations: 76727)
+Completed 200 OK in 257ms (Views: 227.3ms | ActiveRecord: 0.4ms | Allocations: 85185)
+Started GET "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2021-08-31 15:08:00 -0400
+Processing by Admin::PostsController#reopen as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mAdminUser Load (0.2ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+Redirected to http://www.example.com/admin/dashboard
+Completed 302 Found in 2ms (ActiveRecord: 0.2ms | Allocations: 766)
+Started GET "/admin/dashboard" for 127.0.0.1 at 2021-08-31 15:08:00 -0400
+Processing by Admin::DashboardController#index as HTML
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/page/index.html.arb
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/page/index.html.arb (Duration: 5.3ms | Allocations: 4707)
+Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.1ms | Allocations: 6019)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user2@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user2@example.com"], ["encrypted_password", "$2a$04$98Qy5uHK5boIStWva2ZR8OU827IijRhSQVTtyhokaRn8/CdXalfau"], ["created_at", "2021-08-31 19:08:00.642806"], ["updated_at", "2021-08-31 19:08:00.642806"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 2"], ["created_at", "2021-08-31 19:08:00.645884"], ["updated_at", "2021-08-31 19:08:00.645884"]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 2"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 2"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:08:00.651081"], ["updated_at", "2021-08-31 19:08:00.651081"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:08:00 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:08:00.655935"], ["last_sign_in_at", "2021-08-31 19:08:00.655935"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:08:00.656083"], ["id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? AND ('t'='f') LIMIT 1 [["id", "1"]]
-Completed 404 Not Found in 6ms
- [1m[36m (1.9ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAdminUser Exists (0.1ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
-Binary data inserted for `string` type on column `encrypted_password`
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 04 Sep 2013 00:08:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$dx45BKIrtyj7PnXXtBmXjuXWSJGciNyp3k08ad5z4lTjMZN0Mvfsu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 04 Sep 2013 00:08:34 UTC +00:00]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.6ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:09:15 UTC +00:00], ["name", "Category 2"], ["updated_at", Wed, 04 Sep 2013 00:09:15 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mPost Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Wed, 04 Sep 2013 00:09:15 UTC +00:00], ["status", "draft"], ["title", "Post 2"], ["updated_at", Wed, 04 Sep 2013 00:09:15 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:09:15 -0400
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-04 00:09:15.381544', "current_sign_in_at" = '2013-09-04 00:09:15.381544', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-04 00:09:15.382008' WHERE "admin_users"."id" = 1
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 20.4ms | Allocations: 9072)
+Completed 200 OK in 25ms (Views: 20.8ms | ActiveRecord: 0.4ms | Allocations: 9976)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user3@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user3@example.com"], ["encrypted_password", "$2a$04$R6pD7BdYqtK9cGfnXSonP.bHBCPwbq7tLuRubWzFvj9Ne/9X8ldTa"], ["created_at", "2021-08-31 19:08:00.714112"], ["updated_at", "2021-08-31 19:08:00.714112"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 3"], ["created_at", "2021-08-31 19:08:00.716747"], ["updated_at", "2021-08-31 19:08:00.716747"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 3"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.3ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (2.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.9ms)[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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (1.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user4@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user4@example.com"], ["encrypted_password", "$2a$04$aLv19c/sDSZ3HAuJ1bafIOuB5.mWSXm6nEy2Z6L03XMly3FZBj7WC"], ["created_at", "2021-08-31 19:08:00.750159"], ["updated_at", "2021-08-31 19:08:00.750159"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 4"], ["created_at", "2021-08-31 19:08:00.752988"], ["updated_at", "2021-08-31 19:08:00.752988"]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 4"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.9ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user5@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user5@example.com"], ["encrypted_password", "$2a$04$L81N6zhFCbKfBwvJyZamkuznsUVRETV5Cac3FIn.NEpek7FP25CP6"], ["created_at", "2021-08-31 19:08:00.786783"], ["updated_at", "2021-08-31 19:08:00.786783"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (1.3ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 5"], ["created_at", "2021-08-31 19:08:00.790751"], ["updated_at", "2021-08-31 19:08:00.790751"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 5"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 5"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:08:00.795360"], ["updated_at", "2021-08-31 19:08:00.795360"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:08:01 -0400
+ [1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:08:01.952187"], ["last_sign_in_at", "2021-08-31 19:08:01.952187"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:08:01.953510"], ["id", 1]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[35mCategory Load (0.1ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? AND ('t'='f') LIMIT 1[0m [["id", "1"]]
-Completed 404 Not Found in 6ms
- [1m[35m (0.9ms)[0m rollback transaction
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAdminUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
-Binary data inserted for `string` type on column `encrypted_password`
- [1m[35mSQL (1.2ms)[0m INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:09:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$MdyGU3s4QihbxSNAhkgPq.17xU7BzewV3UJqVYOgo30UG.E09GDx6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 04 Sep 2013 00:09:19 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 04 Sep 2013 00:09:19 UTC +00:00], ["name", "Category 1"], ["updated_at", Wed, 04 Sep 2013 00:09:19 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Wed, 04 Sep 2013 00:09:20 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Wed, 04 Sep 2013 00:09:20 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:09:20 -0400
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-09-04 00:09:20.028943', "current_sign_in_at" = '2013-09-04 00:09:20.028943', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-04 00:09:20.029728' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.4ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 21.5ms | Allocations: 9055)
+Completed 200 OK in 24ms (Views: 21.9ms | ActiveRecord: 0.5ms | Allocations: 10007)
+Started GET "/assets/active_admin/print-f6ce3ffc349ca6c010940202a36b916e852d26179018d2cdc1513350bea7dcba.css" for 127.0.0.1 at 2021-08-31 15:08:02 -0400
+Started GET "/assets/active_admin-9dbfb3c7d6c5060ec15c0f398011488cb7ef48a212410e256cb15388ba4957e3.js" for 127.0.0.1 at 2021-08-31 15:08:02 -0400
+Started GET "/assets/active_admin-7e9d70f63036f2488cd96a0dba0b3be93e30b9023b574f0c19a673ac83072e17.css" for 127.0.0.1 at 2021-08-31 15:08:06 -0400
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.5ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user6@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.5ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user6@example.com"], ["encrypted_password", "$2a$04$fWVw6E3397H8acTcEjMZguzh6MDRubpHYsy.GsfbGiKsDww3.qImu"], ["created_at", "2021-08-31 19:08:07.370653"], ["updated_at", "2021-08-31 19:08:07.370653"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (1.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 6"], ["created_at", "2021-08-31 19:08:07.389413"], ["updated_at", "2021-08-31 19:08:07.389413"]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 6"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 6"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:08:07.393226"], ["updated_at", "2021-08-31 19:08:07.393226"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:08:07 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:08:07.400675"], ["last_sign_in_at", "2021-08-31 19:08:07.400675"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:08:07.400883"], ["id", 1]]
+ [1m[36mTRANSACTION (1.0ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? AND ('t'='f') LIMIT 1 [["id", "1"]]
-Completed 404 Not Found in 30338ms
- [1m[36m (0.2ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAdminUser Exists (0.2ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
-Binary data inserted for `string` type on column `encrypted_password`
- [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 04 Sep 2013 00:09:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$sv1scEulwfxzScBOtmgTGeGcc2PC6aUOQ57hXV7p2ri4XAsh6AA7K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 04 Sep 2013 00:09:50 UTC +00:00]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:09:51 UTC +00:00], ["name", "Category 2"], ["updated_at", Wed, 04 Sep 2013 00:09:51 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mPost Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Wed, 04 Sep 2013 00:09:51 UTC +00:00], ["status", "draft"], ["title", "Post 2"], ["updated_at", Wed, 04 Sep 2013 00:09:51 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:09:51 -0400
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-04 00:09:51.392942', "current_sign_in_at" = '2013-09-04 00:09:51.392942', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-04 00:09:51.393424' WHERE "admin_users"."id" = 1
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 9.5ms | Allocations: 9052)
+Completed 200 OK in 12ms (Views: 9.8ms | ActiveRecord: 0.2ms | Allocations: 9955)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user7@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.5ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user7@example.com"], ["encrypted_password", "$2a$04$7GZlEHaYhqmFSXkfVSbtouGpkPmqaUKXfWklf6Fo2LT8beaoaIKuG"], ["created_at", "2021-08-31 19:08:07.651427"], ["updated_at", "2021-08-31 19:08:07.651427"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 7"], ["created_at", "2021-08-31 19:08:07.654041"], ["updated_at", "2021-08-31 19:08:07.654041"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 7"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 7"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:08:07.657791"], ["updated_at", "2021-08-31 19:08:07.657791"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:08:07 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:08:07.665108"], ["last_sign_in_at", "2021-08-31 19:08:07.665108"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:08:07.665374"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[35mCategory Load (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? AND ('t'='f') LIMIT 1[0m [["id", "1"]]
-Completed 404 Not Found in 513ms
- [1m[35m (1.7ms)[0m rollback transaction
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAdminUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
-Binary data inserted for `string` type on column `encrypted_password`
- [1m[35mSQL (43.0ms)[0m INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:09:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$ZGh/6k6cO/AnPj6NLwMj1OLKXslPN1AzGKa5XWqmhF0Y6F8.ZjUJG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 04 Sep 2013 00:09:58 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 04 Sep 2013 00:09:58 UTC +00:00], ["name", "Category 1"], ["updated_at", Wed, 04 Sep 2013 00:09:58 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Wed, 04 Sep 2013 00:09:58 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Wed, 04 Sep 2013 00:09:58 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:09:58 -0400
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-09-04 00:09:58.565021', "current_sign_in_at" = '2013-09-04 00:09:58.565021', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-04 00:09:58.565808' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 9.4ms | Allocations: 9045)
+Completed 200 OK in 12ms (Views: 9.8ms | ActiveRecord: 0.2ms | Allocations: 9946)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user8@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user8@example.com"], ["encrypted_password", "$2a$04$4S2lvCC86GcdC5VNjHrVOeUp5h98LP3UFPrVg3DFTV9HBhZ8IWKaS"], ["created_at", "2021-08-31 19:08:07.912220"], ["updated_at", "2021-08-31 19:08:07.912220"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 8"], ["created_at", "2021-08-31 19:08:07.914501"], ["updated_at", "2021-08-31 19:08:07.914501"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 8"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 8"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:08:07.917481"], ["updated_at", "2021-08-31 19:08:07.917481"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:08:07 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:08:07.924368"], ["last_sign_in_at", "2021-08-31 19:08:07.924368"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:08:07.924617"], ["id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? AND ('t'='f') LIMIT 1 [["id", "1"]]
-Completed 404 Not Found in 6ms
- [1m[36m (0.8ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAdminUser Exists (0.1ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
-Binary data inserted for `string` type on column `encrypted_password`
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 04 Sep 2013 00:09:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$eNyQmDXguZM6v/8.E6I6meXIn7aVONzdF7FvqhCr767aTm3PjDx.."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 04 Sep 2013 00:09:58 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.4ms)[0m [1mrollback transaction[0m
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAdminUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
-Binary data inserted for `string` type on column `encrypted_password`
- [1m[35mSQL (44.2ms)[0m INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:10:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$xrcY7pUO9mBSjH91B1XTGurG./wZPtaPtFyboDfIIMqL6NMoomy1C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 04 Sep 2013 00:10:11 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 04 Sep 2013 00:10:11 UTC +00:00], ["name", "Category 1"], ["updated_at", Wed, 04 Sep 2013 00:10:11 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Wed, 04 Sep 2013 00:10:11 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Wed, 04 Sep 2013 00:10:11 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:10:11 -0400
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-09-04 00:10:11.986599', "current_sign_in_at" = '2013-09-04 00:10:11.986599', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-04 00:10:11.987438' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 9.9ms | Allocations: 9045)
+Completed 200 OK in 12ms (Views: 10.2ms | ActiveRecord: 0.3ms | Allocations: 9946)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (2.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.6ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.3ms)[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user1@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user1@example.com"], ["encrypted_password", "$2a$04$LJBHgfChKjJqZqNDQmhkvOhE1Be/Qc6YPAaKen6qzzkn7oYd3maUO"], ["created_at", "2021-08-31 19:09:20.433191"], ["updated_at", "2021-08-31 19:09:20.433191"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 1"], ["created_at", "2021-08-31 19:09:20.438992"], ["updated_at", "2021-08-31 19:09:20.438992"]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 1"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user2@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user2@example.com"], ["encrypted_password", "$2a$04$6vjaeW.Em7RijmZN9jz0HuO5UIBtidDa5hURmF/QYpyrhRZ3cHx4y"], ["created_at", "2021-08-31 19:09:20.504411"], ["updated_at", "2021-08-31 19:09:20.504411"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 2"], ["created_at", "2021-08-31 19:09:20.506610"], ["updated_at", "2021-08-31 19:09:20.506610"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 2"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user3@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user3@example.com"], ["encrypted_password", "$2a$04$h6XBK4F2mWv.xj1Vo9V/GuuiOOWtyC5b4krReHPiUCqpQhSCY0Trq"], ["created_at", "2021-08-31 19:09:20.531399"], ["updated_at", "2021-08-31 19:09:20.531399"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (1.2ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 3"], ["created_at", "2021-08-31 19:09:20.534433"], ["updated_at", "2021-08-31 19:09:20.534433"]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 3"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.5ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 3"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:09:20.538049"], ["updated_at", "2021-08-31 19:09:20.538049"], ["category_id", 1]]
+ [1m[36mTRANSACTION (1.0ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:09:20 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:09:20.549279"], ["last_sign_in_at", "2021-08-31 19:09:20.549279"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:09:20.549477"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? AND ('t'='f') LIMIT 1 [["id", "1"]]
-Completed 404 Not Found in 6ms
- [1m[36m (1.9ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAdminUser Exists (0.2ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
-Binary data inserted for `string` type on column `encrypted_password`
- [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 04 Sep 2013 00:10:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$/Na9mO36le1h3J.W6.vft.ywCLGNHxojFt5PmTtRMhO4qMaC8dIBi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 04 Sep 2013 00:10:12 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:10:12 UTC +00:00], ["name", "Category 2"], ["updated_at", Wed, 04 Sep 2013 00:10:12 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mPost Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Wed, 04 Sep 2013 00:10:12 UTC +00:00], ["status", "draft"], ["title", "Post 2"], ["updated_at", Wed, 04 Sep 2013 00:10:12 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:10:12 -0400
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-04 00:10:12.023229', "current_sign_in_at" = '2013-09-04 00:10:12.023229', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-04 00:10:12.023627' WHERE "admin_users"."id" = 1
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 172.5ms | Allocations: 76616)
+Completed 200 OK in 204ms (Views: 180.2ms | ActiveRecord: 0.3ms | Allocations: 85075)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user4@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user4@example.com"], ["encrypted_password", "$2a$04$3zkDNS6Vy.Ez0j/xBHly.eD6R3F87Yfz.A4HHXmba7GVsGmE5LFti"], ["created_at", "2021-08-31 19:09:20.812302"], ["updated_at", "2021-08-31 19:09:20.812302"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 4"], ["created_at", "2021-08-31 19:09:20.814440"], ["updated_at", "2021-08-31 19:09:20.814440"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 4"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 4"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:09:20.817076"], ["updated_at", "2021-08-31 19:09:20.817076"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:09:20 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:09:20.819773"], ["last_sign_in_at", "2021-08-31 19:09:20.819773"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:09:20.819888"], ["id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[35mCategory Load (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1[0m [["id", "1"]]
- [1m[35mCategory Load (0.2ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- [1m[36mCACHE (0.0ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (23.7ms)
-Completed 200 OK in 33ms (Views: 30.2ms | ActiveRecord: 0.3ms)
- [1m[35m (0.6ms)[0m rollback transaction
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAdminUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
-Binary data inserted for `string` type on column `encrypted_password`
- [1m[35mSQL (43.9ms)[0m INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:11:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$G3Vukvuw6A4wfFIH2TQI.eDkrVzIs9b9aMrpEqAGT7QsGYOTl6EJK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 04 Sep 2013 00:11:02 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 04 Sep 2013 00:11:02 UTC +00:00], ["name", "Category 1"], ["updated_at", Wed, 04 Sep 2013 00:11:02 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Wed, 04 Sep 2013 00:11:02 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Wed, 04 Sep 2013 00:11:02 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:11:02 -0400
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-09-04 00:11:02.275189', "current_sign_in_at" = '2013-09-04 00:11:02.275189', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-04 00:11:02.275938' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 24.2ms | Allocations: 9042)
+Completed 200 OK in 26ms (Views: 24.5ms | ActiveRecord: 0.2ms | Allocations: 9944)
+Started GET "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2021-08-31 15:09:20 -0400
+Processing by Admin::PostsController#reopen as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mAdminUser Load (0.2ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+Redirected to http://www.example.com/admin/dashboard
+Completed 302 Found in 2ms (ActiveRecord: 0.2ms | Allocations: 764)
+Started GET "/admin/dashboard" for 127.0.0.1 at 2021-08-31 15:09:20 -0400
+Processing by Admin::DashboardController#index as HTML
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/page/index.html.arb
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/page/index.html.arb (Duration: 4.7ms | Allocations: 4709)
+Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.1ms | Allocations: 6015)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user5@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user5@example.com"], ["encrypted_password", "$2a$04$G1ut/7bhSfpXHX/qqrsxx.Gh6FdPoixEkaOcvQGm0BDjT0/CFI.qO"], ["created_at", "2021-08-31 19:09:20.885793"], ["updated_at", "2021-08-31 19:09:20.885793"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 5"], ["created_at", "2021-08-31 19:09:20.887726"], ["updated_at", "2021-08-31 19:09:20.887726"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 5"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 5"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:09:20.890424"], ["updated_at", "2021-08-31 19:09:20.890424"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:09:22 -0400
+ [1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:09:22.026938"], ["last_sign_in_at", "2021-08-31 19:09:22.026938"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:09:22.028696"], ["id", 1]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (17.7ms)
-Completed 200 OK in 30ms (Views: 23.4ms | ActiveRecord: 0.4ms)
- [1m[36m (1.9ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAdminUser Exists (0.1ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
-Binary data inserted for `string` type on column `encrypted_password`
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 04 Sep 2013 00:11:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$3e/QyX8wbjGPY9rFbwrGj.G0cqL.ozJOgM14a8EN5KqBmVrb4bLkG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 04 Sep 2013 00:11:02 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:11:02 UTC +00:00], ["name", "Category 2"], ["updated_at", Wed, 04 Sep 2013 00:11:02 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mPost Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Wed, 04 Sep 2013 00:11:02 UTC +00:00], ["status", "draft"], ["title", "Post 2"], ["updated_at", Wed, 04 Sep 2013 00:11:02 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:11:02 -0400
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-04 00:11:02.336229', "current_sign_in_at" = '2013-09-04 00:11:02.336229', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-04 00:11:02.336664' WHERE "admin_users"."id" = 1
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 43.3ms | Allocations: 9080)
+Completed 200 OK in 47ms (Views: 43.8ms | ActiveRecord: 0.3ms | Allocations: 10033)
+Started GET "/assets/active_admin-9dbfb3c7d6c5060ec15c0f398011488cb7ef48a212410e256cb15388ba4957e3.js" for 127.0.0.1 at 2021-08-31 15:09:22 -0400
+Started GET "/assets/active_admin/print-f6ce3ffc349ca6c010940202a36b916e852d26179018d2cdc1513350bea7dcba.css" for 127.0.0.1 at 2021-08-31 15:09:22 -0400
+Started GET "/assets/active_admin-7e9d70f63036f2488cd96a0dba0b3be93e30b9023b574f0c19a673ac83072e17.css" for 127.0.0.1 at 2021-08-31 15:09:27 -0400
+ [1m[35m (0.2ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user6@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user6@example.com"], ["encrypted_password", "$2a$04$TKzQfqrXLTAraOLwRWk3WOwOnBcEEFFakq6JiTK51gPTU2LLKq0SG"], ["created_at", "2021-08-31 19:09:27.430720"], ["updated_at", "2021-08-31 19:09:27.430720"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (1.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 6"], ["created_at", "2021-08-31 19:09:27.433224"], ["updated_at", "2021-08-31 19:09:27.433224"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 6"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 6"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:09:27.436179"], ["updated_at", "2021-08-31 19:09:27.436179"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:09:27 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:09:27.443042"], ["last_sign_in_at", "2021-08-31 19:09:27.443042"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:09:27.443243"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[35mCategory Load (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1[0m [["id", "1"]]
- [1m[35mCategory Load (0.1ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- [1m[36mCACHE (0.0ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (15.5ms)
-Completed 200 OK in 19ms (Views: 16.0ms | ActiveRecord: 0.2ms)
- [1m[35m (0.5ms)[0m rollback transaction
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAdminUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
-Binary data inserted for `string` type on column `encrypted_password`
- [1m[35mSQL (4.2ms)[0m INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 07 Sep 2013 02:49:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$rlPLwgTgqzFWEhZo91VhreBHRfXkvwJAO7LQiuJJ41JhND/fP8SN."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 07 Sep 2013 02:49:41 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.9ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 07 Sep 2013 02:49:41 UTC +00:00], ["name", "Category 1"], ["updated_at", Sat, 07 Sep 2013 02:49:41 UTC +00:00]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 07 Sep 2013 02:49:41 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Sat, 07 Sep 2013 02:49:41 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-06 22:49:41 -0400
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-09-07 02:49:41.333791', "current_sign_in_at" = '2013-09-07 02:49:41.333791', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-07 02:49:41.334752' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 10.5ms | Allocations: 9048)
+Completed 200 OK in 13ms (Views: 10.9ms | ActiveRecord: 0.3ms | Allocations: 9951)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user7@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user7@example.com"], ["encrypted_password", "$2a$04$P9Avt20AEQSJPjVQHLTxgusd56.Wdy8heULjx1OaCw9xZ5RxT56vq"], ["created_at", "2021-08-31 19:09:27.678211"], ["updated_at", "2021-08-31 19:09:27.678211"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 7"], ["created_at", "2021-08-31 19:09:27.680761"], ["updated_at", "2021-08-31 19:09:27.680761"]]
+ [1m[36mTRANSACTION (1.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 7"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.4ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 7"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:09:27.684455"], ["updated_at", "2021-08-31 19:09:27.684455"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:09:27 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:09:27.691757"], ["last_sign_in_at", "2021-08-31 19:09:27.691757"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:09:27.691978"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (21.5ms)
-Completed 200 OK in 83ms (Views: 74.5ms | ActiveRecord: 0.4ms)
- [1m[36m (1.2ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAdminUser Exists (0.1ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
-Binary data inserted for `string` type on column `encrypted_password`
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 07 Sep 2013 02:49:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$NoW802eduKTFAbyewpFt5uzgGT/vzUnSSErS/xuudS14GXbyyYrGa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 07 Sep 2013 02:49:41 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 07 Sep 2013 02:49:41 UTC +00:00], ["name", "Category 2"], ["updated_at", Sat, 07 Sep 2013 02:49:41 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mPost Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 07 Sep 2013 02:49:41 UTC +00:00], ["status", "draft"], ["title", "Post 2"], ["updated_at", Sat, 07 Sep 2013 02:49:41 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-06 22:49:41 -0400
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-07 02:49:41.454794', "current_sign_in_at" = '2013-09-07 02:49:41.454794', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-07 02:49:41.455281' WHERE "admin_users"."id" = 1
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 17.9ms | Allocations: 9045)
+Completed 200 OK in 20ms (Views: 18.3ms | ActiveRecord: 0.2ms | Allocations: 9946)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.7ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.9ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.9ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user8@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user8@example.com"], ["encrypted_password", "$2a$04$f84ZwERv.2PYJLRWSFMajeiqFoh6d7oA0siQUFlHPERcEQkmDaaRe"], ["created_at", "2021-08-31 19:09:27.959041"], ["updated_at", "2021-08-31 19:09:27.959041"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 8"], ["created_at", "2021-08-31 19:09:27.961855"], ["updated_at", "2021-08-31 19:09:27.961855"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 8"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 8"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:09:27.966301"], ["updated_at", "2021-08-31 19:09:27.966301"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:09:27 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:09:27.976476"], ["last_sign_in_at", "2021-08-31 19:09:27.976476"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:09:27.976700"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[35mCategory Load (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36mPost Load (0.0ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1[0m [["id", "1"]]
- [1m[35mCategory Load (0.1ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- [1m[36mCACHE (0.0ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (14.3ms)
-Completed 200 OK in 18ms (Views: 15.3ms | ActiveRecord: 0.2ms)
- [1m[35m (0.5ms)[0m rollback transaction
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAdminUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
-Binary data inserted for `string` type on column `encrypted_password`
- [1m[35mSQL (4.6ms)[0m INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Sep 2013 10:05:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$xhF5Eu6UyoQJnuk6O/FN..ND.ZUXH7P52CiK3Hae7DDSxN/kPx4Xe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Sep 2013 10:05:33 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.9ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sun, 08 Sep 2013 10:05:33 UTC +00:00], ["name", "Category 1"], ["updated_at", Sun, 08 Sep 2013 10:05:33 UTC +00:00]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sun, 08 Sep 2013 10:05:33 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Sun, 08 Sep 2013 10:05:33 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
- [1m[35m (1.0ms)[0m rollback transaction
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAdminUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
-Binary data inserted for `string` type on column `encrypted_password`
- [1m[35mSQL (1.8ms)[0m INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Sep 2013 10:06:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$84StaYPE.EwCrnCZ0HbgKuWz2GVvoOQyd9noIzrwZUk/bC77G0Uc2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Sep 2013 10:06:19 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sun, 08 Sep 2013 10:06:19 UTC +00:00], ["name", "Category 1"], ["updated_at", Sun, 08 Sep 2013 10:06:19 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sun, 08 Sep 2013 10:06:19 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Sun, 08 Sep 2013 10:06:19 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
- [1m[35m (1.9ms)[0m rollback transaction
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAdminUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
-Binary data inserted for `string` type on column `encrypted_password`
- [1m[35mSQL (1.2ms)[0m INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Sep 2013 10:07:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$s9EKXRxkn6U.2ZV1ZHEN6./935vxjycXSwHnOOsf/P0TNRZslU01G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Sep 2013 10:07:01 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sun, 08 Sep 2013 10:07:01 UTC +00:00], ["name", "Category 1"], ["updated_at", Sun, 08 Sep 2013 10:07:01 UTC +00:00]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sun, 08 Sep 2013 10:07:01 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Sun, 08 Sep 2013 10:07:01 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-08 06:07:02 -0400
- [1m[35m (0.5ms)[0m begin transaction
- [1m[36m (0.3ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-09-08 10:07:02.885893', "current_sign_in_at" = '2013-09-08 10:07:02.885893', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-08 10:07:02.887932' WHERE "admin_users"."id" = 1[0m
-SQLite3::BusyException: database is locked: UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-08 10:07:02.885893', "current_sign_in_at" = '2013-09-08 10:07:02.885893', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-08 10:07:02.887932' WHERE "admin_users"."id" = 1
- [1m[35m (0.0ms)[0m rollback transaction
- [1m[36m (0.3ms)[0m [1mrollback transaction[0m
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAdminUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
-Binary data inserted for `string` type on column `encrypted_password`
- [1m[35mSQL (1.1ms)[0m INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Sep 2013 10:07:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$pVzEvvwoqjqTaxfsxRhZB.j3gvH1bBa9NMoei8WZhl13PbFy/qvU6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Sep 2013 10:07:56 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sun, 08 Sep 2013 10:07:56 UTC +00:00], ["name", "Category 1"], ["updated_at", Sun, 08 Sep 2013 10:07:56 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sun, 08 Sep 2013 10:07:56 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Sun, 08 Sep 2013 10:07:56 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-08 06:07:57 -0400
- [1m[35m (0.3ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-09-08 10:07:57.340043', "current_sign_in_at" = '2013-09-08 10:07:57.340043', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-08 10:07:57.341610' WHERE "admin_users"."id" = 1[0m
-SQLite3::BusyException: database is locked: UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-08 10:07:57.340043', "current_sign_in_at" = '2013-09-08 10:07:57.340043', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-08 10:07:57.341610' WHERE "admin_users"."id" = 1
- [1m[35m (0.0ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "categories" [0m
- [1m[35mCategory Load (0.1ms)[0m SELECT "categories".* FROM "categories" LIMIT 1
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "posts" WHERE "posts"."category_id" = 1[0m
- [1m[35mCategory Load (0.1ms)[0m SELECT "categories".* FROM "categories" LIMIT 1
- [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
- [1m[35m (0.3ms)[0m rollback transaction
-Connecting to database specified by database.yml
- [1m[36m (0.5ms)[0m [1mselect sqlite_version(*)[0m
- [1m[35m (1.1ms)[0m CREATE TABLE "active_admin_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_id" varchar(255) NOT NULL, "resource_type" varchar(255) NOT NULL, "author_id" integer, "author_type" varchar(255), "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "namespace" varchar(255))
- [1m[36m (0.8ms)[0m [1mCREATE INDEX "index_active_admin_comments_on_author_type_and_author_id" ON "active_admin_comments" ("author_type", "author_id")[0m
- [1m[35m (0.9ms)[0m CREATE INDEX "index_active_admin_comments_on_namespace" ON "active_admin_comments" ("namespace")
- [1m[36m (1.0ms)[0m [1mCREATE INDEX "index_admin_notes_on_resource_type_and_resource_id" ON "active_admin_comments" ("resource_type", "resource_id")[0m
- [1m[35m (1.2ms)[0m CREATE TABLE "admin_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
- [1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "index_admin_users_on_email" ON "admin_users" ("email")[0m
- [1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "index_admin_users_on_reset_password_token" ON "admin_users" ("reset_password_token")
- [1m[36m (1.0ms)[0m [1mCREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
- [1m[35m (1.1ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255) NOT NULL, "body" text NOT NULL, "status" varchar(255) NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "category_id" integer)
- [1m[36m (0.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
- [1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
- [1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
- [1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130829000200')
- [1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130817004304')[0m
- [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130817004306')
- [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130817004307')[0m
- [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130817005638')
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
- [1m[35mAdminUser Exists (0.3ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'admin@example.com' LIMIT 1
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35mAdminUser Exists (0.1ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'admin@example.com' LIMIT 1
-Binary data inserted for `string` type on column `encrypted_password`
- [1m[36mSQL (1.1ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 08 Sep 2013 10:13:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin@example.com"], ["encrypted_password", "$2a$04$RtQ.sr1gknPMhc27Ch0adulSgn741uyg6tI80D6dUVAGuroCIw15."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Sep 2013 10:13:09 UTC +00:00]]
- [1m[35m (4.7ms)[0m commit transaction
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAdminUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
-Binary data inserted for `string` type on column `encrypted_password`
- [1m[35mSQL (1.7ms)[0m INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Sep 2013 10:13:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$HR796UholfDCHlfPcvcI9u7nHvWmkMhNERuNAseu7jz5tdewYOUye"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Sep 2013 10:13:20 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sun, 08 Sep 2013 10:13:20 UTC +00:00], ["name", "Category 1"], ["updated_at", Sun, 08 Sep 2013 10:13:20 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sun, 08 Sep 2013 10:13:20 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Sun, 08 Sep 2013 10:13:20 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-08 06:13:21 -0400
- [1m[35m (0.3ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-09-08 10:13:21.045143', "current_sign_in_at" = '2013-09-08 10:13:21.045143', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-08 10:13:21.046582' WHERE "admin_users"."id" = 2[0m
-SQLite3::BusyException: database is locked: UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-08 10:13:21.045143', "current_sign_in_at" = '2013-09-08 10:13:21.045143', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-08 10:13:21.046582' WHERE "admin_users"."id" = 2
- [1m[35m (0.0ms)[0m rollback transaction
- [1m[36m (0.4ms)[0m [1mrollback transaction[0m
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35mAdminUser Exists (0.2ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
-Binary data inserted for `string` type on column `encrypted_password`
- [1m[36mSQL (1.3ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 08 Sep 2013 10:19:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$dgPqNdooy58Rid15aDpx9e1x5cQCMoklVvUq8H3XRNnvgWhrLWGOa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Sep 2013 10:19:53 UTC +00:00]]
- [1m[35m (0.8ms)[0m commit transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 08 Sep 2013 10:19:53 UTC +00:00], ["name", "Category 1"], ["updated_at", Sun, 08 Sep 2013 10:19:53 UTC +00:00]]
- [1m[36m (0.8ms)[0m [1mcommit transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36mPost Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sun, 08 Sep 2013 10:19:54 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Sun, 08 Sep 2013 10:19:54 UTC +00:00]]
- [1m[36m (0.7ms)[0m [1mcommit transaction[0m
- [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-08 06:19:54 -0400
- [1m[36m (0.3ms)[0m [1mbegin transaction[0m
- [1m[35m (0.3ms)[0m UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-08 10:19:54.716714', "current_sign_in_at" = '2013-09-08 10:19:54.716714', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-08 10:19:54.718151' WHERE "admin_users"."id" = 2
- [1m[36m (0.9ms)[0m [1mcommit transaction[0m
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 19.6ms | Allocations: 9045)
+Completed 200 OK in 23ms (Views: 20.0ms | ActiveRecord: 0.2ms | Allocations: 9946)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.5ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (2.5ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.7ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.3ms)[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 = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user1@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user1@example.com"], ["encrypted_password", "$2a$04$bE7qWcNYgHR4LNmt9WssR.RlssygtI9qFwlwCgRlXtLBA.SiFKVE."], ["created_at", "2021-08-31 19:09:55.540022"], ["updated_at", "2021-08-31 19:09:55.540022"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 1"], ["created_at", "2021-08-31 19:09:55.545502"], ["updated_at", "2021-08-31 19:09:55.545502"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 1"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 1"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:09:55.558084"], ["updated_at", "2021-08-31 19:09:55.558084"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:09:56 -0400
+ [1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:09:56.667434"], ["last_sign_in_at", "2021-08-31 19:09:56.667434"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:09:56.669007"], ["id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[35mCategory Load (0.2ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1[0m [["id", "1"]]
- [1m[35mCategory Load (0.2ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- [1m[36mCACHE (0.0ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (20.2ms)
-Completed 200 OK in 40ms (Views: 29.1ms | ActiveRecord: 0.9ms)
-Started GET "/assets/active_admin.css" for 127.0.0.1 at 2013-09-08 06:19:54 -0400
-Compiled active_admin.css (806ms) (pid 68684)
-Served asset /active_admin.css - 200 OK (871ms)
-Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-09-08 06:19:55 -0400
-Compiled jquery.js (3ms) (pid 68684)
-Compiled jquery-ui.js (5ms) (pid 68684)
-Compiled jquery_ujs.js (0ms) (pid 68684)
-Compiled active_admin/lib/namespace.js (123ms) (pid 68684)
-Compiled active_admin/components/jquery.aa.checkbox-toggler.js (132ms) (pid 68684)
-Compiled active_admin/components/jquery.aa.dropdown-menu.js (202ms) (pid 68684)
-Compiled active_admin/components/jquery.aa.popover.js (143ms) (pid 68684)
-Compiled active_admin/components/jquery.aa.table-checkbox-toggler.js (101ms) (pid 68684)
-Compiled active_admin/pages/application.js (92ms) (pid 68684)
-Compiled active_admin/pages/batch_actions.js (161ms) (pid 68684)
-Compiled active_admin/application.js (985ms) (pid 68684)
-Compiled active_admin/base.js (1120ms) (pid 68684)
-Compiled active_admin.js (1126ms) (pid 68684)
-Served asset /active_admin.js - 200 OK (1142ms)
-Started GET "/assets/active_admin/print.css" for 127.0.0.1 at 2013-09-08 06:19:56 -0400
-Compiled active_admin/print.css (57ms) (pid 68684)
-Served asset /active_admin/print.css - 200 OK (113ms)
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35mAdminUser Exists (0.2ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
-Connecting to database specified by database.yml
-Connecting to database specified by database.yml
- [1m[36m (9.2ms)[0m [1mCREATE TABLE "active_admin_comments" ("id" serial primary key, "resource_id" character varying(255) NOT NULL, "resource_type" character varying(255) NOT NULL, "author_id" integer, "author_type" character varying(255), "body" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "namespace" character varying(255)) [0m
- [1m[35m (1.2ms)[0m CREATE INDEX "index_active_admin_comments_on_author_type_and_author_id" ON "active_admin_comments" ("author_type", "author_id")
- [1m[36m (1.0ms)[0m [1mCREATE INDEX "index_active_admin_comments_on_namespace" ON "active_admin_comments" ("namespace")[0m
- [1m[35m (0.9ms)[0m CREATE INDEX "index_admin_notes_on_resource_type_and_resource_id" ON "active_admin_comments" ("resource_type", "resource_id")
- [1m[36m (3.6ms)[0m [1mCREATE TABLE "admin_users" ("id" serial primary key, "email" character varying(255) DEFAULT '' NOT NULL, "encrypted_password" character varying(255) DEFAULT '' NOT NULL, "reset_password_token" character varying(255), "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" timestamp, "last_sign_in_at" timestamp, "current_sign_in_ip" character varying(255), "last_sign_in_ip" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
- [1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "index_admin_users_on_email" ON "admin_users" ("email")
- [1m[36m (1.3ms)[0m [1mCREATE UNIQUE INDEX "index_admin_users_on_reset_password_token" ON "admin_users" ("reset_password_token")[0m
- [1m[35m (2.7ms)[0m CREATE TABLE "categories" ("id" serial primary key, "name" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
- [1m[36m (4.1ms)[0m [1mCREATE TABLE "posts" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "status" character varying(255) NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "category_id" integer) [0m
- [1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
- [1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
- [1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
- [1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130829000200')[0m
- [1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130817004304')
- [1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130817004306')[0m
- [1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130817004307')
- [1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130817005638')[0m
- [1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
- [1m[36mAdminUser Exists (0.7ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'admin@example.com' LIMIT 1[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36mAdminUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'admin@example.com' LIMIT 1[0m
- [1m[35mSQL (1.9ms)[0m INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["created_at", Sun, 08 Sep 2013 10:23:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin@example.com"], ["encrypted_password", "$2a$04$UlUQAnmhMIzr8FHgNB4sJ.MoK0G6mlAI7WyYi/Q/gQ83teMcrqP1u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Sep 2013 10:23:39 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
-Connecting to database specified by database.yml
- [1m[36m (0.5ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (1.2ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
- [1m[36m (14.2ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.3ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mAdminUser Exists (0.7ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
- [1m[36mSQL (1.9ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["created_at", Sun, 08 Sep 2013 10:23:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$CkJ7tiapQ7hiZ1rp8QzKtud9D4lwPf/0V/dAwKSaGhAjt2it9JeKS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Sep 2013 10:23:46 UTC +00:00]]
- [1m[35m (0.4ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.8ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sun, 08 Sep 2013 10:23:46 UTC +00:00], ["name", "Category 1"], ["updated_at", Sun, 08 Sep 2013 10:23:46 UTC +00:00]]
- [1m[36m (0.2ms)[0m [1mCOMMIT[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
- [1m[35mSQL (0.8ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sun, 08 Sep 2013 10:23:46 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Sun, 08 Sep 2013 10:23:46 UTC +00:00]]
- [1m[36m (0.2ms)[0m [1mCOMMIT[0m
- [1m[35mPost Load (0.5ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-08 06:23:47 -0400
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.7ms)[0m UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-08 10:23:47.267166', "current_sign_in_at" = '2013-09-08 10:23:47.267166', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-08 10:23:47.268451' WHERE "admin_users"."id" = 1
- [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.2ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 238.9ms | Allocations: 76779)
+Completed 200 OK in 272ms (Views: 246.9ms | ActiveRecord: 0.3ms | Allocations: 85250)
+Started GET "/assets/active_admin/print-f6ce3ffc349ca6c010940202a36b916e852d26179018d2cdc1513350bea7dcba.css" for 127.0.0.1 at 2021-08-31 15:09:56 -0400
+Started GET "/assets/active_admin-9dbfb3c7d6c5060ec15c0f398011488cb7ef48a212410e256cb15388ba4957e3.js" for 127.0.0.1 at 2021-08-31 15:09:56 -0400
+Started GET "/assets/active_admin-7e9d70f63036f2488cd96a0dba0b3be93e30b9023b574f0c19a673ac83072e17.css" for 127.0.0.1 at 2021-08-31 15:10:01 -0400
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user2@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user2@example.com"], ["encrypted_password", "$2a$04$AE.KSDEUIZ6t1UxcI.0d1OE16o6K3vhFv5g3jY5rvQD8/61sFnvpm"], ["created_at", "2021-08-31 19:10:02.358597"], ["updated_at", "2021-08-31 19:10:02.358597"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 2"], ["created_at", "2021-08-31 19:10:02.361210"], ["updated_at", "2021-08-31 19:10:02.361210"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 2"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 2"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:10:02.364421"], ["updated_at", "2021-08-31 19:10:02.364421"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:10:02 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:10:02.371644"], ["last_sign_in_at", "2021-08-31 19:10:02.371644"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:10:02.371861"], ["id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[35mCategory Load (0.8ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mPost Load (0.7ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mCategory Load (0.4ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- [1m[36mCACHE (0.0ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (19.3ms)
-Completed 200 OK in 37ms (Views: 24.7ms | ActiveRecord: 4.2ms)
-Started GET "/assets/active_admin.css" for 127.0.0.1 at 2013-09-08 06:23:47 -0400
-Served asset /active_admin.css - 200 OK (9ms)
-Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-09-08 06:23:47 -0400
-Served asset /active_admin.js - 200 OK (16ms)
-Started GET "/assets/active_admin/print.css" for 127.0.0.1 at 2013-09-08 06:23:47 -0400
-Served asset /active_admin/print.css - 200 OK (2ms)
- [1m[35m (0.2ms)[0m ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
- [1m[36m (12.1ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.4ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
-Connecting to database specified by database.yml
- [1m[36m (0.4ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (1.2ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
- [1m[36m (11.7ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.4ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdminUser Exists (0.6ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
- [1m[36mSQL (2.4ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["created_at", Sun, 08 Sep 2013 10:26:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$DN.cRdUeEEGMEGymg3oP.eipu63KaaKegy8Uhiv5Y8Kj1nVPz1Cl2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Sep 2013 10:26:03 UTC +00:00]]
- [1m[35m (0.3ms)[0m COMMIT
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (1.1ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sun, 08 Sep 2013 10:26:03 UTC +00:00], ["name", "Category 1"], ["updated_at", Sun, 08 Sep 2013 10:26:03 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
- [1m[35mSQL (0.8ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sun, 08 Sep 2013 10:26:03 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Sun, 08 Sep 2013 10:26:03 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
- [1m[35mPost Load (0.7ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-08 06:26:03 -0400
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.5ms)[0m UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-08 10:26:03.626121', "current_sign_in_at" = '2013-09-08 10:26:03.626121', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-08 10:26:03.627111' WHERE "admin_users"."id" = 1
- [1m[36m (0.4ms)[0m [1mCOMMIT[0m
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 10.0ms | Allocations: 9045)
+Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.3ms | Allocations: 9949)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user3@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user3@example.com"], ["encrypted_password", "$2a$04$UejaOG/rrRalqawnlUY37uX1f6FX3Qr7icxdtAQL0fsqoykBKf8wa"], ["created_at", "2021-08-31 19:10:02.623970"], ["updated_at", "2021-08-31 19:10:02.623970"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 3"], ["created_at", "2021-08-31 19:10:02.626295"], ["updated_at", "2021-08-31 19:10:02.626295"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 3"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 3"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:10:02.629268"], ["updated_at", "2021-08-31 19:10:02.629268"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:10:02 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:10:02.636192"], ["last_sign_in_at", "2021-08-31 19:10:02.636192"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:10:02.636446"], ["id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[35mCategory Load (0.6ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mPost Load (0.6ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mCategory Load (0.4ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- [1m[36mCACHE (0.0ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (17.3ms)
-Completed 200 OK in 30ms (Views: 22.7ms | ActiveRecord: 1.6ms)
- [1m[35m (0.2ms)[0m ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
- [1m[36m (9.0ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.5ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
- [1m[36m (0.2ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (10.2ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
- [1m[36m (0.4ms)[0m [1mALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdminUser Exists (0.6ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1[0m
- [1m[35mSQL (1.1ms)[0m INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["created_at", Sun, 08 Sep 2013 10:26:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$hCoprD4fu.WkcREeGGfK1.s0TFggPW0Q8dGv6cqpUnR2z0GjH2dja"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Sep 2013 10:26:03 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", Sun, 08 Sep 2013 10:26:03 UTC +00:00], ["name", "Category 2"], ["updated_at", Sun, 08 Sep 2013 10:26:03 UTC +00:00]]
- [1m[35m (0.3ms)[0m COMMIT
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mPost Exists (0.5ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1
- [1m[36mSQL (1.0ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sun, 08 Sep 2013 10:26:03 UTC +00:00], ["status", "draft"], ["title", "Post 2"], ["updated_at", Sun, 08 Sep 2013 10:26:03 UTC +00:00]]
- [1m[35m (0.3ms)[0m COMMIT
- [1m[36mPost Load (0.4ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-08 06:26:03 -0400
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.5ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-09-08 10:26:03.780094', "current_sign_in_at" = '2013-09-08 10:26:03.780094', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-08 10:26:03.780905' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.3ms)[0m COMMIT
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 10.0ms | Allocations: 9045)
+Completed 200 OK in 12ms (Views: 10.3ms | ActiveRecord: 0.3ms | Allocations: 9946)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user4@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user4@example.com"], ["encrypted_password", "$2a$04$9wqgXAOWi3N2Eh2/3zlO5Ojw/XRU3aeuycMBuQBkhZ4JBuVvXciOq"], ["created_at", "2021-08-31 19:10:02.890730"], ["updated_at", "2021-08-31 19:10:02.890730"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 4"], ["created_at", "2021-08-31 19:10:02.893259"], ["updated_at", "2021-08-31 19:10:02.893259"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 4"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 4"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:10:02.896253"], ["updated_at", "2021-08-31 19:10:02.896253"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:10:02 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:10:02.902942"], ["last_sign_in_at", "2021-08-31 19:10:02.902942"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:10:02.903147"], ["id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.5ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.7ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.3ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (24.9ms)
-Completed 200 OK in 32ms (Views: 25.6ms | ActiveRecord: 1.6ms)
- [1m[36m (0.2ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (10.4ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
- [1m[36m (0.4ms)[0m [1mALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL[0m
-Connecting to database specified by database.yml
- [1m[36m (0.4ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (1.2ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
- [1m[36m (11.5ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.4ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdminUser Exists (0.6ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
- [1m[36mSQL (2.3ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["created_at", Sun, 08 Sep 2013 10:28:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$MpiDnW62U5LDdPodkAGOgevLUWYauGcJW24LDpgAi/vH67VjcVh3e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Sep 2013 10:28:26 UTC +00:00]]
- [1m[35m (0.4ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mSQL (1.1ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sun, 08 Sep 2013 10:28:26 UTC +00:00], ["name", "Category 1"], ["updated_at", Sun, 08 Sep 2013 10:28:26 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
- [1m[35mSQL (0.8ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sun, 08 Sep 2013 10:28:26 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Sun, 08 Sep 2013 10:28:26 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
- [1m[35mPost Load (0.5ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-08 06:28:27 -0400
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.7ms)[0m UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-08 10:28:27.405427', "current_sign_in_at" = '2013-09-08 10:28:27.405427', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-08 10:28:27.406684' WHERE "admin_users"."id" = 1
- [1m[36m (0.4ms)[0m [1mCOMMIT[0m
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 21.7ms | Allocations: 9045)
+Completed 200 OK in 24ms (Views: 22.1ms | ActiveRecord: 0.3ms | Allocations: 9946)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user5@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user5@example.com"], ["encrypted_password", "$2a$04$sOwq7MpbnNFH.IQH0.9JMetRZq2x0AOup0Ke828RM5qXpjcd4c7gK"], ["created_at", "2021-08-31 19:10:03.316451"], ["updated_at", "2021-08-31 19:10:03.316451"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 5"], ["created_at", "2021-08-31 19:10:03.318810"], ["updated_at", "2021-08-31 19:10:03.318810"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 5"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 5"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:10:03.321801"], ["updated_at", "2021-08-31 19:10:03.321801"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:10:03 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:10:03.324953"], ["last_sign_in_at", "2021-08-31 19:10:03.324953"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:10:03.325090"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[35mCategory Load (0.7ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mPost Load (0.5ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mCategory Load (0.3ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- [1m[36mCACHE (0.0ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (20.2ms)
-Completed 200 OK in 37ms (Views: 25.8ms | ActiveRecord: 3.9ms)
-Started GET "/assets/active_admin.css" for 127.0.0.1 at 2013-09-08 06:28:27 -0400
-Served asset /active_admin.css - 200 OK (9ms)
-Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-09-08 06:28:27 -0400
-Served asset /active_admin.js - 200 OK (59ms)
-Started GET "/assets/active_admin/print.css" for 127.0.0.1 at 2013-09-08 06:28:27 -0400
-Served asset /active_admin/print.css - 200 OK (2ms)
- [1m[35m (0.3ms)[0m ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
- [1m[36m (12.1ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.4ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
-Connecting to database specified by database.yml
-Connecting to database specified by database.yml
- [1m[36m (0.4ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
- [1m[36m (11.0ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.3ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdminUser Exists (1.0ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
- [1m[36mSQL (2.9ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["created_at", Sun, 08 Sep 2013 10:29:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$/qy96.Ow0VWR0m35jvUsEuNoMD0TtfCXjGLR.GyKTgCOY5n61ly8q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Sep 2013 10:29:27 UTC +00:00]]
- [1m[35m (0.3ms)[0m COMMIT
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (1.2ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sun, 08 Sep 2013 10:29:27 UTC +00:00], ["name", "Category 1"], ["updated_at", Sun, 08 Sep 2013 10:29:27 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mPost Exists (0.5ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
- [1m[35mSQL (0.9ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sun, 08 Sep 2013 10:29:27 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Sun, 08 Sep 2013 10:29:27 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
- [1m[35mPost Load (0.6ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-08 06:29:28 -0400
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.6ms)[0m UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-08 10:29:28.639120', "current_sign_in_at" = '2013-09-08 10:29:28.639120', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-08 10:29:28.640573' WHERE "admin_users"."id" = 1
- [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.2ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 9.8ms | Allocations: 9046)
+Completed 200 OK in 13ms (Views: 10.2ms | ActiveRecord: 0.4ms | Allocations: 9987)
+Started GET "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2021-08-31 15:10:03 -0400
+Processing by Admin::PostsController#reopen as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mAdminUser Load (0.2ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+Redirected to http://www.example.com/admin/dashboard
+Completed 302 Found in 2ms (ActiveRecord: 0.2ms | Allocations: 766)
+Started GET "/admin/dashboard" for 127.0.0.1 at 2021-08-31 15:10:03 -0400
+Processing by Admin::DashboardController#index as HTML
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/page/index.html.arb
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/page/index.html.arb (Duration: 4.8ms | Allocations: 4707)
+Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.1ms | Allocations: 6020)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user6@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user6@example.com"], ["encrypted_password", "$2a$04$HZAzVLTf6NGNlfEZ1iSd2eQajxtn2u5VtBR.SeVVWrXmHraC1w1aS"], ["created_at", "2021-08-31 19:10:03.380534"], ["updated_at", "2021-08-31 19:10:03.380534"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (1.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 6"], ["created_at", "2021-08-31 19:10:03.383406"], ["updated_at", "2021-08-31 19:10:03.383406"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 6"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.4ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 6"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:10:03.387196"], ["updated_at", "2021-08-31 19:10:03.387196"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:10:03 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:10:03.390646"], ["last_sign_in_at", "2021-08-31 19:10:03.390646"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:10:03.390810"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[35mCategory Load (0.7ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mPost Load (0.6ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mCategory Load (0.3ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- [1m[36mCACHE (0.0ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (21.1ms)
-Completed 200 OK in 39ms (Views: 27.2ms | ActiveRecord: 3.9ms)
-Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-09-08 06:29:28 -0400
-Served asset /active_admin.js - 200 OK (92ms)
-Started GET "/assets/active_admin.css" for 127.0.0.1 at 2013-09-08 06:29:28 -0400
-Served asset /active_admin.css - 200 OK (13ms)
-Started GET "/assets/active_admin/print.css" for 127.0.0.1 at 2013-09-08 06:29:28 -0400
-Served asset /active_admin/print.css - 200 OK (2ms)
- [1m[35m (0.2ms)[0m ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
- [1m[36m (11.7ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.4ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
-Connecting to database specified by database.yml
- [1m[36m (0.4ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
- [1m[36m (10.7ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.4ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdminUser Exists (0.6ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
- [1m[36mSQL (2.5ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["created_at", Sun, 08 Sep 2013 10:31:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$zgpw/rYQYmBpy4fgm4Gnc.HAzFs7dhap9RIWjPCxFgX1iQvJT5GJ6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Sep 2013 10:31:28 UTC +00:00]]
- [1m[35m (0.3ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mSQL (1.0ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sun, 08 Sep 2013 10:31:28 UTC +00:00], ["name", "Category 1"], ["updated_at", Sun, 08 Sep 2013 10:31:28 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
- [1m[35mSQL (0.8ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sun, 08 Sep 2013 10:31:28 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Sun, 08 Sep 2013 10:31:28 UTC +00:00]]
- [1m[36m (0.2ms)[0m [1mCOMMIT[0m
- [1m[35mPost Load (0.6ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-08 06:31:29 -0400
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.6ms)[0m UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-08 10:31:29.035279', "current_sign_in_at" = '2013-09-08 10:31:29.035279', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-08 10:31:29.036490' WHERE "admin_users"."id" = 1
- [1m[36m (0.4ms)[0m [1mCOMMIT[0m
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 9.3ms | Allocations: 9072)
+Completed 200 OK in 12ms (Views: 9.7ms | ActiveRecord: 0.3ms | Allocations: 9974)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user7@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user7@example.com"], ["encrypted_password", "$2a$04$uiPiaI/MTvU7p41StunoO.TQdDBQkeNGFqowGyRl8gcqzMN0E5.ae"], ["created_at", "2021-08-31 19:10:03.429914"], ["updated_at", "2021-08-31 19:10:03.429914"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 7"], ["created_at", "2021-08-31 19:10:03.432229"], ["updated_at", "2021-08-31 19:10:03.432229"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 7"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user8@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user8@example.com"], ["encrypted_password", "$2a$04$YpGymlkVE9V7S8wuxwVRwuYLQPcuaYyOFnC.PaDmP3VyYQZJb2bky"], ["created_at", "2021-08-31 19:10:03.455959"], ["updated_at", "2021-08-31 19:10:03.455959"]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 8"], ["created_at", "2021-08-31 19:10:03.458165"], ["updated_at", "2021-08-31 19:10:03.458165"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 8"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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[35m (2.2ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (2.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user1@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user1@example.com"], ["encrypted_password", "$2a$04$PjixfsVxaEaxadxtFe/.BeAvqjuvsLEHlTsomLEpAuysWsLNu8RIy"], ["created_at", "2021-08-31 19:12:01.249125"], ["updated_at", "2021-08-31 19:12:01.249125"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 1"], ["created_at", "2021-08-31 19:12:01.254680"], ["updated_at", "2021-08-31 19:12:01.254680"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 1"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.6ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.4ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.7ms)[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user2@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user2@example.com"], ["encrypted_password", "$2a$04$rqtinspTPr96MrPHWy9x7.oAbzhOeLfUyicj9i23v11Y/JJbGCrNS"], ["created_at", "2021-08-31 19:12:01.328606"], ["updated_at", "2021-08-31 19:12:01.328606"]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 2"], ["created_at", "2021-08-31 19:12:01.331428"], ["updated_at", "2021-08-31 19:12:01.331428"]]
+ [1m[36mTRANSACTION (1.4ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 2"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.5ms)[0m [1m[31mDELETE FROM "active_admin_comments"[0m
+ [1m[35m (0.3ms)[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 = 'active_admin_comments';[0m
+ [1m[35m (0.9ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[0m
+ [1m[35m (0.6ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.7ms)[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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.8ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user3@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (1.2ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user3@example.com"], ["encrypted_password", "$2a$04$U6qzGR4d4yNcgJ0A..l8PueLiaTyLpPfGb5oks.bVH42QxgluhEbK"], ["created_at", "2021-08-31 19:12:01.367395"], ["updated_at", "2021-08-31 19:12:01.367395"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 3"], ["created_at", "2021-08-31 19:12:01.370699"], ["updated_at", "2021-08-31 19:12:01.370699"]]
+ [1m[36mTRANSACTION (1.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 3"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 3"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:12:01.375520"], ["updated_at", "2021-08-31 19:12:01.375520"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:12:02 -0400
+ [1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.5ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:12:02.686857"], ["last_sign_in_at", "2021-08-31 19:12:02.686857"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:12:02.689246"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[35mCategory Load (0.8ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mPost Load (0.6ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mCategory Load (0.4ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- [1m[36mCACHE (0.0ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (19.7ms)
-Completed 200 OK in 37ms (Views: 25.4ms | ActiveRecord: 4.0ms)
-Started GET "/assets/active_admin.css" for 127.0.0.1 at 2013-09-08 06:31:29 -0400
-Served asset /active_admin.css - 200 OK (9ms)
-Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-09-08 06:31:29 -0400
-Served asset /active_admin.js - 200 OK (16ms)
-Started GET "/assets/active_admin/print.css" for 127.0.0.1 at 2013-09-08 06:31:29 -0400
-Served asset /active_admin/print.css - 200 OK (2ms)
- [1m[35m (0.2ms)[0m ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
- [1m[36m (8.6ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.9ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
-Connecting to database specified by database.yml
- [1m[36m (0.4ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (1.2ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
- [1m[36m (11.0ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.3ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdminUser Exists (0.6ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
- [1m[36mSQL (2.4ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["created_at", Sun, 08 Sep 2013 10:32:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$1awKYLgT6LgkYR33Lmwa/u6A7Em5SwsdlVag.WM.So0eK4QBis2MK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Sep 2013 10:32:50 UTC +00:00]]
- [1m[35m (0.4ms)[0m COMMIT
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (1.0ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sun, 08 Sep 2013 10:32:50 UTC +00:00], ["name", "Category 1"], ["updated_at", Sun, 08 Sep 2013 10:32:50 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36mPost Exists (0.5ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
- [1m[35mSQL (0.9ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sun, 08 Sep 2013 10:32:50 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Sun, 08 Sep 2013 10:32:50 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
- [1m[35mPost Load (0.5ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-08 06:32:51 -0400
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.6ms)[0m UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-08 10:32:51.495699', "current_sign_in_at" = '2013-09-08 10:32:51.495699', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-08 10:32:51.496934' WHERE "admin_users"."id" = 1
- [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.2ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 304.1ms | Allocations: 76854)
+Completed 200 OK in 347ms (Views: 315.0ms | ActiveRecord: 0.4ms | Allocations: 85323)
+Started GET "/assets/active_admin/print-f6ce3ffc349ca6c010940202a36b916e852d26179018d2cdc1513350bea7dcba.css" for 127.0.0.1 at 2021-08-31 15:12:03 -0400
+Started GET "/assets/active_admin-9dbfb3c7d6c5060ec15c0f398011488cb7ef48a212410e256cb15388ba4957e3.js" for 127.0.0.1 at 2021-08-31 15:12:03 -0400
+Started GET "/assets/active_admin-7e9d70f63036f2488cd96a0dba0b3be93e30b9023b574f0c19a673ac83072e17.css" for 127.0.0.1 at 2021-08-31 15:12:08 -0400
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user4@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.5ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user4@example.com"], ["encrypted_password", "$2a$04$BY50oCyU3BWAAFMiZzQoFO5HiMbV1a4zmWXnjrAQLMZGNui89U0MK"], ["created_at", "2021-08-31 19:12:08.432268"], ["updated_at", "2021-08-31 19:12:08.432268"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 4"], ["created_at", "2021-08-31 19:12:08.434727"], ["updated_at", "2021-08-31 19:12:08.434727"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 4"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 4"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:12:08.438068"], ["updated_at", "2021-08-31 19:12:08.438068"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:12:08 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:12:08.445418"], ["last_sign_in_at", "2021-08-31 19:12:08.445418"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:12:08.445615"], ["id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[35mCategory Load (0.8ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mPost Load (0.6ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mCategory Load (0.4ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- [1m[36mCACHE (0.0ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (20.4ms)
-Completed 200 OK in 38ms (Views: 26.1ms | ActiveRecord: 4.4ms)
-Started GET "/assets/active_admin.css" for 127.0.0.1 at 2013-09-08 06:32:51 -0400
-Served asset /active_admin.css - 200 OK (10ms)
-Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-09-08 06:32:51 -0400
-Served asset /active_admin.js - 200 OK (13ms)
-Started GET "/assets/active_admin/print.css" for 127.0.0.1 at 2013-09-08 06:32:51 -0400
-Served asset /active_admin/print.css - 200 OK (2ms)
- [1m[35m (0.2ms)[0m ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
- [1m[36m (10.8ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.4ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
-Connecting to database specified by database.yml
- [1m[36m (0.4ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (1.2ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
- [1m[36m (10.7ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.4ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdminUser Exists (0.7ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
- [1m[36mSQL (2.6ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["created_at", Sun, 08 Sep 2013 10:33:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$h6Mhz3JoWLxGqk0B.hsmFeEVRtiD5/bh1oODjCBXr7Ua4sDkvNkoa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Sep 2013 10:33:03 UTC +00:00]]
- [1m[35m (0.3ms)[0m COMMIT
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (1.1ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sun, 08 Sep 2013 10:33:03 UTC +00:00], ["name", "Category 1"], ["updated_at", Sun, 08 Sep 2013 10:33:03 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
- [1m[35mSQL (0.8ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sun, 08 Sep 2013 10:33:03 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Sun, 08 Sep 2013 10:33:03 UTC +00:00]]
- [1m[36m (0.2ms)[0m [1mCOMMIT[0m
- [1m[35mPost Load (0.5ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-08 06:33:03 -0400
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.6ms)[0m UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-08 10:33:03.876734', "current_sign_in_at" = '2013-09-08 10:33:03.876734', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-08 10:33:03.878079' WHERE "admin_users"."id" = 1
- [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 9.3ms | Allocations: 9045)
+Completed 200 OK in 12ms (Views: 9.7ms | ActiveRecord: 0.2ms | Allocations: 9949)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user5@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user5@example.com"], ["encrypted_password", "$2a$04$nCPwPS5IsIqqMaJN3WvOh.YPUHJBIp/ZBU6a3OgHL6WkuEyjHWbIS"], ["created_at", "2021-08-31 19:12:08.702875"], ["updated_at", "2021-08-31 19:12:08.702875"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 5"], ["created_at", "2021-08-31 19:12:08.705398"], ["updated_at", "2021-08-31 19:12:08.705398"]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 5"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.4ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 5"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:12:08.709168"], ["updated_at", "2021-08-31 19:12:08.709168"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:12:08 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:12:08.716767"], ["last_sign_in_at", "2021-08-31 19:12:08.716767"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:12:08.716998"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[35mCategory Load (0.8ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mPost Load (0.5ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mCategory Load (0.4ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- [1m[36mCACHE (0.0ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (19.7ms)
-Completed 200 OK in 37ms (Views: 25.1ms | ActiveRecord: 4.0ms)
-Started GET "/assets/active_admin.css" for 127.0.0.1 at 2013-09-08 06:33:03 -0400
-Served asset /active_admin.css - 200 OK (9ms)
-Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-09-08 06:33:04 -0400
-Served asset /active_admin.js - 200 OK (12ms)
-Started GET "/assets/active_admin/print.css" for 127.0.0.1 at 2013-09-08 06:33:04 -0400
-Served asset /active_admin/print.css - 200 OK (2ms)
- [1m[35m (0.3ms)[0m ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
- [1m[36m (12.8ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.5ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
-Connecting to database specified by database.yml
- [1m[36m (0.5ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (1.2ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
- [1m[36m (10.8ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.4ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdminUser Exists (0.8ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
- [1m[36mSQL (2.8ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["created_at", Sun, 08 Sep 2013 10:35:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$Ir1AxQ19RrqJO0.jk9v1RuMlJRbvKeqL2CeIHOgOhWyNmrXAHLug2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Sep 2013 10:35:03 UTC +00:00]]
- [1m[35m (0.3ms)[0m COMMIT
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (1.1ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sun, 08 Sep 2013 10:35:03 UTC +00:00], ["name", "Category 1"], ["updated_at", Sun, 08 Sep 2013 10:35:03 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
- [1m[35mSQL (0.8ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sun, 08 Sep 2013 10:35:03 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Sun, 08 Sep 2013 10:35:03 UTC +00:00]]
- [1m[36m (0.2ms)[0m [1mCOMMIT[0m
- [1m[35mPost Load (0.5ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-08 06:35:03 -0400
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.6ms)[0m UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-08 10:35:03.973950', "current_sign_in_at" = '2013-09-08 10:35:03.973950', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-08 10:35:03.975147' WHERE "admin_users"."id" = 1
- [1m[36m (0.4ms)[0m [1mCOMMIT[0m
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 16.0ms | Allocations: 9045)
+Completed 200 OK in 18ms (Views: 16.4ms | ActiveRecord: 0.2ms | Allocations: 9946)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user6@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user6@example.com"], ["encrypted_password", "$2a$04$udQWlFufZvnosEGNLyfpT.31j4vFCDZb.gMSUNbwBRm1FCKN0IjpG"], ["created_at", "2021-08-31 19:12:09.013155"], ["updated_at", "2021-08-31 19:12:09.013155"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 6"], ["created_at", "2021-08-31 19:12:09.015653"], ["updated_at", "2021-08-31 19:12:09.015653"]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 6"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 6"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:12:09.018822"], ["updated_at", "2021-08-31 19:12:09.018822"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:12:09 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:12:09.025880"], ["last_sign_in_at", "2021-08-31 19:12:09.025880"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:12:09.026082"], ["id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[35mCategory Load (0.7ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mPost Load (0.5ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mCategory Load (0.4ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- [1m[36mCACHE (0.0ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (22.2ms)
-Completed 200 OK in 40ms (Views: 28.0ms | ActiveRecord: 4.0ms)
-Started GET "/assets/active_admin.css" for 127.0.0.1 at 2013-09-08 06:35:04 -0400
-Served asset /active_admin.css - 200 OK (51ms)
-Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-09-08 06:35:04 -0400
-Served asset /active_admin.js - 200 OK (13ms)
-Started GET "/assets/active_admin/print.css" for 127.0.0.1 at 2013-09-08 06:35:04 -0400
-Served asset /active_admin/print.css - 200 OK (3ms)
-Started PUT "/admin/categories/1/posts/1/peer_review" for 127.0.0.1 at 2013-09-08 06:35:04 -0400
-Processing by Admin::PostsController#peer_review as HTML
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.2ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 10.2ms | Allocations: 9045)
+Completed 200 OK in 13ms (Views: 10.6ms | ActiveRecord: 0.3ms | Allocations: 9946)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user7@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user7@example.com"], ["encrypted_password", "$2a$04$cbOzjC6A0/dUNT3Du25zb.K.pCv9irab5JrhtbNA8rXN6cs/H.Ezm"], ["created_at", "2021-08-31 19:12:09.276556"], ["updated_at", "2021-08-31 19:12:09.276556"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 7"], ["created_at", "2021-08-31 19:12:09.278883"], ["updated_at", "2021-08-31 19:12:09.278883"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 7"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.4ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 7"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:12:09.282248"], ["updated_at", "2021-08-31 19:12:09.282248"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:12:09 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:12:09.286177"], ["last_sign_in_at", "2021-08-31 19:12:09.286177"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:12:09.286365"], ["id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[35mAdminUser Load (0.4ms)[0m SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
- [1m[36mCategory Load (0.3ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.4ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
-Redirected to http://127.0.0.1:59276/admin/categories/1/posts/1
-Completed 302 Found in 7ms (ActiveRecord: 1.0ms)
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-08 06:35:04 -0400
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.2ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 11.0ms | Allocations: 9042)
+Completed 200 OK in 14ms (Views: 11.5ms | ActiveRecord: 0.4ms | Allocations: 9981)
+Started GET "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2021-08-31 15:12:09 -0400
+Processing by Admin::PostsController#reopen as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mAdminUser Load (0.2ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+Redirected to http://www.example.com/admin/dashboard
+Completed 302 Found in 2ms (ActiveRecord: 0.2ms | Allocations: 768)
+Started GET "/admin/dashboard" for 127.0.0.1 at 2021-08-31 15:12:09 -0400
+Processing by Admin::DashboardController#index as HTML
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/page/index.html.arb
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/page/index.html.arb (Duration: 5.3ms | Allocations: 4707)
+Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.1ms | Allocations: 6018)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user8@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user8@example.com"], ["encrypted_password", "$2a$04$S0yhcFeRjg6f41UsDNJvHerudpTkUw1d.OXtZCqOmBP4M5JPpHQay"], ["created_at", "2021-08-31 19:12:09.344046"], ["updated_at", "2021-08-31 19:12:09.344046"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 8"], ["created_at", "2021-08-31 19:12:09.346280"], ["updated_at", "2021-08-31 19:12:09.346280"]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 8"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 8"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:12:09.349210"], ["updated_at", "2021-08-31 19:12:09.349210"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:12:09 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:12:09.352310"], ["last_sign_in_at", "2021-08-31 19:12:09.352310"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:12:09.352474"], ["id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mAdminUser Load (0.4ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1[0m
- [1m[35mCategory Load (0.3ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mCategory Load (0.5ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- [1m[36mCACHE (0.0ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (12.7ms)
-Completed 200 OK in 17ms (Views: 12.8ms | ActiveRecord: 1.4ms)
- [1m[35m (0.2ms)[0m ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
- [1m[36m (8.4ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.4ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
-Connecting to database specified by database.yml
- [1m[36m (0.5ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
- [1m[36m (9.0ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.5ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdminUser Exists (0.7ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
- [1m[36mSQL (2.6ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["created_at", Sun, 08 Sep 2013 10:36:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$f7koPaemRM0rzrM7L07JDe9OHm.kVR1YFcV7ERfhh52q.R0.H6Jla"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Sep 2013 10:36:55 UTC +00:00]]
- [1m[35m (0.3ms)[0m COMMIT
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (1.0ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sun, 08 Sep 2013 10:36:55 UTC +00:00], ["name", "Category 1"], ["updated_at", Sun, 08 Sep 2013 10:36:55 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
- [1m[35mSQL (0.7ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sun, 08 Sep 2013 10:36:55 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Sun, 08 Sep 2013 10:36:55 UTC +00:00]]
- [1m[36m (0.2ms)[0m [1mCOMMIT[0m
- [1m[35mPost Load (0.5ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-08 06:36:55 -0400
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.6ms)[0m UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-08 10:36:55.997112', "current_sign_in_at" = '2013-09-08 10:36:55.997112', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-08 10:36:55.998533' WHERE "admin_users"."id" = 1
- [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.2ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 10.4ms | Allocations: 9072)
+Completed 200 OK in 13ms (Views: 10.7ms | ActiveRecord: 0.5ms | Allocations: 9974)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (2.5ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.6ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user1@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user1@example.com"], ["encrypted_password", "$2a$04$s8p0FLqi5/295.wivm155ev6Ua5RFvLv2JW31uX9aPusN3LxsDuse"], ["created_at", "2021-08-31 19:12:51.646982"], ["updated_at", "2021-08-31 19:12:51.646982"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 1"], ["created_at", "2021-08-31 19:12:51.651995"], ["updated_at", "2021-08-31 19:12:51.651995"]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 1"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 1"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:12:51.665141"], ["updated_at", "2021-08-31 19:12:51.665141"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:12:52 -0400
+ [1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:12:52.862202"], ["last_sign_in_at", "2021-08-31 19:12:52.862202"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:12:52.863368"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[35mCategory Load (0.8ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mPost Load (0.6ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mCategory Load (0.5ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- [1m[36mCACHE (0.0ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (22.2ms)
-Completed 200 OK in 39ms (Views: 27.7ms | ActiveRecord: 4.0ms)
-Started GET "/assets/active_admin.css" for 127.0.0.1 at 2013-09-08 06:36:56 -0400
-Served asset /active_admin.css - 200 OK (54ms)
-Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-09-08 06:36:56 -0400
-Served asset /active_admin.js - 200 OK (14ms)
-Started GET "/assets/active_admin/print.css" for 127.0.0.1 at 2013-09-08 06:36:56 -0400
-Served asset /active_admin/print.css - 200 OK (2ms)
-Started PUT "/admin/categories/1/posts/1/peer_review" for 127.0.0.1 at 2013-09-08 06:36:56 -0400
-Processing by Admin::PostsController#peer_review as HTML
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 224.3ms | Allocations: 76865)
+Completed 200 OK in 254ms (Views: 231.5ms | ActiveRecord: 0.3ms | Allocations: 85336)
+Started GET "/assets/active_admin/print-f6ce3ffc349ca6c010940202a36b916e852d26179018d2cdc1513350bea7dcba.css" for 127.0.0.1 at 2021-08-31 15:12:53 -0400
+Started GET "/assets/active_admin-9dbfb3c7d6c5060ec15c0f398011488cb7ef48a212410e256cb15388ba4957e3.js" for 127.0.0.1 at 2021-08-31 15:12:53 -0400
+Started GET "/assets/active_admin-7e9d70f63036f2488cd96a0dba0b3be93e30b9023b574f0c19a673ac83072e17.css" for 127.0.0.1 at 2021-08-31 15:12:58 -0400
+Started PUT "/admin/categories/1/posts/1/publish" for 127.0.0.1 at 2021-08-31 15:12:58 -0400
+Processing by Admin::PostsController#publish as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[35mAdminUser Load (7.0ms)[0m SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
- [1m[36mCategory Load (1.5ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.4ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
-Redirected to http://127.0.0.1:59297/admin/categories/1/posts/1
-Completed 302 Found in 15ms (ActiveRecord: 8.9ms)
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-08 06:36:56 -0400
+ [1m[36mAdminUser Load (0.2ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? AND "posts"."id" != ? LIMIT ?[0m [["title", "Post 1"], ["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Update (0.3ms)[0m [1m[33mUPDATE "posts" SET "status" = ?, "updated_at" = ? WHERE "posts"."id" = ?[0m [["status", "published"], ["updated_at", "2021-08-31 19:12:58.280928"], ["id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://127.0.0.1:49618/admin/categories/1/posts/1
+Completed 302 Found in 6ms (ActiveRecord: 1.6ms | Allocations: 2213)
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:12:58 -0400
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mAdminUser Load (0.3ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1[0m
- [1m[35mCategory Load (0.2ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mCategory Load (0.4ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- [1m[36mCACHE (0.0ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (60.5ms)
-Completed 200 OK in 65ms (Views: 60.6ms | ActiveRecord: 1.2ms)
- [1m[35m (0.2ms)[0m ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
- [1m[36m (12.0ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.5ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
-Connecting to database specified by database.yml
- [1m[36m (0.4ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
- [1m[36m (11.1ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.4ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdminUser Exists (0.6ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
- [1m[36mSQL (2.4ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["created_at", Sun, 08 Sep 2013 10:44:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$JQAGT7OYOwLPU.CXKrp6AOFo6Nu205ql1MArIklHcrc8jVD9Yfu16"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Sep 2013 10:44:32 UTC +00:00]]
- [1m[35m (0.3ms)[0m COMMIT
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (1.1ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sun, 08 Sep 2013 10:44:32 UTC +00:00], ["name", "Category 1"], ["updated_at", Sun, 08 Sep 2013 10:44:32 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
- [1m[35mSQL (0.8ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sun, 08 Sep 2013 10:44:32 UTC +00:00], ["status", "reviewed"], ["title", "Post 1"], ["updated_at", Sun, 08 Sep 2013 10:44:32 UTC +00:00]]
- [1m[36m (0.2ms)[0m [1mCOMMIT[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-08 06:44:33 -0400
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.6ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-09-08 10:44:33.657176', "current_sign_in_at" = '2013-09-08 10:44:33.657176', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-08 10:44:33.658486' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.4ms)[0m COMMIT
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 8.2ms | Allocations: 8896)
+Completed 200 OK in 11ms (Views: 8.5ms | ActiveRecord: 0.3ms | Allocations: 10233)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.8ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user2@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user2@example.com"], ["encrypted_password", "$2a$04$BNrj2i.2v/KDizpZMIYmKOyqcUm23risfrzdxKHdsKNCBFaab1rfi"], ["created_at", "2021-08-31 19:12:58.689580"], ["updated_at", "2021-08-31 19:12:58.689580"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 2"], ["created_at", "2021-08-31 19:12:58.692133"], ["updated_at", "2021-08-31 19:12:58.692133"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 2"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 2"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:12:58.695291"], ["updated_at", "2021-08-31 19:12:58.695291"], ["category_id", 1]]
+ [1m[36mTRANSACTION (1.0ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:12:58 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:12:58.702450"], ["last_sign_in_at", "2021-08-31 19:12:58.702450"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:12:58.702653"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.8ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.6ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (22.4ms)
-Completed 200 OK in 48ms (Views: 28.1ms | ActiveRecord: 4.1ms)
-Started GET "/assets/active_admin.css" for 127.0.0.1 at 2013-09-08 06:44:33 -0400
-Served asset /active_admin.css - 200 OK (54ms)
-Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-09-08 06:44:33 -0400
-Served asset /active_admin.js - 200 OK (12ms)
-Started GET "/assets/active_admin/print.css" for 127.0.0.1 at 2013-09-08 06:44:33 -0400
-Served asset /active_admin/print.css - 200 OK (2ms)
- [1m[36m (0.1ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (10.3ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
- [1m[36m (0.4ms)[0m [1mALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL[0m
-Connecting to database specified by database.yml
- [1m[36m (2.8ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (7.5ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
- [1m[36m (15.2ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.5ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdminUser Exists (1.8ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
- [1m[36mSQL (3.6ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["created_at", Fri, 25 Oct 2013 23:07:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$S3pSZoM4ED/v4tleUOA3JOJ6hA2FdDWEzTcNTSep7IPvzadILOiM6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 25 Oct 2013 23:07:50 UTC +00:00]]
- [1m[35m (0.2ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.8ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Fri, 25 Oct 2013 23:07:50 UTC +00:00], ["name", "Category 1"], ["updated_at", Fri, 25 Oct 2013 23:07:50 UTC +00:00]]
- [1m[36m (0.4ms)[0m [1mCOMMIT[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
- [1m[35mSQL (0.8ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Fri, 25 Oct 2013 23:07:50 UTC +00:00], ["status", "reviewed"], ["title", "Post 1"], ["updated_at", Fri, 25 Oct 2013 23:07:50 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 19:07:51 -0400
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (2.2ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-10-25 23:07:51.276329', "current_sign_in_at" = '2013-10-25 23:07:51.276329', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-25 23:07:51.278056' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.5ms)[0m COMMIT
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 9.3ms | Allocations: 9045)
+Completed 200 OK in 12ms (Views: 9.7ms | ActiveRecord: 0.3ms | Allocations: 9946)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[0m
+ [1m[35m (0.3ms)[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user3@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user3@example.com"], ["encrypted_password", "$2a$04$IP2PZwtlvxf8.5wKuQGTXOVm.nBibwD5NDpEYnOU7zVPUISsm7yUq"], ["created_at", "2021-08-31 19:12:58.962217"], ["updated_at", "2021-08-31 19:12:58.962217"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 3"], ["created_at", "2021-08-31 19:12:58.964753"], ["updated_at", "2021-08-31 19:12:58.964753"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 3"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 3"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:12:58.968428"], ["updated_at", "2021-08-31 19:12:58.968428"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:12:58 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:12:58.975607"], ["last_sign_in_at", "2021-08-31 19:12:58.975607"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:12:58.975833"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.9ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.6ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (24.8ms)
-Completed 200 OK in 62ms (Views: 34.2ms | ActiveRecord: 4.5ms)
-Started GET "/assets/active_admin.css" for 127.0.0.1 at 2013-10-25 19:07:51 -0400
-Served asset /active_admin.css - 200 OK (16ms)
-Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-10-25 19:07:51 -0400
-Served asset /active_admin.js - 200 OK (88ms)
-Started GET "/assets/active_admin/print.css" for 127.0.0.1 at 2013-10-25 19:07:51 -0400
-Served asset /active_admin/print.css - 200 OK (5ms)
- [1m[36m (0.2ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (8.7ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
- [1m[36m (0.4ms)[0m [1mALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL[0m
-Connecting to database specified by database.yml
- [1m[36m (0.4ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (1.4ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
- [1m[36m (9.0ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.3ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdminUser Exists (0.8ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
- [1m[36mSQL (2.8ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["created_at", Fri, 25 Oct 2013 23:08:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$e5D2bJgwe39.CEQYbJVCheWzCk/d1vx.8DFKMSyq6IFttmfpKQX3S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 25 Oct 2013 23:08:09 UTC +00:00]]
- [1m[35m (0.3ms)[0m COMMIT
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (1.1ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Fri, 25 Oct 2013 23:08:09 UTC +00:00], ["name", "Category 1"], ["updated_at", Fri, 25 Oct 2013 23:08:09 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
- [1m[35mSQL (0.8ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Fri, 25 Oct 2013 23:08:09 UTC +00:00], ["status", "reviewed"], ["title", "Post 1"], ["updated_at", Fri, 25 Oct 2013 23:08:09 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 19:08:10 -0400
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.6ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-10-25 23:08:10.170897', "current_sign_in_at" = '2013-10-25 23:08:10.170897', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-25 23:08:10.172242' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.4ms)[0m COMMIT
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 9.7ms | Allocations: 9045)
+Completed 200 OK in 12ms (Views: 10.0ms | ActiveRecord: 0.2ms | Allocations: 9946)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user4@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user4@example.com"], ["encrypted_password", "$2a$04$2dNYLeGZunL93h9bILFQN.HA0oXJSYIdgb7EqlZBqz2hZPCm3pW/u"], ["created_at", "2021-08-31 19:12:59.205402"], ["updated_at", "2021-08-31 19:12:59.205402"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 4"], ["created_at", "2021-08-31 19:12:59.207651"], ["updated_at", "2021-08-31 19:12:59.207651"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 4"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 4"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:12:59.210679"], ["updated_at", "2021-08-31 19:12:59.210679"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:12:59 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:12:59.217801"], ["last_sign_in_at", "2021-08-31 19:12:59.217801"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:12:59.218053"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.8ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.9ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (23.9ms)
-Completed 200 OK in 51ms (Views: 30.2ms | ActiveRecord: 4.5ms)
-Started GET "/assets/active_admin.css" for 127.0.0.1 at 2013-10-25 19:08:10 -0400
-Served asset /active_admin.css - 200 OK (10ms)
-Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-10-25 19:08:10 -0400
-Served asset /active_admin.js - 200 OK (62ms)
-Started GET "/assets/active_admin/print.css" for 127.0.0.1 at 2013-10-25 19:08:10 -0400
-Served asset /active_admin/print.css - 200 OK (2ms)
- [1m[36m (0.3ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (11.0ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
- [1m[36m (0.5ms)[0m [1mALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL[0m
-Connecting to database specified by database.yml
- [1m[36m (2.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
-Migrating to DeviseCreateAdminUsers (20130817004304)
-Migrating to CreateAdminNotes (20130817004306)
-Migrating to MoveAdminNotesToComments (20130817004307)
-Migrating to CreatePosts (20130817005638)
-Migrating to CreateCategories (20130829000200)
-Migrating to AddSuperAdminToAdminUsers (20131025231118)
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (19.3ms)[0m [1mALTER TABLE "admin_users" ADD COLUMN "super_admin" boolean DEFAULT 'f'[0m
- [1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20131025231118')
- [1m[36m (0.8ms)[0m [1mCOMMIT[0m
- [1m[35m (0.2ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
-Connecting to database specified by database.yml
- [1m[36m (0.4ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (1.2ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
- [1m[36m (9.4ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.4ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mAdminUser Exists (0.6ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
- [1m[36mSQL (2.5ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"[0m [["created_at", Fri, 25 Oct 2013 23:17:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$8K3G/jPNHdbJB4SyZc6kpuEedO3s.j9IxIShu.8DzlNdqeVu7Pb6W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Fri, 25 Oct 2013 23:17:48 UTC +00:00]]
- [1m[35m (0.3ms)[0m COMMIT
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (1.1ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Fri, 25 Oct 2013 23:17:48 UTC +00:00], ["name", "Category 1"], ["updated_at", Fri, 25 Oct 2013 23:17:48 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
- [1m[35mSQL (0.8ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Fri, 25 Oct 2013 23:17:48 UTC +00:00], ["status", "reviewed"], ["title", "Post 1"], ["updated_at", Fri, 25 Oct 2013 23:17:48 UTC +00:00]]
- [1m[36m (0.4ms)[0m [1mCOMMIT[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 19:17:49 -0400
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.6ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-10-25 23:17:49.062903', "current_sign_in_at" = '2013-10-25 23:17:49.062903', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-25 23:17:49.064136' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.5ms)[0m COMMIT
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 10.0ms | Allocations: 9045)
+Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.2ms | Allocations: 9946)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user5@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user5@example.com"], ["encrypted_password", "$2a$04$Fbl5VcKH8Zk/0EBeOQqSbufoL3Nfel0rI7fjvR/nfai1t18kR1O96"], ["created_at", "2021-08-31 19:12:59.449517"], ["updated_at", "2021-08-31 19:12:59.449517"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 5"], ["created_at", "2021-08-31 19:12:59.451828"], ["updated_at", "2021-08-31 19:12:59.451828"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 5"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user6@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user6@example.com"], ["encrypted_password", "$2a$04$jiI6unMebGbEWLd4xdw4ReeKyBegoQgEt8oddPWUweg4UObkubq1q"], ["created_at", "2021-08-31 19:12:59.479064"], ["updated_at", "2021-08-31 19:12:59.479064"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 6"], ["created_at", "2021-08-31 19:12:59.481297"], ["updated_at", "2021-08-31 19:12:59.481297"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 6"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.1ms)[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user7@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user7@example.com"], ["encrypted_password", "$2a$04$v.kkHcEeE4VqFuimdLOFTen5SA07/ydzZ/DSnyTf98YCP3LC7X23e"], ["created_at", "2021-08-31 19:12:59.508755"], ["updated_at", "2021-08-31 19:12:59.508755"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 7"], ["created_at", "2021-08-31 19:12:59.511278"], ["updated_at", "2021-08-31 19:12:59.511278"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 7"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 7"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:12:59.514762"], ["updated_at", "2021-08-31 19:12:59.514762"], ["category_id", 1]]
+ [1m[36mTRANSACTION (1.0ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:12:59 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:12:59.518365"], ["last_sign_in_at", "2021-08-31 19:12:59.518365"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:12:59.518518"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.8ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.5ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (22.7ms)
-Completed 200 OK in 49ms (Views: 28.8ms | ActiveRecord: 4.6ms)
-Started GET "/assets/active_admin.css" for 127.0.0.1 at 2013-10-25 19:17:49 -0400
-Compiled active_admin.css (780ms) (pid 3430)
-Served asset /active_admin.css - 200 OK (793ms)
-Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-10-25 19:17:49 -0400
-Compiled jquery.js (51ms) (pid 3430)
-Compiled jquery-ui.js (5ms) (pid 3430)
-Compiled jquery_ujs.js (0ms) (pid 3430)
-Compiled active_admin/lib/namespace.js (90ms) (pid 3430)
-Compiled active_admin/components/jquery.aa.checkbox-toggler.js (162ms) (pid 3430)
-Compiled active_admin/components/jquery.aa.dropdown-menu.js (150ms) (pid 3430)
-Compiled active_admin/components/jquery.aa.popover.js (143ms) (pid 3430)
-Compiled active_admin/components/jquery.aa.table-checkbox-toggler.js (96ms) (pid 3430)
-Compiled active_admin/pages/application.js (85ms) (pid 3430)
-Compiled active_admin/pages/batch_actions.js (107ms) (pid 3430)
-Compiled active_admin/application.js (921ms) (pid 3430)
-Compiled active_admin/base.js (1044ms) (pid 3430)
-Compiled active_admin.js (1049ms) (pid 3430)
-Served asset /active_admin.js - 200 OK (1120ms)
-Started GET "/assets/active_admin/print.css" for 127.0.0.1 at 2013-10-25 19:17:51 -0400
-Compiled active_admin/print.css (60ms) (pid 3430)
-Served asset /active_admin/print.css - 200 OK (65ms)
- [1m[36m (0.2ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (10.7ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
- [1m[36m (0.3ms)[0m [1mALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL[0m
-Connecting to database specified by database.yml
- [1m[36m (0.4ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (1.2ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
- [1m[36m (30.5ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.5ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdminUser Exists (0.8ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
- [1m[36mSQL (2.8ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"[0m [["created_at", Fri, 25 Oct 2013 23:20:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$DebIjn/HMdcoXIdH6sFF3u27tljsDN8Woz.47WJP8jOh5XTEDaiM2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Fri, 25 Oct 2013 23:20:42 UTC +00:00]]
- [1m[35m (0.4ms)[0m COMMIT
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (1.0ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Fri, 25 Oct 2013 23:20:42 UTC +00:00], ["name", "Category 1"], ["updated_at", Fri, 25 Oct 2013 23:20:42 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
- [1m[35mSQL (0.8ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Fri, 25 Oct 2013 23:20:42 UTC +00:00], ["status", "reviewed"], ["title", "Post 1"], ["updated_at", Fri, 25 Oct 2013 23:20:42 UTC +00:00]]
- [1m[36m (0.2ms)[0m [1mCOMMIT[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 19:20:42 -0400
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (1.0ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-10-25 23:20:42.963844', "current_sign_in_at" = '2013-10-25 23:20:42.963844', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-25 23:20:42.965337' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.4ms)[0m COMMIT
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 9.7ms | Allocations: 9042)
+Completed 200 OK in 12ms (Views: 10.0ms | ActiveRecord: 0.3ms | Allocations: 9981)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user8@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user8@example.com"], ["encrypted_password", "$2a$04$FQJE6ywBE0xOsQHi9yDcNO5YZ2DfVWa0RTVeXnTONWXTE9sKafUVi"], ["created_at", "2021-08-31 19:12:59.559285"], ["updated_at", "2021-08-31 19:12:59.559285"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 8"], ["created_at", "2021-08-31 19:12:59.561568"], ["updated_at", "2021-08-31 19:12:59.561568"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 8"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 8"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:12:59.564470"], ["updated_at", "2021-08-31 19:12:59.564470"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:12:59 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:12:59.567308"], ["last_sign_in_at", "2021-08-31 19:12:59.567308"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:12:59.567426"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.8ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.9ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (34.6ms)
-Completed 200 OK in 72ms (Views: 44.7ms | ActiveRecord: 4.9ms)
-Started GET "/assets/active_admin.css" for 127.0.0.1 at 2013-10-25 19:20:43 -0400
-Served asset /active_admin.css - 200 OK (9ms)
-Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-10-25 19:20:43 -0400
-Served asset /active_admin.js - 200 OK (62ms)
-Started GET "/assets/active_admin/print.css" for 127.0.0.1 at 2013-10-25 19:20:43 -0400
-Served asset /active_admin/print.css - 200 OK (2ms)
- [1m[36m (0.2ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (10.2ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
- [1m[36m (0.4ms)[0m [1mALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL[0m
-Connecting to database specified by database.yml
- [1m[36m (0.4ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (1.5ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
- [1m[36m (11.6ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.5ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mAdminUser Exists (0.8ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
- [1m[36mSQL (2.5ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"[0m [["created_at", Fri, 25 Oct 2013 23:24:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$0csjp8Bwh6iwMVanRGtM9.SDTcvYbaxa33IV1rbn59vWifBTWPGQq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Fri, 25 Oct 2013 23:24:02 UTC +00:00]]
- [1m[35m (1.0ms)[0m COMMIT
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (1.1ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Fri, 25 Oct 2013 23:24:02 UTC +00:00], ["name", "Category 1"], ["updated_at", Fri, 25 Oct 2013 23:24:02 UTC +00:00]]
- [1m[36m (0.4ms)[0m [1mCOMMIT[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mPost Exists (0.6ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
- [1m[35mSQL (1.4ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Fri, 25 Oct 2013 23:24:02 UTC +00:00], ["status", "reviewed"], ["title", "Post 1"], ["updated_at", Fri, 25 Oct 2013 23:24:02 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 19:24:02 -0400
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.6ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-10-25 23:24:02.896198', "current_sign_in_at" = '2013-10-25 23:24:02.896198', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-25 23:24:02.897406' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.5ms)[0m COMMIT
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 9.8ms | Allocations: 9040)
+Completed 200 OK in 12ms (Views: 10.2ms | ActiveRecord: 0.3ms | Allocations: 9941)
+Started GET "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2021-08-31 15:12:59 -0400
+Processing by Admin::PostsController#reopen as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mAdminUser Load (0.2ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+Redirected to http://www.example.com/admin/dashboard
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms | Allocations: 666)
+Started GET "/admin/dashboard" for 127.0.0.1 at 2021-08-31 15:12:59 -0400
+Processing by Admin::DashboardController#index as HTML
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/page/index.html.arb
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/page/index.html.arb (Duration: 4.8ms | Allocations: 4707)
+Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.1ms | Allocations: 6018)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (2.5ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.5ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user1@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user1@example.com"], ["encrypted_password", "$2a$04$/Ej7up33dCcmyFCB7wdCW.JYJRCGmb9h4QD7MQcW879lj7GJj8lhC"], ["created_at", "2021-08-31 19:14:36.815876"], ["updated_at", "2021-08-31 19:14:36.815876"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 1"], ["created_at", "2021-08-31 19:14:36.820896"], ["updated_at", "2021-08-31 19:14:36.820896"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 1"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.7ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.8ms)[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user2@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user2@example.com"], ["encrypted_password", "$2a$04$86YP2Xq6CWNt2aT5294kkOTjJQqd4cEUFFFf7vVT7VmsMZyQs4TKu"], ["created_at", "2021-08-31 19:14:36.890710"], ["updated_at", "2021-08-31 19:14:36.890710"]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 2"], ["created_at", "2021-08-31 19:14:36.893768"], ["updated_at", "2021-08-31 19:14:36.893768"]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 2"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.8ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.5ms)[0m [1m[31mDELETE FROM "active_admin_comments"[0m
+ [1m[35m (1.0ms)[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.9ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user3@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.5ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user3@example.com"], ["encrypted_password", "$2a$04$BNPPUISjD9C0jGtp9DZB2.p7qr/juapry0iQVakQCATh.4ISjoINu"], ["created_at", "2021-08-31 19:14:36.929854"], ["updated_at", "2021-08-31 19:14:36.929854"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (1.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 3"], ["created_at", "2021-08-31 19:14:36.933950"], ["updated_at", "2021-08-31 19:14:36.933950"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 3"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 3"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:14:36.938630"], ["updated_at", "2021-08-31 19:14:36.938630"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:14:36 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:14:36.956200"], ["last_sign_in_at", "2021-08-31 19:14:36.956200"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:14:36.956431"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.7ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.6ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (22.8ms)
-Completed 200 OK in 47ms (Views: 28.2ms | ActiveRecord: 4.0ms)
-Started GET "/assets/active_admin.css" for 127.0.0.1 at 2013-10-25 19:24:03 -0400
-Served asset /active_admin.css - 200 OK (10ms)
-Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-10-25 19:24:03 -0400
-Served asset /active_admin.js - 200 OK (63ms)
-Started GET "/assets/active_admin/print.css" for 127.0.0.1 at 2013-10-25 19:24:03 -0400
-Served asset /active_admin/print.css - 200 OK (2ms)
-Started PUT "/admin/categories/1/posts/1/publish" for 127.0.0.1 at 2013-10-25 19:24:03 -0400
-Processing by Admin::PostsController#publish as HTML
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.2ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 282.2ms | Allocations: 76815)
+Completed 200 OK in 326ms (Views: 293.7ms | ActiveRecord: 0.4ms | Allocations: 85272)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM "active_admin_comments"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user4@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user4@example.com"], ["encrypted_password", "$2a$04$3/mleYnb3Yr/u4e5wOAVPeqTvpXMujXZgDP2xwIzk8VItoQVhsRp2"], ["created_at", "2021-08-31 19:14:37.341755"], ["updated_at", "2021-08-31 19:14:37.341755"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 4"], ["created_at", "2021-08-31 19:14:37.344214"], ["updated_at", "2021-08-31 19:14:37.344214"]]
+ [1m[36mTRANSACTION (1.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 4"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.4ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 4"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:14:37.349363"], ["updated_at", "2021-08-31 19:14:37.349363"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:14:37 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:14:37.352959"], ["last_sign_in_at", "2021-08-31 19:14:37.352959"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:14:37.353150"], ["id", 1]]
+ [1m[36mTRANSACTION (1.0ms)[0m [1m[36mcommit transaction[0m
+Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mAdminUser Load (0.4ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1[0m
- [1m[35mCategory Load (0.3ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mPost Exists (0.6ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE ("posts"."title" = 'Post 1' AND "posts"."id" != 1) LIMIT 1[0m
- [1m[35m (0.3ms)[0m UPDATE "posts" SET "status" = 'published', "updated_at" = '2013-10-25 23:24:03.231828' WHERE "posts"."id" = 1
- [1m[36m (0.2ms)[0m [1mCOMMIT[0m
-Redirected to http://127.0.0.1:55180/admin/categories/1/posts/1
-Completed 302 Found in 15ms (ActiveRecord: 2.2ms)
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 19:24:03 -0400
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 22.8ms | Allocations: 9043)
+Completed 200 OK in 25ms (Views: 23.2ms | ActiveRecord: 0.3ms | Allocations: 9947)
+Started GET "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2021-08-31 15:14:37 -0400
+Processing by Admin::PostsController#reopen as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mAdminUser Load (0.2ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+Redirected to http://www.example.com/admin/dashboard
+Completed 302 Found in 2ms (ActiveRecord: 0.2ms | Allocations: 760)
+Started GET "/admin/dashboard" for 127.0.0.1 at 2021-08-31 15:14:37 -0400
+Processing by Admin::DashboardController#index as HTML
+ [1m[36mAdminUser Load (0.2ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/page/index.html.arb
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/page/index.html.arb (Duration: 6.3ms | Allocations: 4708)
+Completed 200 OK in 10ms (Views: 8.5ms | ActiveRecord: 0.2ms | Allocations: 6020)
+ [1m[35m (0.2ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.6ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user5@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.5ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user5@example.com"], ["encrypted_password", "$2a$04$A3mi90Omy6DuEYiIHC4GLeOxfijK/J23Rq0PirNMOqvuA5xj9FKNy"], ["created_at", "2021-08-31 19:14:37.433861"], ["updated_at", "2021-08-31 19:14:37.433861"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 5"], ["created_at", "2021-08-31 19:14:37.436606"], ["updated_at", "2021-08-31 19:14:37.436606"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 5"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.4ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 5"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:14:37.440302"], ["updated_at", "2021-08-31 19:14:37.440302"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:14:38 -0400
+ [1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:14:38.674573"], ["last_sign_in_at", "2021-08-31 19:14:38.674573"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:14:38.676179"], ["id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[35mAdminUser Load (0.4ms)[0m SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
- [1m[36mCategory Load (0.2ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.3ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (20.3ms)
-Completed 200 OK in 26ms (Views: 20.7ms | ActiveRecord: 1.2ms)
- [1m[36m (0.1ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (8.6ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
- [1m[36m (0.4ms)[0m [1mALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL[0m
-Connecting to database specified by database.yml
- [1m[36m (0.4ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (1.2ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
- [1m[36m (10.1ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.3ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdminUser Exists (0.7ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
- [1m[36mSQL (2.7ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"[0m [["created_at", Fri, 25 Oct 2013 23:28:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$8LGavo8z2Xxl4PWGXHuROeGkVYNYCw8SRXHLnQ200bS0tt8Jux6Wm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Fri, 25 Oct 2013 23:28:32 UTC +00:00]]
- [1m[35m (0.3ms)[0m COMMIT
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (1.0ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Fri, 25 Oct 2013 23:28:32 UTC +00:00], ["name", "Category 1"], ["updated_at", Fri, 25 Oct 2013 23:28:32 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mPost Exists (0.5ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
- [1m[35mSQL (0.8ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Fri, 25 Oct 2013 23:28:32 UTC +00:00], ["status", "reviewed"], ["title", "Post 1"], ["updated_at", Fri, 25 Oct 2013 23:28:32 UTC +00:00]]
- [1m[36m (0.2ms)[0m [1mCOMMIT[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 19:28:33 -0400
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (1.3ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-10-25 23:28:33.124360', "current_sign_in_at" = '2013-10-25 23:28:33.124360', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-25 23:28:33.126211' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.7ms)[0m COMMIT
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 10.9ms | Allocations: 9080)
+Completed 200 OK in 15ms (Views: 11.5ms | ActiveRecord: 0.3ms | Allocations: 10033)
+Started GET "/assets/active_admin/print-f6ce3ffc349ca6c010940202a36b916e852d26179018d2cdc1513350bea7dcba.css" for 127.0.0.1 at 2021-08-31 15:14:38 -0400
+Started GET "/assets/active_admin-9dbfb3c7d6c5060ec15c0f398011488cb7ef48a212410e256cb15388ba4957e3.js" for 127.0.0.1 at 2021-08-31 15:14:38 -0400
+Started GET "/assets/active_admin-7e9d70f63036f2488cd96a0dba0b3be93e30b9023b574f0c19a673ac83072e17.css" for 127.0.0.1 at 2021-08-31 15:14:43 -0400
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+Started PUT "/admin/categories/1/posts/1/archive" for 127.0.0.1 at 2021-08-31 15:14:43 -0400
+Processing by Admin::PostsController#archive as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mAdminUser Load (0.2ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+Completed 401 Unauthorized in 3ms (ActiveRecord: 0.2ms | Allocations: 558)
+Started GET "/admin/login" for 127.0.0.1 at 2021-08-31 15:14:43 -0400
+Processing by ActiveAdmin::Devise::SessionsController#new as HTML
+ Rendering layout /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/layouts/active_admin_logged_out.html.erb
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/shared/_links.erb (Duration: 1.5ms | Allocations: 569)
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out (Duration: 29.2ms | Allocations: 6861)
+ Rendered layout /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/layouts/active_admin_logged_out.html.erb (Duration: 31.8ms | Allocations: 9084)
+Completed 200 OK in 38ms (Views: 34.9ms | ActiveRecord: 0.0ms | Allocations: 10853)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user6@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user6@example.com"], ["encrypted_password", "$2a$04$HLwxq.JSBtLmoKQlI8V4GeVIqWbqwoqL6.4UZYy/IqDJmJZD711j6"], ["created_at", "2021-08-31 19:14:44.208538"], ["updated_at", "2021-08-31 19:14:44.208538"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 6"], ["created_at", "2021-08-31 19:14:44.210927"], ["updated_at", "2021-08-31 19:14:44.210927"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 6"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 6"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:14:44.214033"], ["updated_at", "2021-08-31 19:14:44.214033"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:14:44 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:14:44.221365"], ["last_sign_in_at", "2021-08-31 19:14:44.221365"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:14:44.221637"], ["id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.9ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.7ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.5ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (32.4ms)
-Completed 200 OK in 68ms (Views: 39.0ms | ActiveRecord: 5.4ms)
-Started GET "/assets/active_admin.css" for 127.0.0.1 at 2013-10-25 19:28:33 -0400
-Served asset /active_admin.css - 200 OK (12ms)
-Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-10-25 19:28:33 -0400
-Served asset /active_admin.js - 200 OK (81ms)
-Started GET "/assets/active_admin/print.css" for 127.0.0.1 at 2013-10-25 19:28:33 -0400
-Served asset /active_admin/print.css - 200 OK (3ms)
-Started PUT "/admin/categories/1/posts/1/publish" for 127.0.0.1 at 2013-10-25 19:28:33 -0400
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 9.8ms | Allocations: 9077)
+Completed 200 OK in 12ms (Views: 10.3ms | ActiveRecord: 0.3ms | Allocations: 9979)
+Started PUT "/admin/categories/1/posts/1/publish" for 127.0.0.1 at 2021-08-31 15:14:44 -0400
Processing by Admin::PostsController#publish as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mAdminUser Load (0.4ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1[0m
- [1m[35mCategory Load (0.4ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mPost Exists (1.9ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE ("posts"."title" = 'Post 1' AND "posts"."id" != 1) LIMIT 1[0m
- [1m[35m (0.5ms)[0m UPDATE "posts" SET "status" = 'published', "updated_at" = '2013-10-25 23:28:33.566197' WHERE "posts"."id" = 1
- [1m[36m (1.6ms)[0m [1mCOMMIT[0m
-Redirected to http://127.0.0.1:55257/admin/categories/1/posts/1
-Completed 302 Found in 22ms (ActiveRecord: 5.2ms)
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 19:28:33 -0400
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? AND "posts"."id" != ? LIMIT ?[0m [["title", "Post 6"], ["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Update (0.3ms)[0m [1m[33mUPDATE "posts" SET "status" = ?, "updated_at" = ? WHERE "posts"."id" = ?[0m [["status", "published"], ["updated_at", "2021-08-31 19:14:44.307847"], ["id", 1]]
+ [1m[36mTRANSACTION (1.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://127.0.0.1:49647/admin/categories/1/posts/1
+Completed 302 Found in 6ms (ActiveRecord: 1.9ms | Allocations: 2096)
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:14:44 -0400
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[35mAdminUser Load (0.5ms)[0m SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
- [1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.4ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.3ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (23.5ms)
-Completed 200 OK in 30ms (Views: 23.9ms | ActiveRecord: 1.6ms)
- [1m[36m (0.2ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (11.5ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
- [1m[36m (0.5ms)[0m [1mALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL[0m
-Connecting to database specified by database.yml
- [1m[36m (0.4ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
- [1m[36m (10.8ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.4ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mAdminUser Exists (0.8ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
- [1m[36mSQL (2.5ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"[0m [["created_at", Fri, 25 Oct 2013 23:29:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$PZJ3fpCkiNCBW7wwb64wQ.7blbrcN9DrPL/iZ9a48qDRZ93maLUom"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Fri, 25 Oct 2013 23:29:09 UTC +00:00]]
- [1m[35m (0.3ms)[0m COMMIT
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (1.1ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Fri, 25 Oct 2013 23:29:09 UTC +00:00], ["name", "Category 1"], ["updated_at", Fri, 25 Oct 2013 23:29:09 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
- [1m[35mSQL (0.9ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Fri, 25 Oct 2013 23:29:09 UTC +00:00], ["status", "reviewed"], ["title", "Post 1"], ["updated_at", Fri, 25 Oct 2013 23:29:09 UTC +00:00]]
- [1m[36m (0.2ms)[0m [1mCOMMIT[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 19:29:09 -0400
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.7ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-10-25 23:29:09.905768', "current_sign_in_at" = '2013-10-25 23:29:09.905768', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-25 23:29:09.907423' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.3ms)[0m COMMIT
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 8.5ms | Allocations: 8896)
+Completed 200 OK in 11ms (Views: 8.8ms | ActiveRecord: 0.3ms | Allocations: 10236)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.5ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user7@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user7@example.com"], ["encrypted_password", "$2a$04$bZURD/MyxTMSCegGydnsoOS4qc7yB.bm7cYHHsHgs1/p3wOlUMQiW"], ["created_at", "2021-08-31 19:14:44.614711"], ["updated_at", "2021-08-31 19:14:44.614711"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 7"], ["created_at", "2021-08-31 19:14:44.617107"], ["updated_at", "2021-08-31 19:14:44.617107"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 7"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 7"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:14:44.620253"], ["updated_at", "2021-08-31 19:14:44.620253"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:14:44 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:14:44.627223"], ["last_sign_in_at", "2021-08-31 19:14:44.627223"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:14:44.627447"], ["id", 1]]
+ [1m[36mTRANSACTION (1.1ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.7ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.5ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.5ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (26.2ms)
-Completed 200 OK in 53ms (Views: 32.5ms | ActiveRecord: 4.1ms)
-Started GET "/assets/active_admin.css" for 127.0.0.1 at 2013-10-25 19:29:10 -0400
-Served asset /active_admin.css - 200 OK (12ms)
-Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-10-25 19:29:10 -0400
-Served asset /active_admin.js - 200 OK (64ms)
-Started GET "/assets/active_admin/print.css" for 127.0.0.1 at 2013-10-25 19:29:10 -0400
-Served asset /active_admin/print.css - 200 OK (2ms)
-Started PUT "/admin/categories/1/posts/1/publish" for 127.0.0.1 at 2013-10-25 19:29:10 -0400
-Processing by Admin::PostsController#publish as HTML
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 10.4ms | Allocations: 9045)
+Completed 200 OK in 13ms (Views: 10.8ms | ActiveRecord: 0.3ms | Allocations: 9946)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (3.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user8@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user8@example.com"], ["encrypted_password", "$2a$04$9ynj5ZFU2ANjU1.gvLWEP..RKH8DXEh9Bt1XK6ZPVk6PepQ65hngO"], ["created_at", "2021-08-31 19:14:44.908340"], ["updated_at", "2021-08-31 19:14:44.908340"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 8"], ["created_at", "2021-08-31 19:14:44.910682"], ["updated_at", "2021-08-31 19:14:44.910682"]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 8"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.4ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 8"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:14:44.914256"], ["updated_at", "2021-08-31 19:14:44.914256"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:14:44 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:14:44.951849"], ["last_sign_in_at", "2021-08-31 19:14:44.951849"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:14:44.952040"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mAdminUser Load (0.4ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1[0m
- [1m[35mCategory Load (0.3ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mPost Exists (0.6ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE ("posts"."title" = 'Post 1' AND "posts"."id" != 1) LIMIT 1[0m
- [1m[35m (0.3ms)[0m UPDATE "posts" SET "status" = 'published', "updated_at" = '2013-10-25 23:29:10.234478' WHERE "posts"."id" = 1
- [1m[36m (1.8ms)[0m [1mCOMMIT[0m
-Redirected to http://127.0.0.1:55272/admin/categories/1/posts/1
-Completed 302 Found in 14ms (ActiveRecord: 3.8ms)
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 19:29:10 -0400
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 9.2ms | Allocations: 9049)
+Completed 200 OK in 11ms (Views: 9.5ms | ActiveRecord: 0.2ms | Allocations: 9952)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+Started GET "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2021-08-31 15:14:45 -0400
+Processing by Admin::PostsController#reopen as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+Completed 401 Unauthorized in 1ms (ActiveRecord: 0.1ms | Allocations: 509)
+Started GET "/admin/login" for 127.0.0.1 at 2021-08-31 15:14:45 -0400
+Processing by ActiveAdmin::Devise::SessionsController#new as HTML
+ Rendering layout /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/layouts/active_admin_logged_out.html.erb
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/shared/_links.erb (Duration: 0.1ms | Allocations: 81)
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out (Duration: 2.4ms | Allocations: 2040)
+ Rendered layout /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/layouts/active_admin_logged_out.html.erb (Duration: 4.2ms | Allocations: 4220)
+Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms | Allocations: 4801)
+ [1m[35m (2.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[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.3ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.3ms)[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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user1@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user1@example.com"], ["encrypted_password", "$2a$04$Lh61.e6poIpe5UKeQF9e.eG3THdLfbZPmGLFOXzN4p.oSePVdO2rS"], ["created_at", "2021-08-31 19:15:25.269311"], ["updated_at", "2021-08-31 19:15:25.269311"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 1"], ["created_at", "2021-08-31 19:15:25.274645"], ["updated_at", "2021-08-31 19:15:25.274645"]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 1"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user2@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user2@example.com"], ["encrypted_password", "$2a$04$TCpjYd6.6c3gryKqf1CaNeZwUm1PQksVJ3mUM/4KtZN4yak1P/dSq"], ["created_at", "2021-08-31 19:15:25.337846"], ["updated_at", "2021-08-31 19:15:25.337846"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 2"], ["created_at", "2021-08-31 19:15:25.339842"], ["updated_at", "2021-08-31 19:15:25.339842"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 2"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (12.7ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (7.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user3@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user3@example.com"], ["encrypted_password", "$2a$04$W4LPOTQP0ie/n6pzzJUUIeA9KtacDzilEATe9bGINtYGXvtn7xcDe"], ["created_at", "2021-08-31 19:15:25.386251"], ["updated_at", "2021-08-31 19:15:25.386251"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (1.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.6ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 3"], ["created_at", "2021-08-31 19:15:25.389374"], ["updated_at", "2021-08-31 19:15:25.389374"]]
+ [1m[36mTRANSACTION (1.3ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 3"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.4ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 3"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:15:25.394581"], ["updated_at", "2021-08-31 19:15:25.394581"], ["category_id", 1]]
+ [1m[36mTRANSACTION (1.7ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:15:25 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:15:25.407970"], ["last_sign_in_at", "2021-08-31 19:15:25.407970"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:15:25.408185"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[35mAdminUser Load (0.4ms)[0m SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
- [1m[36mCategory Load (0.3ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (14.5ms)
-Completed 200 OK in 19ms (Views: 14.7ms | ActiveRecord: 1.3ms)
- [1m[36m (0.1ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (8.4ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
- [1m[36m (0.4ms)[0m [1mALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL[0m
-Connecting to database specified by database.yml
- [1m[36m (0.4ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
- [1m[36m (11.8ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.3ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdminUser Exists (0.8ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
- [1m[36mSQL (2.5ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"[0m [["created_at", Fri, 25 Oct 2013 23:35:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$qbJl09lR8163WI7cstu7DOFvRTnzV6hpfD9qX3uMT7DT6JGagVoAS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Fri, 25 Oct 2013 23:35:07 UTC +00:00]]
- [1m[35m (0.4ms)[0m COMMIT
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (1.2ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Fri, 25 Oct 2013 23:35:07 UTC +00:00], ["name", "Category 1"], ["updated_at", Fri, 25 Oct 2013 23:35:07 UTC +00:00]]
- [1m[36m (0.4ms)[0m [1mCOMMIT[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
- [1m[35mSQL (0.8ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Fri, 25 Oct 2013 23:35:07 UTC +00:00], ["status", "reviewed"], ["title", "Post 1"], ["updated_at", Fri, 25 Oct 2013 23:35:07 UTC +00:00]]
- [1m[36m (0.2ms)[0m [1mCOMMIT[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 19:35:08 -0400
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.7ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-10-25 23:35:08.498090', "current_sign_in_at" = '2013-10-25 23:35:08.498090', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-25 23:35:08.499374' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.5ms)[0m COMMIT
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.2ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 265.4ms | Allocations: 76889)
+Completed 200 OK in 300ms (Views: 273.9ms | ActiveRecord: 0.4ms | Allocations: 85346)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.5ms)[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 "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.6ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.5ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (1.0ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user4@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user4@example.com"], ["encrypted_password", "$2a$04$KQ24RDOjy/2eG3d45k44F.0.VOSQMeaRPkrxlYk1SEg.DzAVrXr.6"], ["created_at", "2021-08-31 19:15:25.761448"], ["updated_at", "2021-08-31 19:15:25.761448"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 4"], ["created_at", "2021-08-31 19:15:25.764172"], ["updated_at", "2021-08-31 19:15:25.764172"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 4"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 4"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:15:25.768421"], ["updated_at", "2021-08-31 19:15:25.768421"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:15:25 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:15:25.772399"], ["last_sign_in_at", "2021-08-31 19:15:25.772399"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:15:25.772552"], ["id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (2.3ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.6ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (33.6ms)
-Completed 200 OK in 74ms (Views: 43.2ms | ActiveRecord: 8.3ms)
-Started GET "/assets/active_admin.css" for 127.0.0.1 at 2013-10-25 19:35:08 -0400
-Served asset /active_admin.css - 200 OK (13ms)
-Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-10-25 19:35:08 -0400
-Served asset /active_admin.js - 200 OK (62ms)
-Started GET "/assets/active_admin/print.css" for 127.0.0.1 at 2013-10-25 19:35:08 -0400
-Served asset /active_admin/print.css - 200 OK (2ms)
-Started PUT "/admin/categories/1/posts/1/publish" for 127.0.0.1 at 2013-10-25 19:35:08 -0400
-Processing by Admin::PostsController#publish as HTML
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 18.7ms | Allocations: 9040)
+Completed 200 OK in 22ms (Views: 19.6ms | ActiveRecord: 0.4ms | Allocations: 9944)
+Started GET "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2021-08-31 15:15:25 -0400
+Processing by Admin::PostsController#reopen as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mAdminUser Load (0.4ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1[0m
- [1m[35mCategory Load (0.3ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36mPost Exists (0.7ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE ("posts"."title" = 'Post 1' AND "posts"."id" != 1) LIMIT 1[0m
- [1m[35m (0.3ms)[0m UPDATE "posts" SET "status" = 'published', "updated_at" = '2013-10-25 23:35:08.858370' WHERE "posts"."id" = 1
- [1m[36m (1.8ms)[0m [1mCOMMIT[0m
-Redirected to http://127.0.0.1:55293/admin/categories/1/posts/1
-Completed 302 Found in 14ms (ActiveRecord: 4.0ms)
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 19:35:08 -0400
+ [1m[36mAdminUser Load (0.2ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+Redirected to http://www.example.com/admin/dashboard
+Completed 302 Found in 2ms (ActiveRecord: 0.2ms | Allocations: 768)
+Started GET "/admin/dashboard" for 127.0.0.1 at 2021-08-31 15:15:25 -0400
+Processing by Admin::DashboardController#index as HTML
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/page/index.html.arb
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/page/index.html.arb (Duration: 8.8ms | Allocations: 4707)
+Completed 200 OK in 13ms (Views: 10.8ms | ActiveRecord: 0.1ms | Allocations: 6013)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.8ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.5ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.8ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (22.8ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user5@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user5@example.com"], ["encrypted_password", "$2a$04$.1gheftZRtNftKr0yFi.dOiZk0hBA.KxI5NEyrWXQ06BdtBz.nsze"], ["created_at", "2021-08-31 19:15:25.875167"], ["updated_at", "2021-08-31 19:15:25.875167"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 5"], ["created_at", "2021-08-31 19:15:25.877786"], ["updated_at", "2021-08-31 19:15:25.877786"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 5"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.5ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 5"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:15:25.881552"], ["updated_at", "2021-08-31 19:15:25.881552"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:15:26 -0400
+ [1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:15:26.997480"], ["last_sign_in_at", "2021-08-31 19:15:26.997480"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:15:26.999002"], ["id", 1]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[35mAdminUser Load (0.4ms)[0m SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
- [1m[36mCategory Load (0.2ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (14.6ms)
-Completed 200 OK in 19ms (Views: 14.8ms | ActiveRecord: 1.3ms)
- [1m[36m (0.2ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (8.3ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
- [1m[36m (0.4ms)[0m [1mALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL[0m
- [1m[35m (0.3ms)[0m ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
- [1m[36m (8.7ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.4ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdminUser Exists (0.5ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
- [1m[36mSQL (1.0ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"[0m [["created_at", Fri, 25 Oct 2013 23:35:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$yUL3jGRPYfFqsC3UpHpsN.rOsoKKVIezsqQ9U8Swmn9jjTh2c80Ke"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Fri, 25 Oct 2013 23:35:08 UTC +00:00]]
- [1m[35m (0.3ms)[0m COMMIT
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (1.0ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Fri, 25 Oct 2013 23:35:08 UTC +00:00], ["name", "Category 2"], ["updated_at", Fri, 25 Oct 2013 23:35:08 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1[0m
- [1m[35mSQL (0.8ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Fri, 25 Oct 2013 23:35:08 UTC +00:00], ["status", "reviewed"], ["title", "Post 2"], ["updated_at", Fri, 25 Oct 2013 23:35:08 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 19:35:08 -0400
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.7ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-10-25 23:35:08.991934', "current_sign_in_at" = '2013-10-25 23:35:08.991934', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-25 23:35:08.992882' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.4ms)[0m COMMIT
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.9ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 19.9ms | Allocations: 9087)
+Completed 200 OK in 24ms (Views: 20.4ms | ActiveRecord: 1.0ms | Allocations: 10040)
+Started GET "/assets/active_admin-9dbfb3c7d6c5060ec15c0f398011488cb7ef48a212410e256cb15388ba4957e3.js" for 127.0.0.1 at 2021-08-31 15:15:27 -0400
+Started GET "/assets/active_admin/print-f6ce3ffc349ca6c010940202a36b916e852d26179018d2cdc1513350bea7dcba.css" for 127.0.0.1 at 2021-08-31 15:15:27 -0400
+Started GET "/assets/active_admin-7e9d70f63036f2488cd96a0dba0b3be93e30b9023b574f0c19a673ac83072e17.css" for 127.0.0.1 at 2021-08-31 15:15:32 -0400
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM "active_admin_comments"[0m
+ [1m[35m (0.5ms)[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+Started PUT "/admin/categories/1/posts/1/archive" for 127.0.0.1 at 2021-08-31 15:15:32 -0400
+Processing by Admin::PostsController#archive as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mAdminUser Load (0.2ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+Completed 401 Unauthorized in 4ms (ActiveRecord: 0.2ms | Allocations: 552)
+Started GET "/admin/login" for 127.0.0.1 at 2021-08-31 15:15:32 -0400
+Processing by ActiveAdmin::Devise::SessionsController#new as HTML
+ Rendering layout /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/layouts/active_admin_logged_out.html.erb
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/shared/_links.erb (Duration: 1.0ms | Allocations: 569)
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out (Duration: 19.1ms | Allocations: 6864)
+ Rendered layout /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/layouts/active_admin_logged_out.html.erb (Duration: 21.3ms | Allocations: 9088)
+Completed 200 OK in 55ms (Views: 51.8ms | ActiveRecord: 0.0ms | Allocations: 10863)
+ [1m[35m (0.2ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user6@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user6@example.com"], ["encrypted_password", "$2a$04$fsJ7rMKCfgM3i854qiO2ZureBAil7U75bu4okn1KaC6stZM4998s2"], ["created_at", "2021-08-31 19:15:32.542350"], ["updated_at", "2021-08-31 19:15:32.542350"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (1.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 6"], ["created_at", "2021-08-31 19:15:32.544997"], ["updated_at", "2021-08-31 19:15:32.544997"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 6"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 6"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:15:32.548296"], ["updated_at", "2021-08-31 19:15:32.548296"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:15:32 -0400
+ [1m[36mTRANSACTION (0.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.5ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:15:32.555497"], ["last_sign_in_at", "2021-08-31 19:15:32.555497"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:15:32.555728"], ["id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.5ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.6ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (23.6ms)
-Completed 200 OK in 30ms (Views: 24.1ms | ActiveRecord: 1.6ms)
- [1m[36m (0.1ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (9.8ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
- [1m[36m (0.4ms)[0m [1mALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL[0m
-Connecting to database specified by database.yml
- [1m[36m (0.7ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (1.8ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
- [1m[36m (10.7ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.3ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mAdminUser Exists (1.1ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
- [1m[36mSQL (3.1ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"[0m [["created_at", Sat, 26 Oct 2013 00:15:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$u6b.J9RmFCS6/kdhBpMDHedKdxV3MV6Uj5qGFiRtDKz0p014BVljG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Sat, 26 Oct 2013 00:15:06 UTC +00:00]]
- [1m[35m (0.3ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mSQL (1.1ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:15:06 UTC +00:00], ["name", "Category 1"], ["updated_at", Sat, 26 Oct 2013 00:15:06 UTC +00:00]]
- [1m[36m (0.6ms)[0m [1mCOMMIT[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mPost Exists (0.6ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
- [1m[35mSQL (1.1ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 00:15:06 UTC +00:00], ["status", "reviewed"], ["title", "Post 1"], ["updated_at", Sat, 26 Oct 2013 00:15:06 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:15:07 -0400
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.7ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 00:15:07.766577', "current_sign_in_at" = '2013-10-26 00:15:07.766577', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 00:15:07.768160' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.4ms)[0m COMMIT
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 9.7ms | Allocations: 9083)
+Completed 200 OK in 12ms (Views: 10.2ms | ActiveRecord: 0.2ms | Allocations: 9985)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user7@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user7@example.com"], ["encrypted_password", "$2a$04$RaW13xrM0FDSmLWnDCrjGeS5qtZbD2T6A4wzE4zgoWJ/Bqq0dcdpa"], ["created_at", "2021-08-31 19:15:32.982050"], ["updated_at", "2021-08-31 19:15:32.982050"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 7"], ["created_at", "2021-08-31 19:15:32.984563"], ["updated_at", "2021-08-31 19:15:32.984563"]]
+ [1m[36mTRANSACTION (1.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 7"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 7"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:15:32.988592"], ["updated_at", "2021-08-31 19:15:32.988592"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:15:32 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:15:32.995906"], ["last_sign_in_at", "2021-08-31 19:15:32.995906"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:15:32.996105"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (1.3ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.7ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (32.7ms)
-Completed 200 OK in 66ms (Views: 41.5ms | ActiveRecord: 5.0ms)
-Started GET "/assets/active_admin.css" for 127.0.0.1 at 2013-10-25 20:15:07 -0400
-Served asset /active_admin.css - 200 OK (14ms)
-Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-10-25 20:15:07 -0400
-Served asset /active_admin.js - 200 OK (73ms)
-Started GET "/assets/active_admin/print.css" for 127.0.0.1 at 2013-10-25 20:15:08 -0400
-Served asset /active_admin/print.css - 200 OK (2ms)
-Started PUT "/admin/categories/1/posts/1/publish" for 127.0.0.1 at 2013-10-25 20:15:08 -0400
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 9.4ms | Allocations: 9045)
+Completed 200 OK in 11ms (Views: 9.7ms | ActiveRecord: 0.2ms | Allocations: 9946)
+Started PUT "/admin/categories/1/posts/1/publish" for 127.0.0.1 at 2021-08-31 15:15:33 -0400
Processing by Admin::PostsController#publish as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mAdminUser Load (0.4ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1[0m
- [1m[35mCategory Load (0.3ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mPost Exists (0.9ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE ("posts"."title" = 'Post 1' AND "posts"."id" != 1) LIMIT 1[0m
- [1m[35m (0.4ms)[0m UPDATE "posts" SET "status" = 'published', "updated_at" = '2013-10-26 00:15:08.124078' WHERE "posts"."id" = 1
- [1m[36m (0.4ms)[0m [1mCOMMIT[0m
-Redirected to http://127.0.0.1:55469/admin/categories/1/posts/1
-Completed 302 Found in 14ms (ActiveRecord: 2.7ms)
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:15:08 -0400
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? AND "posts"."id" != ? LIMIT ?[0m [["title", "Post 7"], ["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Update (0.3ms)[0m [1m[33mUPDATE "posts" SET "status" = ?, "updated_at" = ? WHERE "posts"."id" = ?[0m [["status", "published"], ["updated_at", "2021-08-31 19:15:33.077949"], ["id", 1]]
+ [1m[36mTRANSACTION (1.1ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://127.0.0.1:49669/admin/categories/1/posts/1
+Completed 302 Found in 6ms (ActiveRecord: 1.9ms | Allocations: 2095)
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:15:33 -0400
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[35mAdminUser Load (0.4ms)[0m SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
- [1m[36mCategory Load (0.3ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (16.5ms)
-Completed 200 OK in 21ms (Views: 16.7ms | ActiveRecord: 1.3ms)
- [1m[36m (0.2ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (9.8ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
- [1m[36m (0.6ms)[0m [1mALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL[0m
- [1m[35m (0.3ms)[0m ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
- [1m[36m (11.1ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.5ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdminUser Exists (0.6ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
- [1m[36mSQL (1.7ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"[0m [["created_at", Sat, 26 Oct 2013 00:15:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$/z1n7RI7jCJZWDHwWE8mG.Q9Vatewudc8Rrqw0j6Ft/T5eDYV93Ve"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Sat, 26 Oct 2013 00:15:08 UTC +00:00]]
- [1m[35m (0.3ms)[0m COMMIT
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (1.1ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:15:08 UTC +00:00], ["name", "Category 2"], ["updated_at", Sat, 26 Oct 2013 00:15:08 UTC +00:00]]
- [1m[36m (0.5ms)[0m [1mCOMMIT[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1[0m
- [1m[35mSQL (0.8ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 00:15:08 UTC +00:00], ["status", "reviewed"], ["title", "Post 2"], ["updated_at", Sat, 26 Oct 2013 00:15:08 UTC +00:00]]
- [1m[36m (0.5ms)[0m [1mCOMMIT[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:15:08 -0400
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.7ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 00:15:08.287243', "current_sign_in_at" = '2013-10-26 00:15:08.287243', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 00:15:08.288192' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.3ms)[0m COMMIT
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 10.1ms | Allocations: 8896)
+Completed 200 OK in 13ms (Views: 10.5ms | ActiveRecord: 0.3ms | Allocations: 10230)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.3ms)[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.6ms)[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user8@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user8@example.com"], ["encrypted_password", "$2a$04$nk2T4YRfjmt0kF9cam4nX.SH6sVhUCVq2Gyjff5xb8cLo1WOmiMuW"], ["created_at", "2021-08-31 19:15:33.412833"], ["updated_at", "2021-08-31 19:15:33.412833"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 8"], ["created_at", "2021-08-31 19:15:33.415220"], ["updated_at", "2021-08-31 19:15:33.415220"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 8"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.4ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 8"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:15:33.418863"], ["updated_at", "2021-08-31 19:15:33.418863"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:15:33 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:15:33.426129"], ["last_sign_in_at", "2021-08-31 19:15:33.426129"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:15:33.426416"], ["id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.6ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.6ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.3ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (25.4ms)
-Completed 200 OK in 32ms (Views: 25.9ms | ActiveRecord: 1.5ms)
- [1m[36m (0.2ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (11.2ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
- [1m[36m (0.4ms)[0m [1mALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL[0m
- [1m[35m (0.3ms)[0m ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
- [1m[36m (9.0ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.5ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdminUser Exists (0.6ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user3@example.com' LIMIT 1
- [1m[36mSQL (1.2ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"[0m [["created_at", Sat, 26 Oct 2013 00:15:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$eEAIMOrgKnjBpGCvy0d9seVXNl1gxTxnrrCvDBWnmCR7Lm1SuXxPa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Sat, 26 Oct 2013 00:15:08 UTC +00:00]]
- [1m[35m (0.3ms)[0m COMMIT
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.9ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:15:08 UTC +00:00], ["name", "Category 3"], ["updated_at", Sat, 26 Oct 2013 00:15:08 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 3' LIMIT 1[0m
- [1m[35mSQL (1.1ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 00:15:08 UTC +00:00], ["status", "reviewed"], ["title", "Post 3"], ["updated_at", Sat, 26 Oct 2013 00:15:08 UTC +00:00]]
- [1m[36m (0.4ms)[0m [1mCOMMIT[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:15:08 -0400
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.6ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 00:15:08.464189', "current_sign_in_at" = '2013-10-26 00:15:08.464189', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 00:15:08.465005' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.4ms)[0m COMMIT
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 20.6ms | Allocations: 9050)
+Completed 200 OK in 23ms (Views: 21.0ms | ActiveRecord: 0.2ms | Allocations: 9951)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "active_admin_comments"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+Started GET "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2021-08-31 15:15:33 -0400
+Processing by Admin::PostsController#reopen as HTML
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+Completed 401 Unauthorized in 1ms (ActiveRecord: 0.1ms | Allocations: 504)
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+Started GET "/admin/login" for 127.0.0.1 at 2021-08-31 15:15:33 -0400
+Processing by ActiveAdmin::Devise::SessionsController#new as HTML
+ Rendering layout /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/layouts/active_admin_logged_out.html.erb
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/shared/_links.erb (Duration: 0.2ms | Allocations: 81)
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out (Duration: 2.7ms | Allocations: 2040)
+ Rendered layout /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/layouts/active_admin_logged_out.html.erb (Duration: 5.4ms | Allocations: 4700)
+Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.0ms | Allocations: 5646)
+ [1m[35m (1.8ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user1@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user1@example.com"], ["encrypted_password", "$2a$04$PXqZ2NGdoxXWLKgouBFiDuip2MTHC0aYWHQFVPBZIXb7X4eJy908G"], ["created_at", "2021-08-31 19:15:40.429810"], ["updated_at", "2021-08-31 19:15:40.429810"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 1"], ["created_at", "2021-08-31 19:15:40.435016"], ["updated_at", "2021-08-31 19:15:40.435016"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 1"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 1"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:15:40.447587"], ["updated_at", "2021-08-31 19:15:40.447587"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:15:40 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:15:40.456364"], ["last_sign_in_at", "2021-08-31 19:15:40.456364"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:15:40.456504"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.6ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.7ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (24.6ms)
-Completed 200 OK in 31ms (Views: 24.9ms | ActiveRecord: 1.7ms)
-Started PUT "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2013-10-25 20:15:08 -0400
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 210.7ms | Allocations: 77015)
+Completed 200 OK in 241ms (Views: 218.6ms | ActiveRecord: 0.3ms | Allocations: 85473)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.5ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.4ms)[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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user2@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user2@example.com"], ["encrypted_password", "$2a$04$eVTL9gVWin8UFv2WPLHNVusZ5gGWksVVsaPzgPxIj.pNsG51uF0Nq"], ["created_at", "2021-08-31 19:15:40.786181"], ["updated_at", "2021-08-31 19:15:40.786181"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.7ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 2"], ["created_at", "2021-08-31 19:15:40.788849"], ["updated_at", "2021-08-31 19:15:40.788849"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 2"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 2"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:15:40.792903"], ["updated_at", "2021-08-31 19:15:40.792903"], ["category_id", 1]]
+ [1m[36mTRANSACTION (1.5ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:15:40 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:15:40.797327"], ["last_sign_in_at", "2021-08-31 19:15:40.797327"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:15:40.797475"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mCategory Load (0.5ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.2ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 15.0ms | Allocations: 9040)
+Completed 200 OK in 18ms (Views: 15.4ms | ActiveRecord: 0.7ms | Allocations: 9944)
+Started GET "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2021-08-31 15:15:40 -0400
Processing by Admin::PostsController#reopen as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mAdminUser Load (0.5ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1[0m
- [1m[35mCategory Load (0.4ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mPost Load (0.4ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE ("posts"."title" = 'Post 3' AND "posts"."id" != 1) LIMIT 1[0m
- [1m[35m (0.3ms)[0m UPDATE "posts" SET "status" = 'draft', "updated_at" = '2013-10-26 00:15:08.593582' WHERE "posts"."id" = 1
- [1m[36m (0.4ms)[0m [1mCOMMIT[0m
-Redirected to http://127.0.0.1:55469/admin/categories/1/posts/1
-Completed 302 Found in 14ms (ActiveRecord: 2.4ms)
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:15:08 -0400
+ [1m[36mAdminUser Load (0.2ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+Redirected to http://www.example.com/admin/dashboard
+Completed 302 Found in 2ms (ActiveRecord: 0.2ms | Allocations: 780)
+Started GET "/admin/dashboard" for 127.0.0.1 at 2021-08-31 15:15:40 -0400
+Processing by Admin::DashboardController#index as HTML
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/page/index.html.arb
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/page/index.html.arb (Duration: 9.0ms | Allocations: 4707)
+Completed 200 OK in 13ms (Views: 10.9ms | ActiveRecord: 0.1ms | Allocations: 6009)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[0m
+ [1m[35m (18.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user3@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user3@example.com"], ["encrypted_password", "$2a$04$2jmqwb8RFwIjxFYJYjLoRuv0UCGvuH3kNEnU/FcwUgv0jq.8E/t5m"], ["created_at", "2021-08-31 19:15:40.887240"], ["updated_at", "2021-08-31 19:15:40.887240"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 3"], ["created_at", "2021-08-31 19:15:40.889404"], ["updated_at", "2021-08-31 19:15:40.889404"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 3"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 3"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:15:40.892573"], ["updated_at", "2021-08-31 19:15:40.892573"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:15:42 -0400
+ [1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.2ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:15:42.006286"], ["last_sign_in_at", "2021-08-31 19:15:42.006286"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:15:42.007844"], ["id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[35mAdminUser Load (0.4ms)[0m SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
- [1m[36mCategory Load (0.2ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (16.3ms)
-Completed 200 OK in 21ms (Views: 16.5ms | ActiveRecord: 1.3ms)
- [1m[36m (0.2ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (10.2ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
- [1m[36m (0.5ms)[0m [1mALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL[0m
-Connecting to database specified by database.yml
-Connecting to database specified by database.yml
- [1m[36m (0.5ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (1.5ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
- [1m[36m (9.8ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.4ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mAdminUser Exists (0.8ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
- [1m[36mSQL (2.6ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"[0m [["created_at", Sat, 26 Oct 2013 00:44:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$Iax8exAf.OP.YqMHirG1y.tssf.sXVcAXzzrML.ztPPeYJWMcpYn."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", false], ["updated_at", Sat, 26 Oct 2013 00:44:58 UTC +00:00]]
- [1m[35m (0.3ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mSQL (1.2ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:44:58 UTC +00:00], ["name", "Category 1"], ["updated_at", Sat, 26 Oct 2013 00:44:58 UTC +00:00]]
- [1m[36m (5.4ms)[0m [1mCOMMIT[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
- [1m[35mSQL (0.8ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 00:44:58 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Sat, 26 Oct 2013 00:44:58 UTC +00:00]]
- [1m[36m (0.2ms)[0m [1mCOMMIT[0m
- [1m[35mPost Load (0.5ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
- [1m[36mCategory Load (0.3ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:44:58 -0400
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.6ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 00:44:58.142560', "current_sign_in_at" = '2013-10-26 00:44:58.142560', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 00:44:58.143567' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.4ms)[0m COMMIT
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 13.1ms | Allocations: 9087)
+Completed 200 OK in 17ms (Views: 13.8ms | ActiveRecord: 0.3ms | Allocations: 10040)
+Started GET "/assets/active_admin/print-f6ce3ffc349ca6c010940202a36b916e852d26179018d2cdc1513350bea7dcba.css" for 127.0.0.1 at 2021-08-31 15:15:42 -0400
+Started GET "/assets/active_admin-9dbfb3c7d6c5060ec15c0f398011488cb7ef48a212410e256cb15388ba4957e3.js" for 127.0.0.1 at 2021-08-31 15:15:42 -0400
+Started GET "/assets/active_admin-7e9d70f63036f2488cd96a0dba0b3be93e30b9023b574f0c19a673ac83072e17.css" for 127.0.0.1 at 2021-08-31 15:15:47 -0400
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.6ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+Started GET "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2021-08-31 15:15:47 -0400
+Processing by Admin::PostsController#reopen as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mAdminUser Load (0.2ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+Completed 401 Unauthorized in 3ms (ActiveRecord: 0.2ms | Allocations: 555)
+Started GET "/admin/login" for 127.0.0.1 at 2021-08-31 15:15:47 -0400
+Processing by ActiveAdmin::Devise::SessionsController#new as HTML
+ Rendering layout /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/layouts/active_admin_logged_out.html.erb
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/shared/_links.erb (Duration: 1.0ms | Allocations: 569)
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out (Duration: 18.6ms | Allocations: 6862)
+ Rendered layout /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/layouts/active_admin_logged_out.html.erb (Duration: 20.7ms | Allocations: 9086)
+Completed 200 OK in 25ms (Views: 23.3ms | ActiveRecord: 0.0ms | Allocations: 10878)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user4@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user4@example.com"], ["encrypted_password", "$2a$04$82mSWpUPd7/aBVjmKwp0YeiXV6133Eb5tA.WeBqssJSEUkvrFtmZC"], ["created_at", "2021-08-31 19:15:47.520730"], ["updated_at", "2021-08-31 19:15:47.520730"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 4"], ["created_at", "2021-08-31 19:15:47.523052"], ["updated_at", "2021-08-31 19:15:47.523052"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 4"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 4"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:15:47.526191"], ["updated_at", "2021-08-31 19:15:47.526191"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:15:47 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:15:47.532938"], ["last_sign_in_at", "2021-08-31 19:15:47.532938"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:15:47.533176"], ["id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.5ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.6ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (21.0ms)
-Completed 200 OK in 39ms (Views: 30.6ms | ActiveRecord: 1.5ms)
- [1m[36m (0.2ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (9.0ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
- [1m[36m (0.4ms)[0m [1mALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL[0m
- [1m[35m (0.3ms)[0m ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
- [1m[36m (10.2ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.4ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdminUser Exists (0.5ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
- [1m[36mSQL (1.1ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"[0m [["created_at", Sat, 26 Oct 2013 00:44:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$YemaDzCHwK/y6VacXM.iD.IuEQ/T8HbGGRMqkfAqf/b0BHr2hU9o6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Sat, 26 Oct 2013 00:44:58 UTC +00:00]]
- [1m[35m (0.3ms)[0m COMMIT
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (1.0ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:44:58 UTC +00:00], ["name", "Category 2"], ["updated_at", Sat, 26 Oct 2013 00:44:58 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1[0m
- [1m[35mSQL (0.9ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 00:44:58 UTC +00:00], ["status", "draft"], ["title", "Post 2"], ["updated_at", Sat, 26 Oct 2013 00:44:58 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
- [1m[35mPost Load (0.4ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
- [1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:44:58 -0400
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.5ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 00:44:58.261858', "current_sign_in_at" = '2013-10-26 00:44:58.261858', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 00:44:58.262823' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.3ms)[0m COMMIT
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 10.2ms | Allocations: 9083)
+Completed 200 OK in 13ms (Views: 10.7ms | ActiveRecord: 0.3ms | Allocations: 9985)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user5@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user5@example.com"], ["encrypted_password", "$2a$04$mQEtuWsw3dwyrrLkpJqpR.uRJLNE0xQgj4YyAWzvBOw6lRccHTlx6"], ["created_at", "2021-08-31 19:15:47.932838"], ["updated_at", "2021-08-31 19:15:47.932838"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 5"], ["created_at", "2021-08-31 19:15:47.935059"], ["updated_at", "2021-08-31 19:15:47.935059"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 5"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 5"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:15:47.938159"], ["updated_at", "2021-08-31 19:15:47.938159"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:15:47 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:15:47.945168"], ["last_sign_in_at", "2021-08-31 19:15:47.945168"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:15:47.945387"], ["id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.4ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (81.5ms)
-Completed 200 OK in 87ms (Views: 82.1ms | ActiveRecord: 1.2ms)
- [1m[36m (0.2ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (9.3ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
- [1m[36m (0.4ms)[0m [1mALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL[0m
-Connecting to database specified by database.yml
- [1m[36m (0.4ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (1.3ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
- [1m[36m (10.4ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.4ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mAdminUser Exists (0.8ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
- [1m[36mSQL (2.5ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"[0m [["created_at", Sat, 26 Oct 2013 00:45:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$Lk0BjI3clSWoIwjX9dM80uYXcMR6wB2xaBEgO05s8/5p7/zy3JlMC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", false], ["updated_at", Sat, 26 Oct 2013 00:45:59 UTC +00:00]]
- [1m[35m (0.3ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.8ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:45:59 UTC +00:00], ["name", "Category 1"], ["updated_at", Sat, 26 Oct 2013 00:45:59 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mPost Exists (0.5ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
- [1m[35mSQL (0.8ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 00:45:59 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Sat, 26 Oct 2013 00:45:59 UTC +00:00]]
- [1m[36m (0.2ms)[0m [1mCOMMIT[0m
- [1m[35mPost Load (0.5ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
- [1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:45:59 -0400
- [1m[35m (0.3ms)[0m BEGIN
- [1m[36m (0.7ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 00:45:59.187916', "current_sign_in_at" = '2013-10-26 00:45:59.187916', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 00:45:59.188966' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.4ms)[0m COMMIT
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 9.9ms | Allocations: 9045)
+Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.2ms | Allocations: 9946)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user6@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user6@example.com"], ["encrypted_password", "$2a$04$uYL6oyBRO3Uia73MpdJaoeQtiy4PuipoZoOEzROaFQrD4Kuhg92RO"], ["created_at", "2021-08-31 19:15:48.357599"], ["updated_at", "2021-08-31 19:15:48.357599"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 6"], ["created_at", "2021-08-31 19:15:48.359909"], ["updated_at", "2021-08-31 19:15:48.359909"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 6"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 6"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:15:48.362873"], ["updated_at", "2021-08-31 19:15:48.362873"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:15:48 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:15:48.370134"], ["last_sign_in_at", "2021-08-31 19:15:48.370134"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:15:48.370358"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.6ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.5ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.6ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (17.8ms)
-Completed 200 OK in 30ms (Views: 23.0ms | ActiveRecord: 1.6ms)
- [1m[36m (0.2ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (9.0ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
- [1m[36m (0.5ms)[0m [1mALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL[0m
- [1m[35m (0.2ms)[0m ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
- [1m[36m (9.9ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.5ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdminUser Exists (0.5ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
- [1m[36mSQL (1.1ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"[0m [["created_at", Sat, 26 Oct 2013 00:45:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$aLRrhFsV/vy7Y/PH3Ale/OpzSoHt5XoCt4lcuegv3hKA/eeVXuznu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Sat, 26 Oct 2013 00:45:59 UTC +00:00]]
- [1m[35m (0.3ms)[0m COMMIT
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (1.0ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:45:59 UTC +00:00], ["name", "Category 2"], ["updated_at", Sat, 26 Oct 2013 00:45:59 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1[0m
- [1m[35mSQL (0.9ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 00:45:59 UTC +00:00], ["status", "draft"], ["title", "Post 2"], ["updated_at", Sat, 26 Oct 2013 00:45:59 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
- [1m[35mPost Load (0.5ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
- [1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:45:59 -0400
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.5ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 00:45:59.293453', "current_sign_in_at" = '2013-10-26 00:45:59.293453', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 00:45:59.294384' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.3ms)[0m COMMIT
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 9.8ms | Allocations: 9045)
+Completed 200 OK in 12ms (Views: 10.2ms | ActiveRecord: 0.2ms | Allocations: 9946)
+Started PUT "/admin/categories/1/posts/1/publish" for 127.0.0.1 at 2021-08-31 15:15:48 -0400
+Processing by Admin::PostsController#publish as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? AND "posts"."id" != ? LIMIT ?[0m [["title", "Post 6"], ["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Update (0.3ms)[0m [1m[33mUPDATE "posts" SET "status" = ?, "updated_at" = ? WHERE "posts"."id" = ?[0m [["status", "published"], ["updated_at", "2021-08-31 19:15:48.457517"], ["id", 1]]
+ [1m[36mTRANSACTION (1.0ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://127.0.0.1:49688/admin/categories/1/posts/1
+Completed 302 Found in 6ms (ActiveRecord: 1.7ms | Allocations: 2100)
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:15:48 -0400
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.7ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (87.1ms)
-Completed 200 OK in 94ms (Views: 87.8ms | ActiveRecord: 1.5ms)
- [1m[36m (0.2ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (11.0ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
- [1m[36m (0.4ms)[0m [1mALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL[0m
-Connecting to database specified by database.yml
- [1m[36m (0.4ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
- [1m[36m (11.0ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.4ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mAdminUser Exists (0.8ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
- [1m[36mSQL (2.4ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"[0m [["created_at", Sat, 26 Oct 2013 00:51:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$bUX1SnBbsLOqt6oWi/rUGuofrU.PahdN3ktgvdPY1HTeftFcj7NyK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Sat, 26 Oct 2013 00:51:33 UTC +00:00]]
- [1m[35m (0.3ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.8ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:51:33 UTC +00:00], ["name", "Category 1"], ["updated_at", Sat, 26 Oct 2013 00:51:33 UTC +00:00]]
- [1m[36m (0.2ms)[0m [1mCOMMIT[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
- [1m[35mSQL (0.8ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 00:51:33 UTC +00:00], ["status", "reviewed"], ["title", "Post 1"], ["updated_at", Sat, 26 Oct 2013 00:51:33 UTC +00:00]]
- [1m[36m (0.4ms)[0m [1mCOMMIT[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:51:34 -0400
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.7ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 00:51:34.277215', "current_sign_in_at" = '2013-10-26 00:51:34.277215', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 00:51:34.278551' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.6ms)[0m COMMIT
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 9.1ms | Allocations: 8903)
+Completed 200 OK in 12ms (Views: 9.4ms | ActiveRecord: 0.3ms | Allocations: 10259)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.2ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user7@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user7@example.com"], ["encrypted_password", "$2a$04$XI8teahvMV5vWpPu44IH4OCkAlQ2GSWji3K28Wbz1MNBkrsXxF8S2"], ["created_at", "2021-08-31 19:15:48.721829"], ["updated_at", "2021-08-31 19:15:48.721829"]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.5ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 7"], ["created_at", "2021-08-31 19:15:48.724477"], ["updated_at", "2021-08-31 19:15:48.724477"]]
+ [1m[36mTRANSACTION (1.1ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 7"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM "active_admin_comments"[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user8@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.5ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user8@example.com"], ["encrypted_password", "$2a$04$7lpq12Oc0Ohx92UrKqFNieBix3e/dT4k/ZCqhalgKQ9Zo2eEeeMMS"], ["created_at", "2021-08-31 19:15:48.756649"], ["updated_at", "2021-08-31 19:15:48.756649"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (1.2ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 8"], ["created_at", "2021-08-31 19:15:48.759779"], ["updated_at", "2021-08-31 19:15:48.759779"]]
+ [1m[36mTRANSACTION (1.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 8"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.7ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (2.3ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[35m (0.4ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user1@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user1@example.com"], ["encrypted_password", "$2a$04$Ir9HbSRJBsgr8ObPbPnpJ.5HPIlnSLhtCx9Y/L3RQW8HEfvA39H5."], ["created_at", "2021-08-31 19:15:57.552541"], ["updated_at", "2021-08-31 19:15:57.552541"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 1"], ["created_at", "2021-08-31 19:15:57.557860"], ["updated_at", "2021-08-31 19:15:57.557860"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 1"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 1"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:15:57.587769"], ["updated_at", "2021-08-31 19:15:57.587769"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:15:58 -0400
+ [1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:15:58.695867"], ["last_sign_in_at", "2021-08-31 19:15:58.695867"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:15:58.696980"], ["id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (1.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.5ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.5ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (22.8ms)
-Completed 200 OK in 49ms (Views: 29.1ms | ActiveRecord: 4.4ms)
-Started GET "/assets/active_admin.css" for 127.0.0.1 at 2013-10-25 20:51:34 -0400
-Served asset /active_admin.css - 200 OK (10ms)
-Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-10-25 20:51:34 -0400
-Served asset /active_admin.js - 200 OK (59ms)
-Started GET "/assets/active_admin/print.css" for 127.0.0.1 at 2013-10-25 20:51:34 -0400
-Served asset /active_admin/print.css - 200 OK (2ms)
-Started PUT "/admin/categories/1/posts/1/publish" for 127.0.0.1 at 2013-10-25 20:51:34 -0400
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.2ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 253.1ms | Allocations: 77056)
+Completed 200 OK in 306ms (Views: 261.5ms | ActiveRecord: 0.3ms | Allocations: 85527)
+Started GET "/assets/active_admin/print-f6ce3ffc349ca6c010940202a36b916e852d26179018d2cdc1513350bea7dcba.css" for 127.0.0.1 at 2021-08-31 15:15:59 -0400
+Started GET "/assets/active_admin-9dbfb3c7d6c5060ec15c0f398011488cb7ef48a212410e256cb15388ba4957e3.js" for 127.0.0.1 at 2021-08-31 15:15:59 -0400
+Started GET "/assets/active_admin-7e9d70f63036f2488cd96a0dba0b3be93e30b9023b574f0c19a673ac83072e17.css" for 127.0.0.1 at 2021-08-31 15:16:04 -0400
+Started PUT "/admin/categories/1/posts/1/publish" for 127.0.0.1 at 2021-08-31 15:16:04 -0400
Processing by Admin::PostsController#publish as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mAdminUser Load (0.4ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1[0m
- [1m[35mCategory Load (0.3ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mPost Exists (0.7ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE ("posts"."title" = 'Post 1' AND "posts"."id" != 1) LIMIT 1[0m
- [1m[35m (0.3ms)[0m UPDATE "posts" SET "status" = 'published', "updated_at" = '2013-10-26 00:51:34.544871' WHERE "posts"."id" = 1
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
-Redirected to http://127.0.0.1:56014/admin/categories/1/posts/1
-Completed 302 Found in 13ms (ActiveRecord: 2.4ms)
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:51:34 -0400
+ [1m[36mAdminUser Load (0.2ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? AND "posts"."id" != ? LIMIT ?[0m [["title", "Post 1"], ["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Update (0.3ms)[0m [1m[33mUPDATE "posts" SET "status" = ?, "updated_at" = ? WHERE "posts"."id" = ?[0m [["status", "published"], ["updated_at", "2021-08-31 19:16:04.161283"], ["id", 1]]
+ [1m[36mTRANSACTION (1.3ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://127.0.0.1:49704/admin/categories/1/posts/1
+Completed 302 Found in 7ms (ActiveRecord: 2.0ms | Allocations: 2235)
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:16:04 -0400
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[35mAdminUser Load (0.4ms)[0m SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
- [1m[36mCategory Load (0.3ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (14.6ms)
-Completed 200 OK in 19ms (Views: 14.8ms | ActiveRecord: 1.3ms)
- [1m[36m (0.2ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (22.9ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
- [1m[36m (0.4ms)[0m [1mALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL[0m
- [1m[35m (0.2ms)[0m ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
- [1m[36m (8.6ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.4ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdminUser Exists (0.5ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
- [1m[36mSQL (1.1ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"[0m [["created_at", Sat, 26 Oct 2013 00:51:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$HH1dzt.fWi5Ip/YPQaMvsueNg8e7HLw94lNSBtdvd8X1FRADXGrQ2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Sat, 26 Oct 2013 00:51:34 UTC +00:00]]
- [1m[35m (0.3ms)[0m COMMIT
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.8ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:51:34 UTC +00:00], ["name", "Category 2"], ["updated_at", Sat, 26 Oct 2013 00:51:34 UTC +00:00]]
- [1m[36m (0.6ms)[0m [1mCOMMIT[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1[0m
- [1m[35mSQL (0.9ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 00:51:34 UTC +00:00], ["status", "reviewed"], ["title", "Post 2"], ["updated_at", Sat, 26 Oct 2013 00:51:34 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:51:34 -0400
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.6ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 00:51:34.760040', "current_sign_in_at" = '2013-10-26 00:51:34.760040', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 00:51:34.761032' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.3ms)[0m COMMIT
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 8.5ms | Allocations: 8897)
+Completed 200 OK in 11ms (Views: 8.8ms | ActiveRecord: 0.3ms | Allocations: 10240)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.7ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.8ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.5ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "active_admin_comments"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.4ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.6ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user2@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (1.2ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user2@example.com"], ["encrypted_password", "$2a$04$PMucPl9XJC/JJfhM0n6hsuEq3sxC/wqXvjZ02.zJ8LIBEWFQIG2Ia"], ["created_at", "2021-08-31 19:16:04.631471"], ["updated_at", "2021-08-31 19:16:04.631471"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 2"], ["created_at", "2021-08-31 19:16:04.634632"], ["updated_at", "2021-08-31 19:16:04.634632"]]
+ [1m[36mTRANSACTION (1.2ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 2"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.4ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 2"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:16:04.640582"], ["updated_at", "2021-08-31 19:16:04.640582"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:16:04 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:16:04.650309"], ["last_sign_in_at", "2021-08-31 19:16:04.650309"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:16:04.650514"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.7ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.6ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.3ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (16.8ms)
-Completed 200 OK in 23ms (Views: 17.3ms | ActiveRecord: 1.7ms)
- [1m[36m (0.2ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (8.7ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
- [1m[36m (0.5ms)[0m [1mALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL[0m
- [1m[35m (0.2ms)[0m ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
- [1m[36m (9.1ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.4ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdminUser Exists (0.5ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user3@example.com' LIMIT 1
- [1m[36mSQL (1.0ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"[0m [["created_at", Sat, 26 Oct 2013 00:51:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$4sC6YZqofXoZin3O0e4y2.T0B/Xo1REoINtzHQP.f5am3V7mHOXQe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Sat, 26 Oct 2013 00:51:34 UTC +00:00]]
- [1m[35m (0.3ms)[0m COMMIT
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.9ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:51:34 UTC +00:00], ["name", "Category 3"], ["updated_at", Sat, 26 Oct 2013 00:51:34 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 3' LIMIT 1[0m
- [1m[35mSQL (0.9ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 00:51:34 UTC +00:00], ["status", "reviewed"], ["title", "Post 3"], ["updated_at", Sat, 26 Oct 2013 00:51:34 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:51:34 -0400
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.6ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 00:51:34.840259', "current_sign_in_at" = '2013-10-26 00:51:34.840259', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 00:51:34.841467' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.3ms)[0m COMMIT
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 22.4ms | Allocations: 9045)
+Completed 200 OK in 26ms (Views: 23.1ms | ActiveRecord: 0.2ms | Allocations: 9946)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.6ms)[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 "active_admin_comments"[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM "active_admin_comments"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user3@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.5ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user3@example.com"], ["encrypted_password", "$2a$04$cPa/z49UvG.I.jkf1RSKceQCHThazBkscIpONICSHMCtA//GLFMTu"], ["created_at", "2021-08-31 19:16:04.981862"], ["updated_at", "2021-08-31 19:16:04.981862"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 3"], ["created_at", "2021-08-31 19:16:04.984480"], ["updated_at", "2021-08-31 19:16:04.984480"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 3"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 3"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:16:04.988138"], ["updated_at", "2021-08-31 19:16:04.988138"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:16:04 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:16:04.995786"], ["last_sign_in_at", "2021-08-31 19:16:04.995786"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:16:04.995989"], ["id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.5ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.6ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.3ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (21.4ms)
-Completed 200 OK in 28ms (Views: 22.1ms | ActiveRecord: 1.4ms)
-Started PUT "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2013-10-25 20:51:34 -0400
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 10.8ms | Allocations: 9045)
+Completed 200 OK in 13ms (Views: 11.1ms | ActiveRecord: 0.2ms | Allocations: 9946)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+Started GET "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2021-08-31 15:16:05 -0400
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
Processing by Admin::PostsController#reopen as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mAdminUser Load (0.4ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1[0m
- [1m[35mCategory Load (0.3ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mPost Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE ("posts"."title" = 'Post 3' AND "posts"."id" != 1) LIMIT 1[0m
- [1m[35m (0.3ms)[0m UPDATE "posts" SET "status" = 'draft', "updated_at" = '2013-10-26 00:51:34.955849' WHERE "posts"."id" = 1
- [1m[36m (1.8ms)[0m [1mCOMMIT[0m
-Redirected to http://127.0.0.1:56014/admin/categories/1/posts/1
-Completed 302 Found in 11ms (ActiveRecord: 3.4ms)
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:51:34 -0400
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+Completed 401 Unauthorized in 3ms (ActiveRecord: 0.1ms | Allocations: 510)
+Started GET "/admin/login" for 127.0.0.1 at 2021-08-31 15:16:05 -0400
+Processing by ActiveAdmin::Devise::SessionsController#new as HTML
+ Rendering layout /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/layouts/active_admin_logged_out.html.erb
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/shared/_links.erb (Duration: 1.0ms | Allocations: 570)
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out (Duration: 28.0ms | Allocations: 6863)
+ Rendered layout /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/layouts/active_admin_logged_out.html.erb (Duration: 30.2ms | Allocations: 9091)
+Completed 200 OK in 34ms (Views: 32.6ms | ActiveRecord: 0.0ms | Allocations: 10896)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user4@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user4@example.com"], ["encrypted_password", "$2a$04$CQx6G.86ydGa5NLfnYiGzeXSaCe8rvhpR.QVT2dF29ErCWS9xIWYy"], ["created_at", "2021-08-31 19:16:05.323612"], ["updated_at", "2021-08-31 19:16:05.323612"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 4"], ["created_at", "2021-08-31 19:16:05.325944"], ["updated_at", "2021-08-31 19:16:05.325944"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 4"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 4"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:16:05.328913"], ["updated_at", "2021-08-31 19:16:05.328913"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:16:05 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:16:05.335664"], ["last_sign_in_at", "2021-08-31 19:16:05.335664"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:16:05.335845"], ["id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[35mAdminUser Load (0.4ms)[0m SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
- [1m[36mCategory Load (0.3ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (14.7ms)
-Completed 200 OK in 19ms (Views: 14.9ms | ActiveRecord: 1.3ms)
- [1m[36m (0.2ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (7.8ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
- [1m[36m (0.4ms)[0m [1mALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL[0m
- [1m[35m (0.2ms)[0m ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
- [1m[36m (8.5ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.4ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdminUser Exists (0.5ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user4@example.com' LIMIT 1
- [1m[36mSQL (1.1ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"[0m [["created_at", Sat, 26 Oct 2013 00:51:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$RoXvqzsUXrKoOyv1nmasUektMOxNScw0yUZ3kY5G7BLhRjylTf6Ti"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Sat, 26 Oct 2013 00:51:35 UTC +00:00]]
- [1m[35m (0.3ms)[0m COMMIT
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.9ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:51:35 UTC +00:00], ["name", "Category 4"], ["updated_at", Sat, 26 Oct 2013 00:51:35 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 4' LIMIT 1[0m
- [1m[35mSQL (0.7ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 00:51:35 UTC +00:00], ["status", "reviewed"], ["title", "Post 4"], ["updated_at", Sat, 26 Oct 2013 00:51:35 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:51:35 -0400
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.6ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 00:51:35.082206', "current_sign_in_at" = '2013-10-26 00:51:35.082206', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 00:51:35.083106' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.3ms)[0m COMMIT
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 10.3ms | Allocations: 9080)
+Completed 200 OK in 13ms (Views: 10.7ms | ActiveRecord: 0.2ms | Allocations: 9982)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user5@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user5@example.com"], ["encrypted_password", "$2a$04$vRvPAPlj/8B98gNpbW0kSeaCj9OEkWNLRd1uZpwQGEzu6as.xeLZi"], ["created_at", "2021-08-31 19:16:05.759655"], ["updated_at", "2021-08-31 19:16:05.759655"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (1.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 5"], ["created_at", "2021-08-31 19:16:05.762248"], ["updated_at", "2021-08-31 19:16:05.762248"]]
+ [1m[36mTRANSACTION (1.1ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 5"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 5"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:16:05.766248"], ["updated_at", "2021-08-31 19:16:05.766248"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:16:05 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.5ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:16:05.769656"], ["last_sign_in_at", "2021-08-31 19:16:05.769656"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:16:05.769823"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.6ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.8ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (23.8ms)
-Completed 200 OK in 30ms (Views: 24.3ms | ActiveRecord: 1.7ms)
- [1m[36m (0.1ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (10.3ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
- [1m[36m (0.4ms)[0m [1mALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL[0m
-Connecting to database specified by database.yml
- [1m[36m (0.4ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
- [1m[36m (11.3ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.3ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdminUser Exists (0.8ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
- [1m[36mSQL (2.5ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"[0m [["created_at", Sat, 26 Oct 2013 00:51:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$cvImI2PzFP92zyOIM51I9OrHEVtA3cjcMTqmoDgjSO4guHFehlQ3m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Sat, 26 Oct 2013 00:51:55 UTC +00:00]]
- [1m[35m (0.3ms)[0m COMMIT
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (1.0ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:51:55 UTC +00:00], ["name", "Category 1"], ["updated_at", Sat, 26 Oct 2013 00:51:55 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36mPost Exists (0.5ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
- [1m[35mSQL (0.9ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 00:51:55 UTC +00:00], ["status", "reviewed"], ["title", "Post 1"], ["updated_at", Sat, 26 Oct 2013 00:51:55 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:51:56 -0400
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.6ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 00:51:56.595910', "current_sign_in_at" = '2013-10-26 00:51:56.595910', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 00:51:56.597131' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.5ms)[0m COMMIT
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 9.4ms | Allocations: 9042)
+Completed 200 OK in 12ms (Views: 9.7ms | ActiveRecord: 0.3ms | Allocations: 9981)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user6@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user6@example.com"], ["encrypted_password", "$2a$04$diNhW2TKWiGTcJ8z62pPXun7YgELk4hY4SGxrARDj00ElpcyQsyBK"], ["created_at", "2021-08-31 19:16:05.808765"], ["updated_at", "2021-08-31 19:16:05.808765"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 6"], ["created_at", "2021-08-31 19:16:05.810680"], ["updated_at", "2021-08-31 19:16:05.810680"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 6"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 6"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:16:05.814045"], ["updated_at", "2021-08-31 19:16:05.814045"], ["category_id", 1]]
+ [1m[36mTRANSACTION (1.1ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:16:05 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:16:05.818170"], ["last_sign_in_at", "2021-08-31 19:16:05.818170"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:16:05.818343"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.9ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.6ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (25.6ms)
-Completed 200 OK in 52ms (Views: 31.7ms | ActiveRecord: 4.8ms)
-Started GET "/assets/active_admin.css" for 127.0.0.1 at 2013-10-25 20:51:56 -0400
-Served asset /active_admin.css - 200 OK (10ms)
-Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-10-25 20:51:56 -0400
-Served asset /active_admin.js - 200 OK (59ms)
-Started GET "/assets/active_admin/print.css" for 127.0.0.1 at 2013-10-25 20:51:56 -0400
-Served asset /active_admin/print.css - 200 OK (2ms)
- [1m[36m (0.2ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (10.1ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
- [1m[36m (0.4ms)[0m [1mALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL[0m
- [1m[35m (0.2ms)[0m ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
- [1m[36m (9.5ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.4ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdminUser Exists (0.5ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
- [1m[36mSQL (1.1ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"[0m [["created_at", Sat, 26 Oct 2013 00:51:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$U8uTi3ADz1Nko1MZgHn3yObSe1zAKOcG7rIWee8UwLYqcvnLC6Q6i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Sat, 26 Oct 2013 00:51:56 UTC +00:00]]
- [1m[35m (0.3ms)[0m COMMIT
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.9ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:51:56 UTC +00:00], ["name", "Category 2"], ["updated_at", Sat, 26 Oct 2013 00:51:56 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1[0m
- [1m[35mSQL (0.8ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 00:51:56 UTC +00:00], ["status", "reviewed"], ["title", "Post 2"], ["updated_at", Sat, 26 Oct 2013 00:51:56 UTC +00:00]]
- [1m[36m (0.4ms)[0m [1mCOMMIT[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:51:56 -0400
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.8ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 00:51:56.899468', "current_sign_in_at" = '2013-10-26 00:51:56.899468', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 00:51:56.900473' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.4ms)[0m COMMIT
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 9.7ms | Allocations: 9040)
+Completed 200 OK in 12ms (Views: 10.1ms | ActiveRecord: 0.3ms | Allocations: 9941)
+Started GET "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2021-08-31 15:16:05 -0400
+Processing by Admin::PostsController#reopen as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mAdminUser Load (0.2ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+Redirected to http://www.example.com/admin/dashboard
+Completed 302 Found in 2ms (ActiveRecord: 0.2ms | Allocations: 674)
+Started GET "/admin/dashboard" for 127.0.0.1 at 2021-08-31 15:16:05 -0400
+Processing by Admin::DashboardController#index as HTML
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/page/index.html.arb
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/page/index.html.arb (Duration: 4.9ms | Allocations: 4706)
+Completed 200 OK in 8ms (Views: 6.4ms | ActiveRecord: 0.1ms | Allocations: 6007)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user7@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user7@example.com"], ["encrypted_password", "$2a$04$WJS5j5Ss8qEvG2Yit3Zr1eYDTvjFxS8hwimOt1y6msFSp9mojOAaq"], ["created_at", "2021-08-31 19:16:05.874587"], ["updated_at", "2021-08-31 19:16:05.874587"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 7"], ["created_at", "2021-08-31 19:16:05.876833"], ["updated_at", "2021-08-31 19:16:05.876833"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 7"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user8@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user8@example.com"], ["encrypted_password", "$2a$04$pn0102acpLc2g3fAKZUVb.QSROslL1DuboTjPrUqrmT/cxp0EaIuW"], ["created_at", "2021-08-31 19:16:05.902772"], ["updated_at", "2021-08-31 19:16:05.902772"]]
+ [1m[36mTRANSACTION (1.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 8"], ["created_at", "2021-08-31 19:16:05.905455"], ["updated_at", "2021-08-31 19:16:05.905455"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 8"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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[35m (1.7ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user1@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user1@example.com"], ["encrypted_password", "$2a$04$S4mJ0l1U5jBeMbgfheT6X.RsbsI.s9VumXOG.LtG7FhvzSe227CQa"], ["created_at", "2021-08-31 19:16:21.761858"], ["updated_at", "2021-08-31 19:16:21.761858"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 1"], ["created_at", "2021-08-31 19:16:21.766904"], ["updated_at", "2021-08-31 19:16:21.766904"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 1"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 1"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:16:21.779615"], ["updated_at", "2021-08-31 19:16:21.779615"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:16:21 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:16:21.788692"], ["last_sign_in_at", "2021-08-31 19:16:21.788692"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:16:21.788854"], ["id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.5ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.6ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (24.8ms)
-Completed 200 OK in 30ms (Views: 25.1ms | ActiveRecord: 1.6ms)
-Started PUT "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2013-10-25 20:51:57 -0400
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.2ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 241.1ms | Allocations: 77099)
+Completed 200 OK in 274ms (Views: 249.3ms | ActiveRecord: 0.4ms | Allocations: 85557)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.7ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user2@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user2@example.com"], ["encrypted_password", "$2a$04$Y615TaoZOyOhrIsF3AS6Sub3p2tMtdhi1mz/J2pdPb29cT364DAj."], ["created_at", "2021-08-31 19:16:22.153587"], ["updated_at", "2021-08-31 19:16:22.153587"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 2"], ["created_at", "2021-08-31 19:16:22.156123"], ["updated_at", "2021-08-31 19:16:22.156123"]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 2"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 2"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:16:22.159965"], ["updated_at", "2021-08-31 19:16:22.159965"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:16:22 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.9ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:16:22.163457"], ["last_sign_in_at", "2021-08-31 19:16:22.163457"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:16:22.163587"], ["id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 15.0ms | Allocations: 9040)
+Completed 200 OK in 18ms (Views: 15.4ms | ActiveRecord: 0.3ms | Allocations: 9944)
+Started GET "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2021-08-31 15:16:22 -0400
Processing by Admin::PostsController#reopen as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mAdminUser Load (0.4ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1[0m
- [1m[35mCategory Load (0.3ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36mPost Exists (0.7ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE ("posts"."title" = 'Post 2' AND "posts"."id" != 1) LIMIT 1[0m
- [1m[35m (0.3ms)[0m UPDATE "posts" SET "status" = 'draft', "updated_at" = '2013-10-26 00:51:57.061943' WHERE "posts"."id" = 1
- [1m[36m (1.8ms)[0m [1mCOMMIT[0m
-Redirected to http://127.0.0.1:56026/admin/categories/1/posts/1
-Completed 302 Found in 60ms (ActiveRecord: 3.9ms)
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:51:57 -0400
+ [1m[36mAdminUser Load (0.2ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+Redirected to http://www.example.com/admin/dashboard
+Completed 302 Found in 2ms (ActiveRecord: 0.2ms | Allocations: 760)
+Started GET "/admin/dashboard" for 127.0.0.1 at 2021-08-31 15:16:22 -0400
+Processing by Admin::DashboardController#index as HTML
+ [1m[36mAdminUser Load (0.8ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/page/index.html.arb
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/page/index.html.arb (Duration: 10.2ms | Allocations: 4707)
+Completed 200 OK in 14ms (Views: 12.2ms | ActiveRecord: 0.8ms | Allocations: 6015)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[0m
+ [1m[35m (0.1ms)[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user3@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user3@example.com"], ["encrypted_password", "$2a$04$Ca.MMGHTn7lqhoibEPtGFeLZywFy3tG09Yiry.5Raa526zxkQKO/a"], ["created_at", "2021-08-31 19:16:22.255340"], ["updated_at", "2021-08-31 19:16:22.255340"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 3"], ["created_at", "2021-08-31 19:16:22.257439"], ["updated_at", "2021-08-31 19:16:22.257439"]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 3"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 3"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:16:22.260696"], ["updated_at", "2021-08-31 19:16:22.260696"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:16:23 -0400
+ [1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.8ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:16:23.383631"], ["last_sign_in_at", "2021-08-31 19:16:23.383631"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:16:23.384724"], ["id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[35mAdminUser Load (0.4ms)[0m SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
- [1m[36mCategory Load (0.3ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.3ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (15.9ms)
-Completed 200 OK in 20ms (Views: 16.2ms | ActiveRecord: 1.3ms)
- [1m[36m (0.2ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (8.5ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
- [1m[36m (0.6ms)[0m [1mALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL[0m
- [1m[35m (0.2ms)[0m ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
- [1m[36m (9.9ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.4ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdminUser Exists (0.4ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user3@example.com' LIMIT 1
- [1m[36mSQL (1.0ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"[0m [["created_at", Sat, 26 Oct 2013 00:51:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$uIdotfEq6zasOc8Q6BwJH.eLF4kp9ECiF/thK7LekcwSWrc4j8sEC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Sat, 26 Oct 2013 00:51:57 UTC +00:00]]
- [1m[35m (0.3ms)[0m COMMIT
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.9ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:51:57 UTC +00:00], ["name", "Category 3"], ["updated_at", Sat, 26 Oct 2013 00:51:57 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 3' LIMIT 1[0m
- [1m[35mSQL (0.9ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 00:51:57 UTC +00:00], ["status", "reviewed"], ["title", "Post 3"], ["updated_at", Sat, 26 Oct 2013 00:51:57 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:51:57 -0400
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.6ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 00:51:57.191785', "current_sign_in_at" = '2013-10-26 00:51:57.191785', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 00:51:57.192917' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.3ms)[0m COMMIT
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 14.7ms | Allocations: 9087)
+Completed 200 OK in 19ms (Views: 16.0ms | ActiveRecord: 0.3ms | Allocations: 10040)
+Started GET "/assets/active_admin/print-f6ce3ffc349ca6c010940202a36b916e852d26179018d2cdc1513350bea7dcba.css" for 127.0.0.1 at 2021-08-31 15:16:23 -0400
+Started GET "/assets/active_admin-9dbfb3c7d6c5060ec15c0f398011488cb7ef48a212410e256cb15388ba4957e3.js" for 127.0.0.1 at 2021-08-31 15:16:23 -0400
+Started GET "/assets/active_admin-7e9d70f63036f2488cd96a0dba0b3be93e30b9023b574f0c19a673ac83072e17.css" for 127.0.0.1 at 2021-08-31 15:16:28 -0400
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.8ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.6ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.7ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user4@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user4@example.com"], ["encrypted_password", "$2a$04$QFOOdmrS0DcvRUm4o68qy.iu531/bawN8z3xxqUagStUubJIcDCmm"], ["created_at", "2021-08-31 19:16:28.909745"], ["updated_at", "2021-08-31 19:16:28.909745"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 4"], ["created_at", "2021-08-31 19:16:28.911996"], ["updated_at", "2021-08-31 19:16:28.911996"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 4"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 4"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:16:28.914995"], ["updated_at", "2021-08-31 19:16:28.914995"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:16:28 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:16:28.921586"], ["last_sign_in_at", "2021-08-31 19:16:28.921586"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:16:28.921769"], ["id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.5ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.6ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (26.1ms)
-Completed 200 OK in 34ms (Views: 27.1ms | ActiveRecord: 1.6ms)
-Started PUT "/admin/categories/1/posts/1/archive" for 127.0.0.1 at 2013-10-25 20:51:57 -0400
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 9.3ms | Allocations: 9052)
+Completed 200 OK in 11ms (Views: 9.7ms | ActiveRecord: 0.2ms | Allocations: 9955)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+Started PUT "/admin/categories/1/posts/1/archive" for 127.0.0.1 at 2021-08-31 15:16:29 -0400
Processing by Admin::PostsController#archive as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mAdminUser Load (0.4ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1[0m
- [1m[35mCategory Load (0.3ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mPost Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE ("posts"."title" = 'Post 3' AND "posts"."id" != 1) LIMIT 1[0m
- [1m[35m (0.2ms)[0m UPDATE "posts" SET "status" = 'archived', "updated_at" = '2013-10-26 00:51:57.309458' WHERE "posts"."id" = 1
- [1m[36m (1.7ms)[0m [1mCOMMIT[0m
-Redirected to http://127.0.0.1:56026/admin/categories/1/posts/1
-Completed 302 Found in 11ms (ActiveRecord: 3.3ms)
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:51:57 -0400
+ [1m[36mAdminUser Load (0.2ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+Completed 401 Unauthorized in 3ms (ActiveRecord: 0.2ms | Allocations: 559)
+Started GET "/admin/login" for 127.0.0.1 at 2021-08-31 15:16:29 -0400
+Processing by ActiveAdmin::Devise::SessionsController#new as HTML
+ Rendering layout /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/layouts/active_admin_logged_out.html.erb
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/shared/_links.erb (Duration: 1.0ms | Allocations: 569)
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out (Duration: 17.9ms | Allocations: 6862)
+ Rendered layout /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/layouts/active_admin_logged_out.html.erb (Duration: 20.0ms | Allocations: 9085)
+Completed 200 OK in 24ms (Views: 22.3ms | ActiveRecord: 0.0ms | Allocations: 10864)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user5@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user5@example.com"], ["encrypted_password", "$2a$04$z7Bp7qn/uz1O4KAq6SDob.oaFhCah3KPpXtZYq7bO0sqOBeiNTFjq"], ["created_at", "2021-08-31 19:16:29.253107"], ["updated_at", "2021-08-31 19:16:29.253107"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 5"], ["created_at", "2021-08-31 19:16:29.255393"], ["updated_at", "2021-08-31 19:16:29.255393"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 5"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 5"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:16:29.258668"], ["updated_at", "2021-08-31 19:16:29.258668"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:16:29 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:16:29.265259"], ["last_sign_in_at", "2021-08-31 19:16:29.265259"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:16:29.265465"], ["id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[35mAdminUser Load (0.4ms)[0m SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
- [1m[36mCategory Load (0.2ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (15.3ms)
-Completed 200 OK in 19ms (Views: 15.5ms | ActiveRecord: 1.2ms)
- [1m[36m (0.2ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (8.6ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
- [1m[36m (0.5ms)[0m [1mALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL[0m
- [1m[35m (0.3ms)[0m ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
- [1m[36m (9.3ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.6ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdminUser Exists (0.6ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user4@example.com' LIMIT 1
- [1m[36mSQL (1.2ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"[0m [["created_at", Sat, 26 Oct 2013 00:51:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$L98s536vFAZnUBIXp9ooVu0Q8FECYyPthrcIvlFpQwx3Pcq3ehIdi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Sat, 26 Oct 2013 00:51:57 UTC +00:00]]
- [1m[35m (0.3ms)[0m COMMIT
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.9ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:51:57 UTC +00:00], ["name", "Category 4"], ["updated_at", Sat, 26 Oct 2013 00:51:57 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 4' LIMIT 1[0m
- [1m[35mSQL (0.9ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 00:51:57 UTC +00:00], ["status", "reviewed"], ["title", "Post 4"], ["updated_at", Sat, 26 Oct 2013 00:51:57 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:51:57 -0400
- [1m[35m (0.3ms)[0m BEGIN
- [1m[36m (0.8ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 00:51:57.435033', "current_sign_in_at" = '2013-10-26 00:51:57.435033', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 00:51:57.436477' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.3ms)[0m COMMIT
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 9.5ms | Allocations: 9077)
+Completed 200 OK in 12ms (Views: 9.9ms | ActiveRecord: 0.2ms | Allocations: 9979)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+Started GET "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2021-08-31 15:16:29 -0400
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[0m
+Processing by Admin::PostsController#reopen as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+Completed 401 Unauthorized in 1ms (ActiveRecord: 0.1ms | Allocations: 505)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+Started GET "/admin/login" for 127.0.0.1 at 2021-08-31 15:16:29 -0400
+Processing by ActiveAdmin::Devise::SessionsController#new as HTML
+ Rendering layout /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/layouts/active_admin_logged_out.html.erb
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/shared/_links.erb (Duration: 0.2ms | Allocations: 81)
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out (Duration: 3.1ms | Allocations: 2129)
+ Rendered layout /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/layouts/active_admin_logged_out.html.erb (Duration: 5.5ms | Allocations: 4594)
+Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.0ms | Allocations: 5177)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user6@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user6@example.com"], ["encrypted_password", "$2a$04$97RvGAeVPn7iCZlZPdNyU.sK1dHRs7gkXbaGXm1XZNctsQCidUJgO"], ["created_at", "2021-08-31 19:16:29.553359"], ["updated_at", "2021-08-31 19:16:29.553359"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 6"], ["created_at", "2021-08-31 19:16:29.555426"], ["updated_at", "2021-08-31 19:16:29.555426"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 6"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 6"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:16:29.558417"], ["updated_at", "2021-08-31 19:16:29.558417"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:16:29 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:16:29.565130"], ["last_sign_in_at", "2021-08-31 19:16:29.565130"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:16:29.565321"], ["id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.6ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.6ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (26.5ms)
-Completed 200 OK in 33ms (Views: 27.1ms | ActiveRecord: 1.6ms)
-Started PUT "/admin/categories/1/posts/1/publish" for 127.0.0.1 at 2013-10-25 20:51:57 -0400
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 20.5ms | Allocations: 9047)
+Completed 200 OK in 23ms (Views: 20.9ms | ActiveRecord: 0.2ms | Allocations: 9948)
+Started PUT "/admin/categories/1/posts/1/publish" for 127.0.0.1 at 2021-08-31 15:16:29 -0400
Processing by Admin::PostsController#publish as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mAdminUser Load (0.4ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1[0m
- [1m[35mCategory Load (0.2ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mPost Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE ("posts"."title" = 'Post 4' AND "posts"."id" != 1) LIMIT 1[0m
- [1m[35m (0.3ms)[0m UPDATE "posts" SET "status" = 'published', "updated_at" = '2013-10-26 00:51:57.551284' WHERE "posts"."id" = 1
- [1m[36m (1.6ms)[0m [1mCOMMIT[0m
-Redirected to http://127.0.0.1:56026/admin/categories/1/posts/1
-Completed 302 Found in 11ms (ActiveRecord: 3.2ms)
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:51:57 -0400
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? AND "posts"."id" != ? LIMIT ?[0m [["title", "Post 6"], ["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Update (0.3ms)[0m [1m[33mUPDATE "posts" SET "status" = ?, "updated_at" = ? WHERE "posts"."id" = ?[0m [["status", "published"], ["updated_at", "2021-08-31 19:16:29.653957"], ["id", 1]]
+ [1m[36mTRANSACTION (1.5ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://127.0.0.1:49730/admin/categories/1/posts/1
+Completed 302 Found in 7ms (ActiveRecord: 2.2ms | Allocations: 2094)
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:16:29 -0400
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[35mAdminUser Load (0.3ms)[0m SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
- [1m[36mCategory Load (0.2ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.5ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (14.4ms)
-Completed 200 OK in 19ms (Views: 14.5ms | ActiveRecord: 1.3ms)
- [1m[36m (0.1ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (8.6ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
- [1m[36m (0.3ms)[0m [1mALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL[0m
-Connecting to database specified by database.yml
- [1m[36m (0.4ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
- [1m[36m (10.5ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.3ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdminUser Exists (0.8ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
- [1m[36mSQL (2.7ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"[0m [["created_at", Sat, 26 Oct 2013 01:02:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$VYMRM.wfqrHL11KoAbK8Z.reCFMcHyGu2eSQxbcUbUtOoftyb6Paa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Sat, 26 Oct 2013 01:02:41 UTC +00:00]]
- [1m[35m (0.3ms)[0m COMMIT
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (1.0ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 01:02:41 UTC +00:00], ["name", "Category 1"], ["updated_at", Sat, 26 Oct 2013 01:02:41 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
- [1m[35mSQL (0.8ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 01:02:41 UTC +00:00], ["status", "reviewed"], ["title", "Post 1"], ["updated_at", Sat, 26 Oct 2013 01:02:41 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 21:02:41 -0400
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.5ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 01:02:41.795836', "current_sign_in_at" = '2013-10-26 01:02:41.795836', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 01:02:41.796988' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.4ms)[0m COMMIT
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 9.0ms | Allocations: 8898)
+Completed 200 OK in 12ms (Views: 9.3ms | ActiveRecord: 0.3ms | Allocations: 10238)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.7ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user7@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user7@example.com"], ["encrypted_password", "$2a$04$O8JjKIePuKsnSwFeuNhlteJpofH5gCNs/9.jcS.OU5D287FPupAWW"], ["created_at", "2021-08-31 19:16:29.960022"], ["updated_at", "2021-08-31 19:16:29.960022"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 7"], ["created_at", "2021-08-31 19:16:29.962047"], ["updated_at", "2021-08-31 19:16:29.962047"]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 7"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user8@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user8@example.com"], ["encrypted_password", "$2a$04$pgY0y1K6fEi6amdGnymPQOMrTgG9eOa2dAkv/F/McHkxnafosZZXS"], ["created_at", "2021-08-31 19:16:29.986246"], ["updated_at", "2021-08-31 19:16:29.986246"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 8"], ["created_at", "2021-08-31 19:16:29.988307"], ["updated_at", "2021-08-31 19:16:29.988307"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 8"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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[35m (1.9ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.6ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user1@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user1@example.com"], ["encrypted_password", "$2a$04$5nacOjrzHbph5/d1iNOjVuPleaHVn2GeB5xH/lb662ZS2FVnOGfLa"], ["created_at", "2021-08-31 19:19:43.775671"], ["updated_at", "2021-08-31 19:19:43.775671"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.2ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 1"], ["created_at", "2021-08-31 19:19:43.779907"], ["updated_at", "2021-08-31 19:19:43.779907"]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 1"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user2@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.5ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user2@example.com"], ["encrypted_password", "$2a$04$KGdWQhlttMMgZgVC80Hnd.i0yLoT0xoBtg3/3YehkAQw6JtbbIWJW"], ["created_at", "2021-08-31 19:19:43.854863"], ["updated_at", "2021-08-31 19:19:43.854863"]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 2"], ["created_at", "2021-08-31 19:19:43.857549"], ["updated_at", "2021-08-31 19:19:43.857549"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 2"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user3@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user3@example.com"], ["encrypted_password", "$2a$04$ONaEtW5VSuFvM/rNZsz6nu9Sxz4HjluRLbRgXq27qjk.h/qVH3rE2"], ["created_at", "2021-08-31 19:19:43.882009"], ["updated_at", "2021-08-31 19:19:43.882009"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (1.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 3"], ["created_at", "2021-08-31 19:19:43.884495"], ["updated_at", "2021-08-31 19:19:43.884495"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 3"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 3"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:19:43.887588"], ["updated_at", "2021-08-31 19:19:43.887588"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:19:43 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:19:43.897253"], ["last_sign_in_at", "2021-08-31 19:19:43.897253"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:19:43.897473"], ["id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.5ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.7ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (20.9ms)
-Completed 200 OK in 43ms (Views: 26.1ms | ActiveRecord: 1.5ms)
-Started PUT "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2013-10-25 21:02:41 -0400
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 240.7ms | Allocations: 77065)
+Completed 200 OK in 271ms (Views: 248.6ms | ActiveRecord: 0.3ms | Allocations: 85522)
+Started GET "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2021-08-31 15:19:44 -0400
Processing by Admin::PostsController#reopen as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mAdminUser Load (0.4ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1[0m
+ [1m[36mAdminUser Load (0.2ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
Redirected to http://www.example.com/admin/dashboard
-Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
-Started GET "/admin/dashboard" for 127.0.0.1 at 2013-10-25 21:02:41 -0400
+Completed 302 Found in 3ms (ActiveRecord: 0.2ms | Allocations: 766)
+Started GET "/admin/dashboard" for 127.0.0.1 at 2021-08-31 15:19:44 -0400
Processing by Admin::DashboardController#index as HTML
- [1m[35mAdminUser Load (0.4ms)[0m SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/page/index.html.arb (7.3ms)
-Completed 200 OK in 13ms (Views: 10.8ms | ActiveRecord: 0.4ms)
- [1m[36m (0.2ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (8.4ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
- [1m[36m (0.4ms)[0m [1mALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL[0m
-Connecting to database specified by database.yml
- [1m[36m (0.4ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
- [1m[36m (10.6ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.3ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdminUser Exists (0.8ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
- [1m[36mSQL (2.7ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"[0m [["created_at", Sat, 26 Oct 2013 01:02:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$pxKTou.I.XpDojviNA42bOYnvK/YB1RzHbspnlY8LUlLwyjHS7RUe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Sat, 26 Oct 2013 01:02:51 UTC +00:00]]
- [1m[35m (0.3ms)[0m COMMIT
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (1.1ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 01:02:51 UTC +00:00], ["name", "Category 1"], ["updated_at", Sat, 26 Oct 2013 01:02:51 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
- [1m[35m (0.3ms)[0m BEGIN
- [1m[36mPost Exists (0.6ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
- [1m[35mSQL (0.8ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 01:02:51 UTC +00:00], ["status", "reviewed"], ["title", "Post 1"], ["updated_at", Sat, 26 Oct 2013 01:02:51 UTC +00:00]]
- [1m[36m (0.2ms)[0m [1mCOMMIT[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 21:02:51 -0400
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.5ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 01:02:51.756620', "current_sign_in_at" = '2013-10-26 01:02:51.756620', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 01:02:51.757520' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.4ms)[0m COMMIT
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/page/index.html.arb
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/page/index.html.arb (Duration: 11.5ms | Allocations: 4707)
+Completed 200 OK in 16ms (Views: 13.7ms | ActiveRecord: 0.1ms | Allocations: 6023)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (2.1ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.8ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.9ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user4@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user4@example.com"], ["encrypted_password", "$2a$04$YFIty4FYLgkC8alQIv7yiO7GWS1YTHZmI7R3Nkx5iX0wKkjQAJUc6"], ["created_at", "2021-08-31 19:19:44.252537"], ["updated_at", "2021-08-31 19:19:44.252537"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 4"], ["created_at", "2021-08-31 19:19:44.255702"], ["updated_at", "2021-08-31 19:19:44.255702"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.5ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 4"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 4"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:19:44.260032"], ["updated_at", "2021-08-31 19:19:44.260032"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:19:44 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:19:44.263928"], ["last_sign_in_at", "2021-08-31 19:19:44.263928"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:19:44.264795"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.8ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.7ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (20.8ms)
-Completed 200 OK in 42ms (Views: 26.3ms | ActiveRecord: 1.9ms)
-Started PUT "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2013-10-25 21:02:51 -0400
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 17.4ms | Allocations: 9072)
+Completed 200 OK in 20ms (Views: 17.8ms | ActiveRecord: 0.3ms | Allocations: 9976)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.4ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.8ms)[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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (2.7ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user5@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user5@example.com"], ["encrypted_password", "$2a$04$5ihd9z/p1LTCOW3gdseuOOib..Y9dfjCwEgTtP1HVTlIKPNte3TW."], ["created_at", "2021-08-31 19:19:44.321321"], ["updated_at", "2021-08-31 19:19:44.321321"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (1.1ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 5"], ["created_at", "2021-08-31 19:19:44.324849"], ["updated_at", "2021-08-31 19:19:44.324849"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 5"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 5"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:19:44.329006"], ["updated_at", "2021-08-31 19:19:44.329006"], ["category_id", 1]]
+ [1m[36mTRANSACTION (1.0ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:19:45 -0400
+ [1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:19:45.488934"], ["last_sign_in_at", "2021-08-31 19:19:45.488934"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:19:45.490678"], ["id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 25.9ms | Allocations: 9052)
+Completed 200 OK in 30ms (Views: 26.3ms | ActiveRecord: 0.3ms | Allocations: 10004)
+Started GET "/assets/active_admin/print-f6ce3ffc349ca6c010940202a36b916e852d26179018d2cdc1513350bea7dcba.css" for 127.0.0.1 at 2021-08-31 15:19:45 -0400
+Started GET "/assets/active_admin-9dbfb3c7d6c5060ec15c0f398011488cb7ef48a212410e256cb15388ba4957e3.js" for 127.0.0.1 at 2021-08-31 15:19:45 -0400
+Started GET "/assets/active_admin-7e9d70f63036f2488cd96a0dba0b3be93e30b9023b574f0c19a673ac83072e17.css" for 127.0.0.1 at 2021-08-31 15:19:50 -0400
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+Started GET "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2021-08-31 15:19:50 -0400
Processing by Admin::PostsController#reopen as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mAdminUser Load (0.6ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1[0m
+ [1m[36mAdminUser Load (0.2ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+Completed 401 Unauthorized in 3ms (ActiveRecord: 0.2ms | Allocations: 559)
+Started GET "/admin/login" for 127.0.0.1 at 2021-08-31 15:19:50 -0400
+Processing by ActiveAdmin::Devise::SessionsController#new as HTML
+ Rendering layout /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/layouts/active_admin_logged_out.html.erb
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/shared/_links.erb (Duration: 1.0ms | Allocations: 569)
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out (Duration: 19.4ms | Allocations: 6862)
+ Rendered layout /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/layouts/active_admin_logged_out.html.erb (Duration: 21.9ms | Allocations: 9085)
+Completed 200 OK in 27ms (Views: 24.6ms | ActiveRecord: 0.0ms | Allocations: 10873)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.3ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user6@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user6@example.com"], ["encrypted_password", "$2a$04$JBINpC2wrwUZDLeN2Qzu5.q0ZfrRGZCRQaHGkdE6rHWZmqagkl/kK"], ["created_at", "2021-08-31 19:19:51.005873"], ["updated_at", "2021-08-31 19:19:51.005873"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.5ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 6"], ["created_at", "2021-08-31 19:19:51.025798"], ["updated_at", "2021-08-31 19:19:51.025798"]]
+ [1m[36mTRANSACTION (1.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 6"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 6"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:19:51.029792"], ["updated_at", "2021-08-31 19:19:51.029792"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:19:51 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:19:51.036789"], ["last_sign_in_at", "2021-08-31 19:19:51.036789"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:19:51.037032"], ["id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 9.6ms | Allocations: 9084)
+Completed 200 OK in 12ms (Views: 10.0ms | ActiveRecord: 0.2ms | Allocations: 9988)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.6ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user7@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user7@example.com"], ["encrypted_password", "$2a$04$7mOYFreVlW7YDUxVTwKPj.LRSTS9J3EKD4lr.zOkAzJBC4Ti4TjhS"], ["created_at", "2021-08-31 19:19:51.335425"], ["updated_at", "2021-08-31 19:19:51.335425"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 7"], ["created_at", "2021-08-31 19:19:51.337813"], ["updated_at", "2021-08-31 19:19:51.337813"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 7"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.4ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 7"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:19:51.341020"], ["updated_at", "2021-08-31 19:19:51.341020"], ["category_id", 1]]
+ [1m[36mTRANSACTION (1.0ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:19:51 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:19:51.348509"], ["last_sign_in_at", "2021-08-31 19:19:51.348509"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:19:51.348719"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 9.4ms | Allocations: 9045)
+Completed 200 OK in 11ms (Views: 9.7ms | ActiveRecord: 0.2ms | Allocations: 9946)
+Started PUT "/admin/categories/1/posts/1/publish" for 127.0.0.1 at 2021-08-31 15:19:51 -0400
+Processing by Admin::PostsController#publish as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? AND "posts"."id" != ? LIMIT ?[0m [["title", "Post 7"], ["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Update (0.3ms)[0m [1m[33mUPDATE "posts" SET "status" = ?, "updated_at" = ? WHERE "posts"."id" = ?[0m [["status", "published"], ["updated_at", "2021-08-31 19:19:51.424005"], ["id", 1]]
+ [1m[36mTRANSACTION (1.4ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://127.0.0.1:49783/admin/categories/1/posts/1
+Completed 302 Found in 6ms (ActiveRecord: 2.1ms | Allocations: 2094)
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:19:51 -0400
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 8.5ms | Allocations: 8896)
+Completed 200 OK in 11ms (Views: 8.8ms | ActiveRecord: 0.3ms | Allocations: 10232)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.8ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user8@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user8@example.com"], ["encrypted_password", "$2a$04$oB/Jj5Zugk5ioqGj2HuGnub49yim9ASy4xPZiLMYo.ORnwwzB0z1G"], ["created_at", "2021-08-31 19:19:51.706522"], ["updated_at", "2021-08-31 19:19:51.706522"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 8"], ["created_at", "2021-08-31 19:19:51.708825"], ["updated_at", "2021-08-31 19:19:51.708825"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 8"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.4ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 8"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:19:51.712252"], ["updated_at", "2021-08-31 19:19:51.712252"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:19:51 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:19:51.720204"], ["last_sign_in_at", "2021-08-31 19:19:51.720204"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:19:51.720412"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 9.5ms | Allocations: 9045)
+Completed 200 OK in 12ms (Views: 9.8ms | ActiveRecord: 0.2ms | Allocations: 9946)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+Started PUT "/admin/categories/1/posts/1/archive" for 127.0.0.1 at 2021-08-31 15:19:51 -0400
+Processing by Admin::PostsController#archive as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+Completed 401 Unauthorized in 1ms (ActiveRecord: 0.1ms | Allocations: 501)
+Started GET "/admin/login" for 127.0.0.1 at 2021-08-31 15:19:51 -0400
+Processing by ActiveAdmin::Devise::SessionsController#new as HTML
+ Rendering layout /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/layouts/active_admin_logged_out.html.erb
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/shared/_links.erb (Duration: 0.2ms | Allocations: 81)
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out (Duration: 2.6ms | Allocations: 2036)
+ Rendered layout /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/layouts/active_admin_logged_out.html.erb (Duration: 4.7ms | Allocations: 4243)
+Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms | Allocations: 5160)
+ [1m[35m (1.7ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.6ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user1@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user1@example.com"], ["encrypted_password", "$2a$04$yS/O1QZsZ/1S9D0jNN4UuOqoX3C9LNr9hXy5iru3kwH9wx4WD9Yk."], ["created_at", "2021-08-31 19:20:23.124119"], ["updated_at", "2021-08-31 19:20:23.124119"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 1"], ["created_at", "2021-08-31 19:20:23.129765"], ["updated_at", "2021-08-31 19:20:23.129765"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 1"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 1"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:20:23.158381"], ["updated_at", "2021-08-31 19:20:23.158381"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:20:24 -0400
+ [1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:20:24.237163"], ["last_sign_in_at", "2021-08-31 19:20:24.237163"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:20:24.238361"], ["id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 245.0ms | Allocations: 77173)
+Completed 200 OK in 292ms (Views: 251.6ms | ActiveRecord: 0.3ms | Allocations: 85645)
+Started GET "/assets/active_admin/print-f6ce3ffc349ca6c010940202a36b916e852d26179018d2cdc1513350bea7dcba.css" for 127.0.0.1 at 2021-08-31 15:20:24 -0400
+Started GET "/assets/active_admin-9dbfb3c7d6c5060ec15c0f398011488cb7ef48a212410e256cb15388ba4957e3.js" for 127.0.0.1 at 2021-08-31 15:20:24 -0400
+Started GET "/assets/active_admin-7e9d70f63036f2488cd96a0dba0b3be93e30b9023b574f0c19a673ac83072e17.css" for 127.0.0.1 at 2021-08-31 15:20:29 -0400
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.8ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.6ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.8ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.7ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user2@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user2@example.com"], ["encrypted_password", "$2a$04$Q/W6wi5EPGXWTXpI13bxSupw7gl7Ddi.RM6CxgUUbowT4Mo98jwJG"], ["created_at", "2021-08-31 19:20:30.045374"], ["updated_at", "2021-08-31 19:20:30.045374"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 2"], ["created_at", "2021-08-31 19:20:30.048452"], ["updated_at", "2021-08-31 19:20:30.048452"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 2"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.4ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 2"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:20:30.053908"], ["updated_at", "2021-08-31 19:20:30.053908"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:20:30 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:20:30.065047"], ["last_sign_in_at", "2021-08-31 19:20:30.065047"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:20:30.065244"], ["id", 1]]
+ [1m[36mTRANSACTION (1.7ms)[0m [1m[36mcommit transaction[0m
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 20.0ms | Allocations: 9045)
+Completed 200 OK in 24ms (Views: 20.7ms | ActiveRecord: 0.2ms | Allocations: 9949)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+Started GET "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2021-08-31 15:20:30 -0400
+Processing by Admin::PostsController#reopen as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mAdminUser Load (0.2ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+Completed 401 Unauthorized in 4ms (ActiveRecord: 0.2ms | Allocations: 618)
+Started GET "/admin/login" for 127.0.0.1 at 2021-08-31 15:20:30 -0400
+Processing by ActiveAdmin::Devise::SessionsController#new as HTML
+ Rendering layout /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/layouts/active_admin_logged_out.html.erb
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/shared/_links.erb (Duration: 1.1ms | Allocations: 569)
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out (Duration: 25.4ms | Allocations: 6862)
+ Rendered layout /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/layouts/active_admin_logged_out.html.erb (Duration: 28.0ms | Allocations: 9085)
+Completed 200 OK in 35ms (Views: 31.6ms | ActiveRecord: 0.0ms | Allocations: 10868)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.3ms)[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[0m
+ [1m[35m (9.5ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user3@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user3@example.com"], ["encrypted_password", "$2a$04$X.8IiGaPTzzLRlXnLT/7p.wJA2FYFfIWX3exZksQqz6E0IJp.1YgS"], ["created_at", "2021-08-31 19:20:30.465263"], ["updated_at", "2021-08-31 19:20:30.465263"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 3"], ["created_at", "2021-08-31 19:20:30.467650"], ["updated_at", "2021-08-31 19:20:30.467650"]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 3"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 3"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:20:30.471413"], ["updated_at", "2021-08-31 19:20:30.471413"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:20:30 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:20:30.478734"], ["last_sign_in_at", "2021-08-31 19:20:30.478734"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:20:30.478934"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 9.4ms | Allocations: 9084)
+Completed 200 OK in 12ms (Views: 9.8ms | ActiveRecord: 0.2ms | Allocations: 9988)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+Started PUT "/admin/categories/1/posts/1/archive" for 127.0.0.1 at 2021-08-31 15:20:30 -0400
+Processing by Admin::PostsController#archive as HTML
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+Completed 401 Unauthorized in 1ms (ActiveRecord: 0.1ms | Allocations: 506)
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+Started GET "/admin/login" for 127.0.0.1 at 2021-08-31 15:20:30 -0400
+Processing by ActiveAdmin::Devise::SessionsController#new as HTML
+ Rendering layout /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/layouts/active_admin_logged_out.html.erb
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/shared/_links.erb (Duration: 0.1ms | Allocations: 81)
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out (Duration: 2.5ms | Allocations: 2075)
+ Rendered layout /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/layouts/active_admin_logged_out.html.erb (Duration: 4.7ms | Allocations: 4674)
+Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms | Allocations: 5638)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user4@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user4@example.com"], ["encrypted_password", "$2a$04$xYQA18MhVEwZau3VV8BmLuqq3SPEsPtOZ1qnRA.bcNnZ.nh8HWp2a"], ["created_at", "2021-08-31 19:20:30.782846"], ["updated_at", "2021-08-31 19:20:30.782846"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (1.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 4"], ["created_at", "2021-08-31 19:20:30.785485"], ["updated_at", "2021-08-31 19:20:30.785485"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 4"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.4ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 4"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:20:30.788751"], ["updated_at", "2021-08-31 19:20:30.788751"], ["category_id", 1]]
+ [1m[36mTRANSACTION (1.0ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:20:30 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:20:30.796217"], ["last_sign_in_at", "2021-08-31 19:20:30.796217"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:20:30.796474"], ["id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 9.3ms | Allocations: 9045)
+Completed 200 OK in 12ms (Views: 9.7ms | ActiveRecord: 0.2ms | Allocations: 9946)
+Started PUT "/admin/categories/1/posts/1/publish" for 127.0.0.1 at 2021-08-31 15:20:30 -0400
+Processing by Admin::PostsController#publish as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? AND "posts"."id" != ? LIMIT ?[0m [["title", "Post 4"], ["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Update (0.3ms)[0m [1m[33mUPDATE "posts" SET "status" = ?, "updated_at" = ? WHERE "posts"."id" = ?[0m [["status", "published"], ["updated_at", "2021-08-31 19:20:30.872625"], ["id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://127.0.0.1:49802/admin/categories/1/posts/1
+Completed 302 Found in 6ms (ActiveRecord: 1.7ms | Allocations: 2120)
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:20:30 -0400
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 8.2ms | Allocations: 8896)
+Completed 200 OK in 11ms (Views: 8.5ms | ActiveRecord: 0.3ms | Allocations: 10238)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user5@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user5@example.com"], ["encrypted_password", "$2a$04$s9XTxY028q/f2GDPaPne0eWoV7uDefwejb9t7MK4uHhbE5RPAL8y2"], ["created_at", "2021-08-31 19:20:31.151362"], ["updated_at", "2021-08-31 19:20:31.151362"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (1.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 5"], ["created_at", "2021-08-31 19:20:31.153803"], ["updated_at", "2021-08-31 19:20:31.153803"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 5"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user6@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user6@example.com"], ["encrypted_password", "$2a$04$JgYB8nXAYpj0fDiBxVaF4.LSi3mty9XHox0upWFotD4LgkuBqUVMq"], ["created_at", "2021-08-31 19:20:31.179244"], ["updated_at", "2021-08-31 19:20:31.179244"]]
+ [1m[36mTRANSACTION (1.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 6"], ["created_at", "2021-08-31 19:20:31.181649"], ["updated_at", "2021-08-31 19:20:31.181649"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 6"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user7@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user7@example.com"], ["encrypted_password", "$2a$04$qcgXj7xA4VCSM/W.RApV7Oddcv.J9LABNQyHfErYxx6p6.XESpDQW"], ["created_at", "2021-08-31 19:20:31.206078"], ["updated_at", "2021-08-31 19:20:31.206078"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (1.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 7"], ["created_at", "2021-08-31 19:20:31.208366"], ["updated_at", "2021-08-31 19:20:31.208366"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 7"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 7"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:20:31.211265"], ["updated_at", "2021-08-31 19:20:31.211265"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:20:31 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:20:31.214242"], ["last_sign_in_at", "2021-08-31 19:20:31.214242"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:20:31.214396"], ["id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.2ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 10.7ms | Allocations: 9042)
+Completed 200 OK in 14ms (Views: 11.1ms | ActiveRecord: 0.4ms | Allocations: 9981)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user8@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user8@example.com"], ["encrypted_password", "$2a$04$we594RlXvk87bRGvcU1RTuabYVfjPbOj7rVDb5RLpZkqKPOHAfQhG"], ["created_at", "2021-08-31 19:20:31.255953"], ["updated_at", "2021-08-31 19:20:31.255953"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 8"], ["created_at", "2021-08-31 19:20:31.258120"], ["updated_at", "2021-08-31 19:20:31.258120"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 8"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 8"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:20:31.260947"], ["updated_at", "2021-08-31 19:20:31.260947"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:20:31 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:20:31.263788"], ["last_sign_in_at", "2021-08-31 19:20:31.263788"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:20:31.263914"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.2ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 10.5ms | Allocations: 9040)
+Completed 200 OK in 13ms (Views: 10.9ms | ActiveRecord: 0.4ms | Allocations: 9941)
+Started GET "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2021-08-31 15:20:31 -0400
+Processing by Admin::PostsController#reopen as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mAdminUser Load (0.2ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
Redirected to http://www.example.com/admin/dashboard
-Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
-Started GET "/admin/dashboard" for 127.0.0.1 at 2013-10-25 21:02:51 -0400
+Completed 302 Found in 2ms (ActiveRecord: 0.2ms | Allocations: 668)
+Started GET "/admin/dashboard" for 127.0.0.1 at 2021-08-31 15:20:31 -0400
Processing by Admin::DashboardController#index as HTML
- [1m[35mAdminUser Load (0.4ms)[0m SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/page/index.html.arb (7.6ms)
-Completed 200 OK in 13ms (Views: 10.2ms | ActiveRecord: 0.4ms)
- [1m[36m (0.3ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (9.0ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
- [1m[36m (0.5ms)[0m [1mALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL[0m
-Connecting to database specified by database.yml
- [1m[36m (0.4ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (1.2ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
- [1m[36m (10.8ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.4ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mAdminUser Exists (0.7ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
- [1m[36mSQL (2.8ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"[0m [["created_at", Sat, 26 Oct 2013 01:03:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$oa2kPW2e6jrBLJe22hxWneFLMLAdPLtboc8IClX9aJuxbFVpchyqa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Sat, 26 Oct 2013 01:03:03 UTC +00:00]]
- [1m[35m (0.3ms)[0m COMMIT
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (1.2ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 01:03:04 UTC +00:00], ["name", "Category 1"], ["updated_at", Sat, 26 Oct 2013 01:03:04 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
- [1m[35mSQL (0.8ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 01:03:04 UTC +00:00], ["status", "reviewed"], ["title", "Post 1"], ["updated_at", Sat, 26 Oct 2013 01:03:04 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 21:03:04 -0400
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.5ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 01:03:04.085023', "current_sign_in_at" = '2013-10-26 01:03:04.085023', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 01:03:04.086008' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.4ms)[0m COMMIT
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/page/index.html.arb
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/page/index.html.arb (Duration: 5.0ms | Allocations: 4707)
+Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.1ms | Allocations: 6014)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (1.8ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.3ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.7ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user1@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user1@example.com"], ["encrypted_password", "$2a$04$vadFpc5WTuxsVc2RqOVSpOpBjPRND2J6P9uKVE5Ib9jSTAdjMwMJu"], ["created_at", "2021-08-31 19:22:00.134876"], ["updated_at", "2021-08-31 19:22:00.134876"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 1"], ["created_at", "2021-08-31 19:22:00.140678"], ["updated_at", "2021-08-31 19:22:00.140678"]]
+ [1m[36mTRANSACTION (1.1ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 1"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 1"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:22:00.155203"], ["updated_at", "2021-08-31 19:22:00.155203"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:22:01 -0400
+ [1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:22:01.293804"], ["last_sign_in_at", "2021-08-31 19:22:01.293804"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:22:01.295138"], ["id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.7ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.6ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.5ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (21.5ms)
-Completed 200 OK in 42ms (Views: 26.8ms | ActiveRecord: 1.8ms)
-Started PUT "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2013-10-25 21:03:04 -0400
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.2ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 301.7ms | Allocations: 77218)
+Completed 200 OK in 337ms (Views: 310.1ms | ActiveRecord: 0.4ms | Allocations: 85689)
+Started GET "/assets/active_admin/print-f6ce3ffc349ca6c010940202a36b916e852d26179018d2cdc1513350bea7dcba.css" for 127.0.0.1 at 2021-08-31 15:22:01 -0400
+Started GET "/assets/active_admin-9dbfb3c7d6c5060ec15c0f398011488cb7ef48a212410e256cb15388ba4957e3.js" for 127.0.0.1 at 2021-08-31 15:22:01 -0400
+Started GET "/assets/active_admin-7e9d70f63036f2488cd96a0dba0b3be93e30b9023b574f0c19a673ac83072e17.css" for 127.0.0.1 at 2021-08-31 15:22:06 -0400
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+Started PUT "/admin/categories/1/posts/1/archive" for 127.0.0.1 at 2021-08-31 15:22:06 -0400
+Processing by Admin::PostsController#archive as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mAdminUser Load (0.2ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+Completed 401 Unauthorized in 3ms (ActiveRecord: 0.2ms | Allocations: 645)
+Started GET "/admin/login" for 127.0.0.1 at 2021-08-31 15:22:06 -0400
+Processing by ActiveAdmin::Devise::SessionsController#new as HTML
+ Rendering layout /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/layouts/active_admin_logged_out.html.erb
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/shared/_links.erb (Duration: 1.0ms | Allocations: 569)
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out (Duration: 17.2ms | Allocations: 6862)
+ Rendered layout /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/layouts/active_admin_logged_out.html.erb (Duration: 21.4ms | Allocations: 9085)
+Completed 200 OK in 25ms (Views: 23.7ms | ActiveRecord: 0.0ms | Allocations: 10870)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (1.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (6.7ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (1.4ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (18.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.7ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.4ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.4ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (7.1ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (1.7ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (8.3ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (1.3ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user2@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.6ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user2@example.com"], ["encrypted_password", "$2a$04$JdAyfa5A31bUCaPqsaAJwOrFl9ajgPuuFQ9wqmSDOYYZMz81YV7u."], ["created_at", "2021-08-31 19:22:07.236993"], ["updated_at", "2021-08-31 19:22:07.236993"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (3.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (4.2ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 2"], ["created_at", "2021-08-31 19:22:07.244191"], ["updated_at", "2021-08-31 19:22:07.244191"]]
+ [1m[36mTRANSACTION (12.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 2"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.4ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 2"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:22:07.266901"], ["updated_at", "2021-08-31 19:22:07.266901"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:22:07 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:22:07.277287"], ["last_sign_in_at", "2021-08-31 19:22:07.277287"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:22:07.277507"], ["id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 21.3ms | Allocations: 9077)
+Completed 200 OK in 25ms (Views: 21.7ms | ActiveRecord: 0.2ms | Allocations: 9979)
+Started PUT "/admin/categories/1/posts/1/publish" for 127.0.0.1 at 2021-08-31 15:22:07 -0400
+Processing by Admin::PostsController#publish as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? AND "posts"."id" != ? LIMIT ?[0m [["title", "Post 2"], ["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Update (0.3ms)[0m [1m[33mUPDATE "posts" SET "status" = ?, "updated_at" = ? WHERE "posts"."id" = ?[0m [["status", "published"], ["updated_at", "2021-08-31 19:22:07.380512"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://127.0.0.1:49827/admin/categories/1/posts/1
+Completed 302 Found in 8ms (ActiveRecord: 1.5ms | Allocations: 2114)
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:22:07 -0400
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 28.8ms | Allocations: 8899)
+Completed 200 OK in 33ms (Views: 29.1ms | ActiveRecord: 0.3ms | Allocations: 10239)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user3@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user3@example.com"], ["encrypted_password", "$2a$04$npvkVotGcn0DyW0OEeWWeuvJdMa6Whd16F/T3qCHv9H2ZTgX7NH/2"], ["created_at", "2021-08-31 19:22:07.702229"], ["updated_at", "2021-08-31 19:22:07.702229"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.5ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 3"], ["created_at", "2021-08-31 19:22:07.704623"], ["updated_at", "2021-08-31 19:22:07.704623"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 3"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 3"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:22:07.708111"], ["updated_at", "2021-08-31 19:22:07.708111"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:22:07 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:22:07.715443"], ["last_sign_in_at", "2021-08-31 19:22:07.715443"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:22:07.715657"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 9.3ms | Allocations: 9046)
+Completed 200 OK in 12ms (Views: 9.6ms | ActiveRecord: 0.2ms | Allocations: 9949)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user4@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user4@example.com"], ["encrypted_password", "$2a$04$6Z.cZ5fi1hRAzjBTHBZezuO2v8iEP7qMA3LYxqpzHCsZBJl6U0dly"], ["created_at", "2021-08-31 19:22:08.008606"], ["updated_at", "2021-08-31 19:22:08.008606"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 4"], ["created_at", "2021-08-31 19:22:08.010832"], ["updated_at", "2021-08-31 19:22:08.010832"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 4"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 4"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:22:08.013939"], ["updated_at", "2021-08-31 19:22:08.013939"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:22:08 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:22:08.021052"], ["last_sign_in_at", "2021-08-31 19:22:08.021052"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:22:08.021273"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 9.2ms | Allocations: 9045)
+Completed 200 OK in 11ms (Views: 9.5ms | ActiveRecord: 0.2ms | Allocations: 9946)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+Started GET "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2021-08-31 15:22:08 -0400
Processing by Admin::PostsController#reopen as HTML
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mAdminUser Load (0.5ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1[0m
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+Completed 401 Unauthorized in 1ms (ActiveRecord: 0.1ms | Allocations: 499)
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+Started GET "/admin/login" for 127.0.0.1 at 2021-08-31 15:22:08 -0400
+Processing by ActiveAdmin::Devise::SessionsController#new as HTML
+ Rendering layout /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/layouts/active_admin_logged_out.html.erb
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/shared/_links.erb (Duration: 0.2ms | Allocations: 81)
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out (Duration: 2.5ms | Allocations: 2040)
+ Rendered layout /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/layouts/active_admin_logged_out.html.erb (Duration: 4.6ms | Allocations: 4600)
+Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms | Allocations: 5262)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user5@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.5ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user5@example.com"], ["encrypted_password", "$2a$04$eA4qNwN9APirsxuJv/UlnexQx9WAPpqcTaLfclyBG0jgPeGQ4vFy6"], ["created_at", "2021-08-31 19:22:08.300992"], ["updated_at", "2021-08-31 19:22:08.300992"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 5"], ["created_at", "2021-08-31 19:22:08.303377"], ["updated_at", "2021-08-31 19:22:08.303377"]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 5"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user6@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user6@example.com"], ["encrypted_password", "$2a$04$s2EY/I1T7jyJwqPzVUiEQe05C.w9pKbhsjDvZqy1JMlT.vxgzcLGu"], ["created_at", "2021-08-31 19:22:08.328007"], ["updated_at", "2021-08-31 19:22:08.328007"]]
+ [1m[36mTRANSACTION (1.3ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 6"], ["created_at", "2021-08-31 19:22:08.331054"], ["updated_at", "2021-08-31 19:22:08.331054"]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 6"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.1ms)[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user7@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user7@example.com"], ["encrypted_password", "$2a$04$FCCX47faeJYBRuGgpLlCbOfGc3qBIamIFAyH2D2mXKVLI6usJmJ8S"], ["created_at", "2021-08-31 19:22:08.357824"], ["updated_at", "2021-08-31 19:22:08.357824"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 7"], ["created_at", "2021-08-31 19:22:08.360106"], ["updated_at", "2021-08-31 19:22:08.360106"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 7"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 7"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:22:08.363111"], ["updated_at", "2021-08-31 19:22:08.363111"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:22:08 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:22:08.366397"], ["last_sign_in_at", "2021-08-31 19:22:08.366397"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:22:08.366554"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 10.6ms | Allocations: 9042)
+Completed 200 OK in 13ms (Views: 11.0ms | ActiveRecord: 0.3ms | Allocations: 9981)
+Started GET "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2021-08-31 15:22:08 -0400
+Processing by Admin::PostsController#reopen as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mAdminUser Load (0.2ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
Redirected to http://www.example.com/admin/dashboard
-Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
-Started GET "/admin/dashboard" for 127.0.0.1 at 2013-10-25 21:03:04 -0400
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms | Allocations: 678)
+Started GET "/admin/dashboard" for 127.0.0.1 at 2021-08-31 15:22:08 -0400
Processing by Admin::DashboardController#index as HTML
- [1m[35mAdminUser Load (0.4ms)[0m SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/page/index.html.arb (7.8ms)
-Completed 200 OK in 13ms (Views: 10.4ms | ActiveRecord: 0.4ms)
- [1m[36m (0.2ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (9.3ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
- [1m[36m (0.6ms)[0m [1mALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL[0m
-Connecting to database specified by database.yml
- [1m[36m (0.4ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
- [1m[36m (10.1ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.4ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdminUser Exists (0.8ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
- [1m[36mSQL (2.6ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"[0m [["created_at", Sat, 26 Oct 2013 01:05:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$L1q7qN1k3eRR39qqQfrAt.ia7.d3vWE3ELkekevcYcZmNxfN/Q9By"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Sat, 26 Oct 2013 01:05:20 UTC +00:00]]
- [1m[35m (0.3ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.9ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 01:05:20 UTC +00:00], ["name", "Category 1"], ["updated_at", Sat, 26 Oct 2013 01:05:20 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mPost Exists (0.5ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
- [1m[35mSQL (0.8ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 01:05:20 UTC +00:00], ["status", "reviewed"], ["title", "Post 1"], ["updated_at", Sat, 26 Oct 2013 01:05:20 UTC +00:00]]
- [1m[36m (0.2ms)[0m [1mCOMMIT[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 21:05:20 -0400
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.5ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 01:05:20.769515', "current_sign_in_at" = '2013-10-26 01:05:20.769515', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 01:05:20.770440' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.3ms)[0m COMMIT
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/page/index.html.arb
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/page/index.html.arb (Duration: 4.8ms | Allocations: 4707)
+Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.1ms | Allocations: 6012)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user8@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user8@example.com"], ["encrypted_password", "$2a$04$VhV0ccq41yNN4zGPK1W8JuiMlyorPZ0o1abn1hyCbzYpg0v9umDWy"], ["created_at", "2021-08-31 19:22:08.421573"], ["updated_at", "2021-08-31 19:22:08.421573"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 8"], ["created_at", "2021-08-31 19:22:08.423719"], ["updated_at", "2021-08-31 19:22:08.423719"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 8"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 8"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:22:08.426544"], ["updated_at", "2021-08-31 19:22:08.426544"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:22:08 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:22:08.429404"], ["last_sign_in_at", "2021-08-31 19:22:08.429404"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:22:08.429526"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.6ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.7ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (20.0ms)
-Completed 200 OK in 39ms (Views: 25.1ms | ActiveRecord: 1.7ms)
-Started GET "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2013-10-25 21:05:20 -0400
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 9.6ms | Allocations: 9072)
+Completed 200 OK in 12ms (Views: 10.0ms | ActiveRecord: 0.2ms | Allocations: 9974)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (1.8ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.7ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user1@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user1@example.com"], ["encrypted_password", "$2a$04$zM5H7/JzePoa3rvEr3c1iuWmiZgSa/h9uSp.ZCimrwxN1ioEnVV9m"], ["created_at", "2021-08-31 19:22:30.231228"], ["updated_at", "2021-08-31 19:22:30.231228"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 1"], ["created_at", "2021-08-31 19:22:30.255126"], ["updated_at", "2021-08-31 19:22:30.255126"]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 1"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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[35m (1.9ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user1@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user1@example.com"], ["encrypted_password", "$2a$04$lWOlvS1k/HuJ3Fj7sU8h2uVOnvL.BKy7.YGO75e7eWpNYCRh674tm"], ["created_at", "2021-08-31 19:24:19.045640"], ["updated_at", "2021-08-31 19:24:19.045640"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 1"], ["created_at", "2021-08-31 19:24:19.067470"], ["updated_at", "2021-08-31 19:24:19.067470"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 1"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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[35m (1.7ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user1@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user1@example.com"], ["encrypted_password", "$2a$04$.qZgquZvVNd/HuQ6ule.V.whiKzojhnOMnl2O0gNq8Zbh8ce1Cld6"], ["created_at", "2021-08-31 19:25:23.358675"], ["updated_at", "2021-08-31 19:25:23.358675"]]
+ [1m[36mTRANSACTION (1.3ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 1"], ["created_at", "2021-08-31 19:25:23.365310"], ["updated_at", "2021-08-31 19:25:23.365310"]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? ORDER BY "posts"."id" ASC LIMIT ?[0m [["category_id", 1], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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[35m (2.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user1@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user1@example.com"], ["encrypted_password", "$2a$04$MrXmMaNyKvmuOjBtk5jkMOpaPBfIYO68FCJviJlPkRE1oETMJiKjq"], ["created_at", "2021-08-31 19:25:59.304218"], ["updated_at", "2021-08-31 19:25:59.304218"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 1"], ["created_at", "2021-08-31 19:25:59.309260"], ["updated_at", "2021-08-31 19:25:59.309260"]]
+ [1m[36mTRANSACTION (1.1ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 1"], ["LIMIT", 1]]
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 1"], ["LIMIT", 1]]
+ [1m[35m (2.4ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user1@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user1@example.com"], ["encrypted_password", "$2a$04$n4fXKTBwJajcv1Ssnz2SWexXUK7HLpM/Htib9aIwXuhPldgrhXKH6"], ["created_at", "2021-08-31 19:27:09.706794"], ["updated_at", "2021-08-31 19:27:09.706794"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 1"], ["created_at", "2021-08-31 19:27:09.729299"], ["updated_at", "2021-08-31 19:27:09.729299"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 1"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.4ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 1"], ["body", "lorem ipsum"], ["status", "draft"], ["created_at", "2021-08-31 19:27:19.653359"], ["updated_at", "2021-08-31 19:27:19.653359"], ["category_id", 1]]
+ [1m[36mTRANSACTION (1.5ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (1.6ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user1@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user1@example.com"], ["encrypted_password", "$2a$04$XMc6dJe3qnLACtK5EqcJFucrQdSqFTjpxc4CglSV5byR4EQVooGLe"], ["created_at", "2021-08-31 19:27:37.450928"], ["updated_at", "2021-08-31 19:27:37.450928"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 1"], ["created_at", "2021-08-31 19:27:37.456362"], ["updated_at", "2021-08-31 19:27:37.456362"]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 1"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 1"], ["body", "lorem ipsum"], ["status", "draft"], ["created_at", "2021-08-31 19:27:37.469644"], ["updated_at", "2021-08-31 19:27:37.469644"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mPost Load (0.2ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? ORDER BY "posts"."id" ASC LIMIT ?[0m [["category_id", 1], ["LIMIT", 1]]
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:27:37 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:27:37.488969"], ["last_sign_in_at", "2021-08-31 19:27:37.488969"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:27:37.489118"], ["id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 227.6ms | Allocations: 75849)
+Completed 200 OK in 267ms (Views: 235.8ms | ActiveRecord: 0.3ms | Allocations: 81778)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (1.6ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "active_admin_comments"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user1@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user1@example.com"], ["encrypted_password", "$2a$04$YlK.VxfkKYl9IkAxrPMcP.K.D54lRW9ARlIeKvCGw2b3uBCcb9rZa"], ["created_at", "2021-08-31 19:28:03.187478"], ["updated_at", "2021-08-31 19:28:03.187478"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 1"], ["created_at", "2021-08-31 19:28:03.192411"], ["updated_at", "2021-08-31 19:28:03.192411"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 1"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 1"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:28:03.204351"], ["updated_at", "2021-08-31 19:28:03.204351"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:28:03 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:28:03.213224"], ["last_sign_in_at", "2021-08-31 19:28:03.213224"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:28:03.213378"], ["id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.2ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 226.6ms | Allocations: 77293)
+Completed 200 OK in 257ms (Views: 234.4ms | ActiveRecord: 0.4ms | Allocations: 85751)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.9ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
+ [1m[35m (0.5ms)[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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user2@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user2@example.com"], ["encrypted_password", "$2a$04$KhuVqBUkQaWOiXxypZY/nuPqX9CSIja7i7otWmeI..khXXTGX8MBK"], ["created_at", "2021-08-31 19:28:03.558825"], ["updated_at", "2021-08-31 19:28:03.558825"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.3ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 2"], ["created_at", "2021-08-31 19:28:03.561468"], ["updated_at", "2021-08-31 19:28:03.561468"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 2"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 2"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:28:03.565119"], ["updated_at", "2021-08-31 19:28:03.565119"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:28:03 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:28:03.568192"], ["last_sign_in_at", "2021-08-31 19:28:03.568192"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:28:03.568311"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 14.8ms | Allocations: 9040)
+Completed 200 OK in 17ms (Views: 15.1ms | ActiveRecord: 0.2ms | Allocations: 9944)
+Started GET "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2021-08-31 15:28:03 -0400
Processing by Admin::PostsController#reopen as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mAdminUser Load (0.4ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1[0m
+ [1m[36mAdminUser Load (0.7ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
Redirected to http://www.example.com/admin/dashboard
-Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
-Started GET "/admin/dashboard" for 127.0.0.1 at 2013-10-25 21:05:20 -0400
+Completed 302 Found in 2ms (ActiveRecord: 0.7ms | Allocations: 752)
+Started GET "/admin/dashboard" for 127.0.0.1 at 2021-08-31 15:28:03 -0400
Processing by Admin::DashboardController#index as HTML
- [1m[35mAdminUser Load (0.4ms)[0m SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/page/index.html.arb (7.4ms)
-Completed 200 OK in 13ms (Views: 9.8ms | ActiveRecord: 0.4ms)
- [1m[36m (0.2ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (10.4ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
- [1m[36m (0.4ms)[0m [1mALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL[0m
- [1m[35m (0.2ms)[0m ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
- [1m[36m (8.9ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.4ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdminUser Exists (0.5ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
- [1m[36mSQL (1.1ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"[0m [["created_at", Sat, 26 Oct 2013 01:05:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$GQiopr5zjnE7/4VhoceDk.sKuFDIyWvKXLhSheoKQkme1jENX2.W."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Sat, 26 Oct 2013 01:05:20 UTC +00:00]]
- [1m[35m (0.3ms)[0m COMMIT
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.9ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 01:05:20 UTC +00:00], ["name", "Category 2"], ["updated_at", Sat, 26 Oct 2013 01:05:20 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1[0m
- [1m[35mSQL (0.8ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 01:05:20 UTC +00:00], ["status", "reviewed"], ["title", "Post 2"], ["updated_at", Sat, 26 Oct 2013 01:05:20 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 21:05:20 -0400
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.6ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 01:05:20.940216', "current_sign_in_at" = '2013-10-26 01:05:20.940216', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 01:05:20.941166' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.3ms)[0m COMMIT
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/page/index.html.arb
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/page/index.html.arb (Duration: 26.0ms | Allocations: 4710)
+Completed 200 OK in 30ms (Views: 28.1ms | ActiveRecord: 0.1ms | Allocations: 6014)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.7ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user3@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user3@example.com"], ["encrypted_password", "$2a$04$4m13maRC02hxzHjivobCE.KdGb9QTJQquOww.T5eWfKgG2MGeHJPK"], ["created_at", "2021-08-31 19:28:03.654916"], ["updated_at", "2021-08-31 19:28:03.654916"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 3"], ["created_at", "2021-08-31 19:28:03.656951"], ["updated_at", "2021-08-31 19:28:03.656951"]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 3"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 3"], ["body", "lorem ipsum"], ["status", "draft"], ["created_at", "2021-08-31 19:28:03.660402"], ["updated_at", "2021-08-31 19:28:03.660402"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? ORDER BY "posts"."id" ASC LIMIT ?[0m [["category_id", 1], ["LIMIT", 1]]
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:28:03 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:28:03.664124"], ["last_sign_in_at", "2021-08-31 19:28:03.664124"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:28:03.664250"], ["id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.9ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (26.7ms)
-Completed 200 OK in 34ms (Views: 27.3ms | ActiveRecord: 1.7ms)
-Connecting to database specified by database.yml
- [1m[36m (0.4ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (1.2ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
- [1m[36m (11.1ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.3ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdminUser Exists (0.8ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
- [1m[36mSQL (2.7ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"[0m [["created_at", Sat, 26 Oct 2013 01:09:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$1BM.7NUuMO2nTgM0PxM82uekJOdj4eZHTGvmlajmufm26AtJbm8PK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Sat, 26 Oct 2013 01:09:58 UTC +00:00]]
- [1m[35m (0.3ms)[0m COMMIT
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.9ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 01:09:58 UTC +00:00], ["name", "Category 1"], ["updated_at", Sat, 26 Oct 2013 01:09:58 UTC +00:00]]
- [1m[36m (0.4ms)[0m [1mCOMMIT[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
- [1m[35mSQL (0.8ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 01:09:58 UTC +00:00], ["status", "reviewed"], ["title", "Post 1"], ["updated_at", Sat, 26 Oct 2013 01:09:58 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 21:09:58 -0400
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.5ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 01:09:58.621692', "current_sign_in_at" = '2013-10-26 01:09:58.621692', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 01:09:58.622612' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.4ms)[0m COMMIT
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 8.6ms | Allocations: 8874)
+Completed 200 OK in 11ms (Views: 9.0ms | ActiveRecord: 0.2ms | Allocations: 9778)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user4@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user4@example.com"], ["encrypted_password", "$2a$04$h7NFhPyvhWF1Fc1Aj4DZ2.MuC3Q8bsD.LC24YKoNy8eOwbYM08Bi6"], ["created_at", "2021-08-31 19:28:03.699449"], ["updated_at", "2021-08-31 19:28:03.699449"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 4"], ["created_at", "2021-08-31 19:28:03.701457"], ["updated_at", "2021-08-31 19:28:03.701457"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 4"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 4"], ["body", "lorem ipsum"], ["status", "draft"], ["created_at", "2021-08-31 19:28:03.704025"], ["updated_at", "2021-08-31 19:28:03.704025"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? ORDER BY "posts"."id" ASC LIMIT ?[0m [["category_id", 1], ["LIMIT", 1]]
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:28:03 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:28:03.707680"], ["last_sign_in_at", "2021-08-31 19:28:03.707680"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:28:03.707808"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.7ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.9ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.6ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (20.8ms)
-Completed 200 OK in 43ms (Views: 26.2ms | ActiveRecord: 2.1ms)
-Started GET "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2013-10-25 21:09:58 -0400
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 7.2ms | Allocations: 7757)
+Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.3ms | Allocations: 8710)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user5@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user5@example.com"], ["encrypted_password", "$2a$04$ibXn.V9Z0vp4aQWNctV4POg.OnolWzy7zQ8gcBo2jKCknYj27JU7W"], ["created_at", "2021-08-31 19:28:03.741420"], ["updated_at", "2021-08-31 19:28:03.741420"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 5"], ["created_at", "2021-08-31 19:28:03.743391"], ["updated_at", "2021-08-31 19:28:03.743391"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 5"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 5"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:28:03.746057"], ["updated_at", "2021-08-31 19:28:03.746057"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:28:04 -0400
+ [1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:28:04.996993"], ["last_sign_in_at", "2021-08-31 19:28:04.996993"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:28:04.998671"], ["id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 10.7ms | Allocations: 9055)
+Completed 200 OK in 13ms (Views: 11.2ms | ActiveRecord: 0.3ms | Allocations: 10007)
+Started GET "/assets/active_admin-9dbfb3c7d6c5060ec15c0f398011488cb7ef48a212410e256cb15388ba4957e3.js" for 127.0.0.1 at 2021-08-31 15:28:05 -0400
+Started GET "/assets/active_admin/print-f6ce3ffc349ca6c010940202a36b916e852d26179018d2cdc1513350bea7dcba.css" for 127.0.0.1 at 2021-08-31 15:28:05 -0400
+Started GET "/assets/active_admin-7e9d70f63036f2488cd96a0dba0b3be93e30b9023b574f0c19a673ac83072e17.css" for 127.0.0.1 at 2021-08-31 15:28:10 -0400
+Started PUT "/admin/categories/1/posts/1/publish" for 127.0.0.1 at 2021-08-31 15:28:10 -0400
+Processing by Admin::PostsController#publish as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mAdminUser Load (0.2ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? AND "posts"."id" != ? LIMIT ?[0m [["title", "Post 5"], ["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Update (0.3ms)[0m [1m[33mUPDATE "posts" SET "status" = ?, "updated_at" = ? WHERE "posts"."id" = ?[0m [["status", "published"], ["updated_at", "2021-08-31 19:28:10.163282"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://127.0.0.1:49901/admin/categories/1/posts/1
+Completed 302 Found in 6ms (ActiveRecord: 1.5ms | Allocations: 2132)
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:28:10 -0400
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 9.9ms | Allocations: 8896)
+Completed 200 OK in 13ms (Views: 10.3ms | ActiveRecord: 0.3ms | Allocations: 10242)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[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.3ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user6@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user6@example.com"], ["encrypted_password", "$2a$04$0xJA7JSfeSx4SulTD9AemeWEDpreqS8XQjaQqI8Ati0Fps4TOQfpG"], ["created_at", "2021-08-31 19:28:10.544715"], ["updated_at", "2021-08-31 19:28:10.544715"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 6"], ["created_at", "2021-08-31 19:28:10.546913"], ["updated_at", "2021-08-31 19:28:10.546913"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 6"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 6"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:28:10.549932"], ["updated_at", "2021-08-31 19:28:10.549932"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:28:10 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:28:10.556923"], ["last_sign_in_at", "2021-08-31 19:28:10.556923"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:28:10.557137"], ["id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 10.2ms | Allocations: 9045)
+Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 0.2ms | Allocations: 9946)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+Started PUT "/admin/categories/1/posts/1/archive" for 127.0.0.1 at 2021-08-31 15:28:10 -0400
+Processing by Admin::PostsController#archive as HTML
+ [1m[35m (1.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+Completed 401 Unauthorized in 3ms (ActiveRecord: 0.1ms | Allocations: 522)
+Started GET "/admin/login" for 127.0.0.1 at 2021-08-31 15:28:10 -0400
+Processing by ActiveAdmin::Devise::SessionsController#new as HTML
+ Rendering layout /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/layouts/active_admin_logged_out.html.erb
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/shared/_links.erb (Duration: 1.0ms | Allocations: 569)
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out (Duration: 18.6ms | Allocations: 6862)
+ Rendered layout /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/layouts/active_admin_logged_out.html.erb (Duration: 20.8ms | Allocations: 9086)
+Completed 200 OK in 25ms (Views: 23.2ms | ActiveRecord: 0.0ms | Allocations: 10855)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user7@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user7@example.com"], ["encrypted_password", "$2a$04$WJUF5M.HBDyc.yzrB1qRd.iv2LlBsHNT/4OW.fKjndjafMtU.lDu6"], ["created_at", "2021-08-31 19:28:10.846217"], ["updated_at", "2021-08-31 19:28:10.846217"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 7"], ["created_at", "2021-08-31 19:28:10.848361"], ["updated_at", "2021-08-31 19:28:10.848361"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 7"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 7"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:28:10.851456"], ["updated_at", "2021-08-31 19:28:10.851456"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:28:10 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:28:10.857953"], ["last_sign_in_at", "2021-08-31 19:28:10.857953"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:28:10.858141"], ["id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 9.1ms | Allocations: 9083)
+Completed 200 OK in 11ms (Views: 9.5ms | ActiveRecord: 0.2ms | Allocations: 9985)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.5ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+Started GET "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2021-08-31 15:28:10 -0400
Processing by Admin::PostsController#reopen as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mAdminUser Load (0.4ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1[0m
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+Completed 401 Unauthorized in 1ms (ActiveRecord: 0.1ms | Allocations: 508)
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+Started GET "/admin/login" for 127.0.0.1 at 2021-08-31 15:28:10 -0400
+Processing by ActiveAdmin::Devise::SessionsController#new as HTML
+ Rendering layout /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/layouts/active_admin_logged_out.html.erb
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/shared/_links.erb (Duration: 0.2ms | Allocations: 81)
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out (Duration: 2.7ms | Allocations: 2059)
+ Rendered layout /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/layouts/active_admin_logged_out.html.erb (Duration: 4.5ms | Allocations: 4210)
+Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms | Allocations: 4783)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user8@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user8@example.com"], ["encrypted_password", "$2a$04$BnWhKBTiliyOZxZesLnczOD2ITcp6OKLSy7N7XHG4kx9fVhzTqMiW"], ["created_at", "2021-08-31 19:28:11.136493"], ["updated_at", "2021-08-31 19:28:11.136493"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 8"], ["created_at", "2021-08-31 19:28:11.138841"], ["updated_at", "2021-08-31 19:28:11.138841"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 8"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.4ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 8"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:28:11.141917"], ["updated_at", "2021-08-31 19:28:11.141917"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:28:11 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:28:11.148726"], ["last_sign_in_at", "2021-08-31 19:28:11.148726"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:28:11.149000"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 10.2ms | Allocations: 9045)
+Completed 200 OK in 13ms (Views: 10.6ms | ActiveRecord: 0.2ms | Allocations: 9946)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (1.6ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.8ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user1@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user1@example.com"], ["encrypted_password", "$2a$04$OngwzdMwKW5ej7ps3uf5uOm.M9ZVgRSbXdC0cPqFGERM9GeidJzP."], ["created_at", "2021-08-31 19:29:15.862675"], ["updated_at", "2021-08-31 19:29:15.862675"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 1"], ["created_at", "2021-08-31 19:29:15.868220"], ["updated_at", "2021-08-31 19:29:15.868220"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 1"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 1"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:29:15.899253"], ["updated_at", "2021-08-31 19:29:15.899253"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:29:15 -0400
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:29:15.908942"], ["last_sign_in_at", "2021-08-31 19:29:15.908942"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:29:15.909108"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.2ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 261.2ms | Allocations: 77318)
+Completed 200 OK in 294ms (Views: 269.4ms | ActiveRecord: 0.4ms | Allocations: 85776)
+Started GET "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2021-08-31 15:29:16 -0400
+Processing by Admin::PostsController#reopen as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mAdminUser Load (0.2ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
Redirected to http://www.example.com/admin/dashboard
-Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
-Started GET "/admin/dashboard" for 127.0.0.1 at 2013-10-25 21:09:58 -0400
+Completed 302 Found in 2ms (ActiveRecord: 0.2ms | Allocations: 774)
+Started GET "/admin/dashboard" for 127.0.0.1 at 2021-08-31 15:29:16 -0400
Processing by Admin::DashboardController#index as HTML
- [1m[35mAdminUser Load (0.5ms)[0m SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/page/index.html.arb (53.1ms)
-Completed 200 OK in 58ms (Views: 55.7ms | ActiveRecord: 0.5ms)
- [1m[36m (0.3ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (10.5ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
- [1m[36m (0.4ms)[0m [1mALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL[0m
- [1m[35m (0.2ms)[0m ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
- [1m[36m (9.2ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
- [1m[35m (0.4ms)[0m ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdminUser Exists (0.5ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
- [1m[36mSQL (1.0ms)[0m [1mINSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"[0m [["created_at", Sat, 26 Oct 2013 01:09:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$yh0eAxMWOoyiVAyRlDqAB.xjHMfj4ju.mzbqugtHVrrZqN6er56aS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Sat, 26 Oct 2013 01:09:58 UTC +00:00]]
- [1m[35m (0.3ms)[0m COMMIT
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.9ms)[0m INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 01:09:58 UTC +00:00], ["name", "Category 2"], ["updated_at", Sat, 26 Oct 2013 01:09:58 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1[0m
- [1m[35mSQL (0.9ms)[0m INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 01:09:58 UTC +00:00], ["status", "reviewed"], ["title", "Post 2"], ["updated_at", Sat, 26 Oct 2013 01:09:58 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mCOMMIT[0m
-Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 21:09:58 -0400
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.5ms)[0m [1mUPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 01:09:58.800800', "current_sign_in_at" = '2013-10-26 01:09:58.800800', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 01:09:58.801777' WHERE "admin_users"."id" = 1[0m
- [1m[35m (0.3ms)[0m COMMIT
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/page/index.html.arb
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/page/index.html.arb (Duration: 4.7ms | Allocations: 4709)
+Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.1ms | Allocations: 6011)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user2@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user2@example.com"], ["encrypted_password", "$2a$04$dtQzgU5/ShwiLm1gL9//9ujYgj0CzWrDi8JW7PdTAUbNr0yuP/j86"], ["created_at", "2021-08-31 19:29:16.291644"], ["updated_at", "2021-08-31 19:29:16.291644"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 2"], ["created_at", "2021-08-31 19:29:16.293669"], ["updated_at", "2021-08-31 19:29:16.293669"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 2"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 2"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:29:16.296380"], ["updated_at", "2021-08-31 19:29:16.296380"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:29:16 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:29:16.299162"], ["last_sign_in_at", "2021-08-31 19:29:16.299162"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:29:16.299279"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
Processing by Admin::PostsController#show as HTML
Parameters: {"category_id"=>"1", "id"=>"1"}
- [1m[36mCategory Load (0.5ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
- [1m[35mPost Load (0.5ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
- [1m[36mCategory Load (0.3ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
- [1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
- Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (23.4ms)
-Completed 200 OK in 30ms (Views: 24.0ms | ActiveRecord: 1.3ms)
- [1m[36m (0.2ms)[0m [1mALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL[0m
- [1m[35m (9.4ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
- [1m[36m (0.5ms)[0m [1mALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL[0m
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 11.4ms | Allocations: 9072)
+Completed 200 OK in 14ms (Views: 12.3ms | ActiveRecord: 0.2ms | Allocations: 9976)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.6ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.7ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[0m
+ [1m[35m (0.7ms)[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user3@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user3@example.com"], ["encrypted_password", "$2a$04$6dvZxZtpCwQsJMZ912GnBOo8i0re0UkFlIoiPygiRBtmTeYfPwzgK"], ["created_at", "2021-08-31 19:29:16.345550"], ["updated_at", "2021-08-31 19:29:16.345550"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 3"], ["created_at", "2021-08-31 19:29:16.348108"], ["updated_at", "2021-08-31 19:29:16.348108"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 3"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 3"], ["body", "lorem ipsum"], ["status", "draft"], ["created_at", "2021-08-31 19:29:16.351905"], ["updated_at", "2021-08-31 19:29:16.351905"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? ORDER BY "posts"."id" ASC LIMIT ?[0m [["category_id", 1], ["LIMIT", 1]]
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:29:16 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:29:16.357455"], ["last_sign_in_at", "2021-08-31 19:29:16.357455"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:29:16.357581"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 18.0ms | Allocations: 8840)
+Completed 200 OK in 21ms (Views: 18.4ms | ActiveRecord: 0.3ms | Allocations: 9741)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user4@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user4@example.com"], ["encrypted_password", "$2a$04$2hr.UADnx3iHJ0Kotr5AN.wXIYaCCORJrOA4ppb3wCyyw8QhxByBW"], ["created_at", "2021-08-31 19:29:16.410482"], ["updated_at", "2021-08-31 19:29:16.410482"]]
+ [1m[36mTRANSACTION (1.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 4"], ["created_at", "2021-08-31 19:29:16.413316"], ["updated_at", "2021-08-31 19:29:16.413316"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 4"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 4"], ["body", "lorem ipsum"], ["status", "draft"], ["created_at", "2021-08-31 19:29:16.416603"], ["updated_at", "2021-08-31 19:29:16.416603"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? ORDER BY "posts"."id" ASC LIMIT ?[0m [["category_id", 1], ["LIMIT", 1]]
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:29:16 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:29:16.421771"], ["last_sign_in_at", "2021-08-31 19:29:16.421771"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:29:16.421891"], ["id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 12.9ms | Allocations: 7757)
+Completed 200 OK in 16ms (Views: 13.4ms | ActiveRecord: 0.2ms | Allocations: 8710)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.7ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.8ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (2.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.8ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.4ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user5@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user5@example.com"], ["encrypted_password", "$2a$04$/L96zja7jFTbFfNWZBNu8eRATWzn.lc6qI.23BhgLup1kWjHW.Eq."], ["created_at", "2021-08-31 19:29:16.468945"], ["updated_at", "2021-08-31 19:29:16.468945"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 5"], ["created_at", "2021-08-31 19:29:16.471606"], ["updated_at", "2021-08-31 19:29:16.471606"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 5"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 5"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:29:16.494900"], ["updated_at", "2021-08-31 19:29:16.494900"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:29:17 -0400
+ [1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:29:17.777030"], ["last_sign_in_at", "2021-08-31 19:29:17.777030"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:29:17.779117"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 11.9ms | Allocations: 9052)
+Completed 200 OK in 15ms (Views: 12.4ms | ActiveRecord: 0.3ms | Allocations: 10004)
+Started GET "/assets/active_admin/print-f6ce3ffc349ca6c010940202a36b916e852d26179018d2cdc1513350bea7dcba.css" for 127.0.0.1 at 2021-08-31 15:29:17 -0400
+Started GET "/assets/active_admin-9dbfb3c7d6c5060ec15c0f398011488cb7ef48a212410e256cb15388ba4957e3.js" for 127.0.0.1 at 2021-08-31 15:29:17 -0400
+Started GET "/assets/active_admin-7e9d70f63036f2488cd96a0dba0b3be93e30b9023b574f0c19a673ac83072e17.css" for 127.0.0.1 at 2021-08-31 15:29:22 -0400
+Started PUT "/admin/categories/1/posts/1/publish" for 127.0.0.1 at 2021-08-31 15:29:22 -0400
+Processing by Admin::PostsController#publish as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mAdminUser Load (0.2ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? AND "posts"."id" != ? LIMIT ?[0m [["title", "Post 5"], ["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Update (0.3ms)[0m [1m[33mUPDATE "posts" SET "status" = ?, "updated_at" = ? WHERE "posts"."id" = ?[0m [["status", "published"], ["updated_at", "2021-08-31 19:29:23.004373"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://127.0.0.1:49927/admin/categories/1/posts/1
+Completed 302 Found in 7ms (ActiveRecord: 1.7ms | Allocations: 2134)
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:29:23 -0400
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 10.3ms | Allocations: 8900)
+Completed 200 OK in 14ms (Views: 10.9ms | ActiveRecord: 0.3ms | Allocations: 10244)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.7ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user6@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user6@example.com"], ["encrypted_password", "$2a$04$vPctxPzD7hq/J/MyD2Ai9Obr9cOh5KlspiJJZdD.jDjNAS2RAKcOe"], ["created_at", "2021-08-31 19:29:23.432743"], ["updated_at", "2021-08-31 19:29:23.432743"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 6"], ["created_at", "2021-08-31 19:29:23.434931"], ["updated_at", "2021-08-31 19:29:23.434931"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 6"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 6"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:29:23.438076"], ["updated_at", "2021-08-31 19:29:23.438076"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:29:23 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:29:23.444474"], ["last_sign_in_at", "2021-08-31 19:29:23.444474"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:29:23.444668"], ["id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 10.8ms | Allocations: 9045)
+Completed 200 OK in 13ms (Views: 11.2ms | ActiveRecord: 0.2ms | Allocations: 9946)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.3ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user7@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user7@example.com"], ["encrypted_password", "$2a$04$4xvgPdG0x0BKHnx60HlBXeVKz0KbqTUVSgp3KEw0wn7k97z1FjQvC"], ["created_at", "2021-08-31 19:29:23.739181"], ["updated_at", "2021-08-31 19:29:23.739181"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 7"], ["created_at", "2021-08-31 19:29:23.741438"], ["updated_at", "2021-08-31 19:29:23.741438"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 7"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 7"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:29:23.744505"], ["updated_at", "2021-08-31 19:29:23.744505"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:29:23 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:29:23.751521"], ["last_sign_in_at", "2021-08-31 19:29:23.751521"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:29:23.751720"], ["id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 10.1ms | Allocations: 9045)
+Completed 200 OK in 12ms (Views: 10.5ms | ActiveRecord: 0.2ms | Allocations: 9946)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+Started PUT "/admin/categories/1/posts/1/archive" for 127.0.0.1 at 2021-08-31 15:29:23 -0400
+Processing by Admin::PostsController#archive as HTML
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+Completed 401 Unauthorized in 4ms (ActiveRecord: 0.1ms | Allocations: 581)
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+Started GET "/admin/login" for 127.0.0.1 at 2021-08-31 15:29:23 -0400
+Processing by ActiveAdmin::Devise::SessionsController#new as HTML
+ Rendering layout /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/layouts/active_admin_logged_out.html.erb
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/shared/_links.erb (Duration: 1.0ms | Allocations: 569)
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out (Duration: 18.7ms | Allocations: 6862)
+ Rendered layout /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/layouts/active_admin_logged_out.html.erb (Duration: 21.0ms | Allocations: 9085)
+Completed 200 OK in 26ms (Views: 24.1ms | ActiveRecord: 0.0ms | Allocations: 11707)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (0.1ms)[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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user8@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user8@example.com"], ["encrypted_password", "$2a$04$XkQy0RcD0lsz0LYszU.1ceYoz9u.D9ASSKVEW8Qsp464qPBKigoBm"], ["created_at", "2021-08-31 19:29:24.078047"], ["updated_at", "2021-08-31 19:29:24.078047"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 8"], ["created_at", "2021-08-31 19:29:24.080258"], ["updated_at", "2021-08-31 19:29:24.080258"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 8"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 8"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:29:24.083351"], ["updated_at", "2021-08-31 19:29:24.083351"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:29:24 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:29:24.089993"], ["last_sign_in_at", "2021-08-31 19:29:24.089993"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:29:24.090196"], ["id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 9.8ms | Allocations: 9077)
+Completed 200 OK in 12ms (Views: 10.1ms | ActiveRecord: 0.2ms | Allocations: 9979)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+Started GET "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2021-08-31 15:29:24 -0400
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+Processing by Admin::PostsController#reopen as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+Completed 401 Unauthorized in 1ms (ActiveRecord: 0.1ms | Allocations: 515)
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+Started GET "/admin/login" for 127.0.0.1 at 2021-08-31 15:29:24 -0400
+Processing by ActiveAdmin::Devise::SessionsController#new as HTML
+ Rendering layout /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/layouts/active_admin_logged_out.html.erb
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/shared/_links.erb (Duration: 0.2ms | Allocations: 81)
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out (Duration: 2.7ms | Allocations: 2034)
+ Rendered layout /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/layouts/active_admin_logged_out.html.erb (Duration: 4.9ms | Allocations: 4594)
+Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms | Allocations: 5173)
+ [1m[35m (1.8ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.6ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user1@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user1@example.com"], ["encrypted_password", "$2a$04$pLCIn0t7QGHykQ9vmImC1uDv7rzEH.rN2RS0jx62S9IU5EoVyFvTu"], ["created_at", "2021-08-31 19:37:57.119851"], ["updated_at", "2021-08-31 19:37:57.119851"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.4ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 1"], ["created_at", "2021-08-31 19:37:57.125017"], ["updated_at", "2021-08-31 19:37:57.125017"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 1"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 1"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:37:57.158466"], ["updated_at", "2021-08-31 19:37:57.158466"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:37:57 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:37:57.169027"], ["last_sign_in_at", "2021-08-31 19:37:57.169027"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:37:57.169211"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.2ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 309.9ms | Allocations: 77376)
+Completed 200 OK in 345ms (Views: 318.6ms | ActiveRecord: 0.4ms | Allocations: 85834)
+Started GET "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2021-08-31 15:37:57 -0400
+Processing by Admin::PostsController#reopen as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mAdminUser Load (0.2ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+Redirected to http://www.example.com/admin/dashboard
+Completed 302 Found in 2ms (ActiveRecord: 0.2ms | Allocations: 754)
+Started GET "/admin/dashboard" for 127.0.0.1 at 2021-08-31 15:37:57 -0400
+Processing by Admin::DashboardController#index as HTML
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/page/index.html.arb
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/page/index.html.arb (Duration: 4.4ms | Allocations: 4709)
+Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.1ms | Allocations: 6019)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.9ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user2@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user2@example.com"], ["encrypted_password", "$2a$04$24ao4hEugXQmi..yXqxmNewLdQCAgPPJljcH72HApJANI5gquKAhW"], ["created_at", "2021-08-31 19:37:57.603230"], ["updated_at", "2021-08-31 19:37:57.603230"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 2"], ["created_at", "2021-08-31 19:37:57.605205"], ["updated_at", "2021-08-31 19:37:57.605205"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 2"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.2ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 2"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:37:57.608010"], ["updated_at", "2021-08-31 19:37:57.608010"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:37:57 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:37:57.610770"], ["last_sign_in_at", "2021-08-31 19:37:57.610770"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:37:57.610884"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 11.4ms | Allocations: 9072)
+Completed 200 OK in 13ms (Views: 11.8ms | ActiveRecord: 0.2ms | Allocations: 9976)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.5ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.6ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user3@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user3@example.com"], ["encrypted_password", "$2a$04$t0aSbKGlkQS5OltJqdgnsO4M0yo8xwVi5iZAzNxScX9kojNkt9Qxi"], ["created_at", "2021-08-31 19:37:57.657302"], ["updated_at", "2021-08-31 19:37:57.657302"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 3"], ["created_at", "2021-08-31 19:37:57.659954"], ["updated_at", "2021-08-31 19:37:57.659954"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 3"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 3"], ["body", "lorem ipsum"], ["status", "draft"], ["created_at", "2021-08-31 19:37:57.663874"], ["updated_at", "2021-08-31 19:37:57.663874"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? ORDER BY "posts"."id" ASC LIMIT ?[0m [["category_id", 1], ["LIMIT", 1]]
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:37:57 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:37:57.669368"], ["last_sign_in_at", "2021-08-31 19:37:57.669368"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:37:57.669500"], ["id", 1]]
+ [1m[36mTRANSACTION (1.5ms)[0m [1m[36mcommit transaction[0m
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 17.2ms | Allocations: 8840)
+Completed 200 OK in 20ms (Views: 17.6ms | ActiveRecord: 0.2ms | Allocations: 9741)
+ [1m[35m (0.6ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.8ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.7ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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.7ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user4@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user4@example.com"], ["encrypted_password", "$2a$04$1dpcqR9r8MLJgqFFF9GoTepyhk8lg1yglAhmfmsbSgeEYgMTekCzm"], ["created_at", "2021-08-31 19:37:57.722222"], ["updated_at", "2021-08-31 19:37:57.722222"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 4"], ["created_at", "2021-08-31 19:37:57.724910"], ["updated_at", "2021-08-31 19:37:57.724910"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 4"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 4"], ["body", "lorem ipsum"], ["status", "draft"], ["created_at", "2021-08-31 19:37:57.728332"], ["updated_at", "2021-08-31 19:37:57.728332"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? ORDER BY "posts"."id" ASC LIMIT ?[0m [["category_id", 1], ["LIMIT", 1]]
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:37:57 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:37:57.732823"], ["last_sign_in_at", "2021-08-31 19:37:57.732823"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:37:57.732958"], ["id", 1]]
+ [1m[36mTRANSACTION (1.1ms)[0m [1m[36mcommit transaction[0m
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 13.4ms | Allocations: 7757)
+Completed 200 OK in 16ms (Views: 13.7ms | ActiveRecord: 0.2ms | Allocations: 8710)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.8ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.9ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user5@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.4ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user5@example.com"], ["encrypted_password", "$2a$04$F3LCv/v4wsM900GN91YjU.byAjwWSJIJgjbkMU5nPdsibKSlSiwTu"], ["created_at", "2021-08-31 19:37:57.780968"], ["updated_at", "2021-08-31 19:37:57.780968"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 5"], ["created_at", "2021-08-31 19:37:57.800304"], ["updated_at", "2021-08-31 19:37:57.800304"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 5"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 5"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:37:57.803137"], ["updated_at", "2021-08-31 19:37:57.803137"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:37:58 -0400
+ [1m[35m (0.2ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:37:58.967197"], ["last_sign_in_at", "2021-08-31 19:37:58.967197"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:37:58.968721"], ["id", 1]]
+ [1m[36mTRANSACTION (1.1ms)[0m [1m[36mcommit transaction[0m
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.2ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 15.1ms | Allocations: 9052)
+Completed 200 OK in 18ms (Views: 15.6ms | ActiveRecord: 0.4ms | Allocations: 10004)
+Started GET "/assets/active_admin-9dbfb3c7d6c5060ec15c0f398011488cb7ef48a212410e256cb15388ba4957e3.js" for 127.0.0.1 at 2021-08-31 15:37:59 -0400
+Started GET "/assets/active_admin/print-f6ce3ffc349ca6c010940202a36b916e852d26179018d2cdc1513350bea7dcba.css" for 127.0.0.1 at 2021-08-31 15:37:59 -0400
+Started GET "/assets/active_admin-7e9d70f63036f2488cd96a0dba0b3be93e30b9023b574f0c19a673ac83072e17.css" for 127.0.0.1 at 2021-08-31 15:38:03 -0400
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[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[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user6@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user6@example.com"], ["encrypted_password", "$2a$04$gB/LmBXnLYeYIfVPFBB2suQNYFEXQexCMbpxzfhKLEpWyy3VG/8L."], ["created_at", "2021-08-31 19:38:04.453171"], ["updated_at", "2021-08-31 19:38:04.453171"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (1.2ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 6"], ["created_at", "2021-08-31 19:38:04.455876"], ["updated_at", "2021-08-31 19:38:04.455876"]]
+ [1m[36mTRANSACTION (1.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 6"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 6"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:38:04.459584"], ["updated_at", "2021-08-31 19:38:04.459584"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:38:04 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:38:04.467090"], ["last_sign_in_at", "2021-08-31 19:38:04.467090"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:38:04.467316"], ["id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 10.6ms | Allocations: 9049)
+Completed 200 OK in 13ms (Views: 11.0ms | ActiveRecord: 0.2ms | Allocations: 9952)
+ [1m[35m (0.2ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.5ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+Started GET "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2021-08-31 15:38:04 -0400
+Processing by Admin::PostsController#reopen as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mAdminUser Load (0.2ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+Completed 401 Unauthorized in 3ms (ActiveRecord: 0.2ms | Allocations: 545)
+Started GET "/admin/login" for 127.0.0.1 at 2021-08-31 15:38:04 -0400
+Processing by ActiveAdmin::Devise::SessionsController#new as HTML
+ Rendering layout /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/layouts/active_admin_logged_out.html.erb
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/shared/_links.erb (Duration: 1.1ms | Allocations: 569)
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out (Duration: 20.8ms | Allocations: 6862)
+ Rendered layout /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/layouts/active_admin_logged_out.html.erb (Duration: 23.0ms | Allocations: 9085)
+Completed 200 OK in 28ms (Views: 25.9ms | ActiveRecord: 0.0ms | Allocations: 10875)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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.2ms)[0m [1m[35mTRUNCATE TABLE "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user7@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user7@example.com"], ["encrypted_password", "$2a$04$BTNf.uNA.O7hKrVJOyrPIetSllU6wcPwxUU20NTFD8JxLmBahhOSa"], ["created_at", "2021-08-31 19:38:04.833614"], ["updated_at", "2021-08-31 19:38:04.833614"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (1.1ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 7"], ["created_at", "2021-08-31 19:38:04.836045"], ["updated_at", "2021-08-31 19:38:04.836045"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 7"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 7"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:38:04.839186"], ["updated_at", "2021-08-31 19:38:04.839186"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:38:04 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.3ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:38:04.845852"], ["last_sign_in_at", "2021-08-31 19:38:04.845852"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:38:04.846034"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 8.8ms | Allocations: 9077)
+Completed 200 OK in 11ms (Views: 9.2ms | ActiveRecord: 0.2ms | Allocations: 9979)
+Started PUT "/admin/categories/1/posts/1/publish" for 127.0.0.1 at 2021-08-31 15:38:04 -0400
+Processing by Admin::PostsController#publish as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? AND "posts"."id" != ? LIMIT ?[0m [["title", "Post 7"], ["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Update (0.2ms)[0m [1m[33mUPDATE "posts" SET "status" = ?, "updated_at" = ? WHERE "posts"."id" = ?[0m [["status", "published"], ["updated_at", "2021-08-31 19:38:04.916514"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://127.0.0.1:50045/admin/categories/1/posts/1
+Completed 302 Found in 5ms (ActiveRecord: 1.4ms | Allocations: 2097)
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:38:04 -0400
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 8.3ms | Allocations: 8896)
+Completed 200 OK in 11ms (Views: 8.6ms | ActiveRecord: 0.3ms | Allocations: 10220)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.5ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "admin_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 = 'admin_users';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "categories"[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 = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[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 = 'posts';[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 transaction[0m
+ [1m[36mAdminUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ?[0m [["email", "user8@example.com"], ["LIMIT", 1]]
+ [1m[36mAdminUser Create (0.3ms)[0m [1m[32mINSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?)[0m [["email", "user8@example.com"], ["encrypted_password", "$2a$04$aMNJ13ydxryTxnjwX1AReueslpOLYnKC6XwJxZTnl0kupaqxZrqWG"], ["created_at", "2021-08-31 19:38:05.189887"], ["updated_at", "2021-08-31 19:38:05.189887"], ["super_admin", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCategory Create (0.3ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Category 8"], ["created_at", "2021-08-31 19:38:05.192165"], ["updated_at", "2021-08-31 19:38:05.192165"]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mPost Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ?[0m [["title", "Post 8"], ["LIMIT", 1]]
+ [1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Post 8"], ["body", "lorem ipsum"], ["status", "reviewed"], ["created_at", "2021-08-31 19:38:05.195151"], ["updated_at", "2021-08-31 19:38:05.195151"], ["category_id", 1]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:38:05 -0400
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mAdminUser Update (0.4ms)[0m [1m[33mUPDATE "admin_users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "updated_at" = ? WHERE "admin_users"."id" = ?[0m [["sign_in_count", 1], ["current_sign_in_at", "2021-08-31 19:38:05.201595"], ["last_sign_in_at", "2021-08-31 19:38:05.201595"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", "2021-08-31 19:38:05.201768"], ["id", 1]]
+ [1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
+Processing by Admin::PostsController#show as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPost Load (0.1ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ?[0m [["category_id", 1], ["id", 1], ["LIMIT", 1]]
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb
+ [1m[36mCACHE Category Load (0.0ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/show.html.arb (Duration: 9.3ms | Allocations: 9045)
+Completed 200 OK in 11ms (Views: 9.7ms | ActiveRecord: 0.2ms | Allocations: 9946)
+ [1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
+ [1m[35m (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 "active_admin_comments"[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "active_admin_comments"[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 = 'active_admin_comments';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "admin_users"[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "admin_users"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'admin_users';[0m
+Started PUT "/admin/categories/1/posts/1/archive" for 127.0.0.1 at 2021-08-31 15:38:05 -0400
+Processing by Admin::PostsController#archive as HTML
+ Parameters: {"category_id"=>"1", "id"=>"1"}
+ [1m[36mAdminUser Load (0.1ms)[0m [1m[34mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mTRUNCATE TABLE "categories"[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "categories"[0m
+Completed 401 Unauthorized in 1ms (ActiveRecord: 0.1ms | Allocations: 505)
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'categories';[0m
+ [1m[35m (0.2ms)[0m [1m[35mTRUNCATE TABLE "posts"[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "posts"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'posts';[0m
+ [1m[35m (0.7ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
+ [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
+Started GET "/admin/login" for 127.0.0.1 at 2021-08-31 15:38:05 -0400
+Processing by ActiveAdmin::Devise::SessionsController#new as HTML
+ Rendering layout /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/layouts/active_admin_logged_out.html.erb
+ Rendering /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/shared/_links.erb (Duration: 0.2ms | Allocations: 81)
+ Rendered /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out (Duration: 2.6ms | Allocations: 2119)
+ Rendered layout /Users/matthew.brewers/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activeadmin-2.9.0/app/views/layouts/active_admin_logged_out.html.erb (Duration: 4.4ms | Allocations: 4210)
+Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms | Allocations: 4778)