(2.8ms) SELECT sqlite_version(*)  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.1ms) PRAGMA foreign_keys = OFF  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (2.3ms) SELECT sqlite_version(*)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.5ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user1@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 1"], ["created_at", "2021-08-31 18:37:08.974512"], ["updated_at", "2021-08-31 18:37:08.974512"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 1"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (0.9ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (0.8ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.8ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.7ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user2@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 2"], ["created_at", "2021-08-31 18:37:09.039815"], ["updated_at", "2021-08-31 18:37:09.039815"]] TRANSACTION (1.0ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 2"], ["LIMIT", 1]] Post Create (0.2ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.6ms) commit transaction  (0.0ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.1ms) TRUNCATE TABLE "active_admin_comments"  (0.8ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (3.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (14.3ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.1ms) TRUNCATE TABLE "active_admin_comments"  (0.8ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.8ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user3@example.com"], ["LIMIT", 1]] AdminUser Create (0.6ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 3"], ["created_at", "2021-08-31 18:37:09.086366"], ["updated_at", "2021-08-31 18:37:09.086366"]] TRANSACTION (0.6ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 3"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (0.9ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user4@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 4"], ["created_at", "2021-08-31 18:37:09.113082"], ["updated_at", "2021-08-31 18:37:09.113082"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 4"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (6.8ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user5@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.5ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 5"], ["created_at", "2021-08-31 18:37:09.145240"], ["updated_at", "2021-08-31 18:37:09.145240"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 5"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (0.9ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.8ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.2ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user6@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 6"], ["created_at", "2021-08-31 18:37:09.174407"], ["updated_at", "2021-08-31 18:37:09.174407"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 6"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (17.4ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (4.5ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.3ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user7@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 7"], ["created_at", "2021-08-31 18:37:09.222870"], ["updated_at", "2021-08-31 18:37:09.222870"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 7"], ["LIMIT", 1]] TRANSACTION (0.1ms) rollback transaction  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.1ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.2ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user8@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 8"], ["created_at", "2021-08-31 18:37:09.250160"], ["updated_at", "2021-08-31 18:37:09.250160"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 8"], ["LIMIT", 1]] TRANSACTION (0.0ms) rollback transaction  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.9ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (26.3ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.3ms) TRUNCATE TABLE "posts"  (1.2ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (2.6ms) SELECT sqlite_version(*)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (2.8ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (2.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.5ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.4ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user1@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 1"], ["created_at", "2021-08-31 18:42:49.553890"], ["updated_at", "2021-08-31 18:42:49.553890"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 1"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 14:42:49 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.7ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.1ms) TRUNCATE TABLE "active_admin_comments"  (0.9ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user2@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 2"], ["created_at", "2021-08-31 18:42:49.730120"], ["updated_at", "2021-08-31 18:42:49.730120"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 2"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (1.0ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 14:42:49 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.9ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.8ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.7ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user3@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 3"], ["created_at", "2021-08-31 18:42:49.767508"], ["updated_at", "2021-08-31 18:42:49.767508"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 3"], ["LIMIT", 1]] TRANSACTION (0.0ms) rollback transaction  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.1ms) TRUNCATE TABLE "active_admin_comments"  (0.9ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user4@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.1ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 4"], ["created_at", "2021-08-31 18:42:49.794955"], ["updated_at", "2021-08-31 18:42:49.794955"]] TRANSACTION (1.1ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 4"], ["LIMIT", 1]] TRANSACTION (0.0ms) rollback transaction  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.3ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user5@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 5"], ["created_at", "2021-08-31 18:42:49.823346"], ["updated_at", "2021-08-31 18:42:49.823346"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 5"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.1ms) TRUNCATE TABLE "active_admin_comments"  (0.9ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.8ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.1ms) PRAGMA foreign_keys = OFF  (0.1ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (1.4ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.4ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user6@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.1ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 6"], ["created_at", "2021-08-31 18:42:50.045618"], ["updated_at", "2021-08-31 18:42:50.045618"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 6"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.1ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (3.4ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.4ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.2ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (3.7ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.2ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user7@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (1.0ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 7"], ["created_at", "2021-08-31 18:42:50.087544"], ["updated_at", "2021-08-31 18:42:50.087544"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (1.2ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 7"], ["LIMIT", 1]] Post Create (0.4ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.1ms) PRAGMA foreign_keys = OFF  (0.3ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.7ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.9ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.8ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.7ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (1.1ms) TRUNCATE TABLE "admin_users"  (1.3ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (1.1ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user8@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.1ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 8"], ["created_at", "2021-08-31 18:42:50.137819"], ["updated_at", "2021-08-31 18:42:50.137819"]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.2ms) begin transaction Post Exists? (0.3ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 8"], ["LIMIT", 1]] Post Create (0.4ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (1.2ms) commit transaction  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.5ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.9ms) TRUNCATE TABLE "categories"  (1.2ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.3ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (2.0ms) SELECT sqlite_version(*)  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.7ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user1@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 1"], ["created_at", "2021-08-31 18:43:10.825202"], ["updated_at", "2021-08-31 18:43:10.825202"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 1"], ["LIMIT", 1]] TRANSACTION (0.0ms) rollback transaction  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.1ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user2@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 2"], ["created_at", "2021-08-31 18:43:10.887833"], ["updated_at", "2021-08-31 18:43:10.887833"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 2"], ["LIMIT", 1]] TRANSACTION (0.1ms) rollback transaction  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (0.9ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user3@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 3"], ["created_at", "2021-08-31 18:43:10.913438"], ["updated_at", "2021-08-31 18:43:10.913438"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 3"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction  (0.4ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.2ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (0.8ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user4@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.6ms) commit transaction TRANSACTION (0.1ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 4"], ["created_at", "2021-08-31 18:43:12.295965"], ["updated_at", "2021-08-31 18:43:12.295965"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 4"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.6ms) commit transaction  (0.2ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (1.1ms) TRUNCATE TABLE "active_admin_comments"  (1.7ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.7ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.7ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.6ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.3ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.8ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.3ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user5@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 5"], ["created_at", "2021-08-31 18:43:12.824352"], ["updated_at", "2021-08-31 18:43:12.824352"]] TRANSACTION (0.6ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 5"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction  (0.2ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.5ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.9ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (1.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.3ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.7ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user6@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 6"], ["created_at", "2021-08-31 18:43:13.409733"], ["updated_at", "2021-08-31 18:43:13.409733"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 6"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.6ms) commit transaction  (0.3ms) PRAGMA foreign_keys  (1.8ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.1ms) PRAGMA foreign_keys = OFF  (0.3ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (1.1ms) TRUNCATE TABLE "admin_users"  (1.2ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.8ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (1.0ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (1.6ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.7ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.9ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user7@example.com"], ["LIMIT", 1]] AdminUser Create (0.5ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.1ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 7"], ["created_at", "2021-08-31 18:43:13.960023"], ["updated_at", "2021-08-31 18:43:13.960023"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 7"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 14:43:13 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.6ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.1ms) TRUNCATE TABLE "active_admin_comments"  (0.7ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.7ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.7ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.6ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.1ms) TRUNCATE TABLE "active_admin_comments"  (0.8ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.8ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.7ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.6ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user8@example.com"], ["LIMIT", 1]] AdminUser Create (0.5ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 8"], ["created_at", "2021-08-31 18:43:14.127644"], ["updated_at", "2021-08-31 18:43:14.127644"]] TRANSACTION (0.5ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 8"], ["LIMIT", 1]] Post Create (0.2ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.6ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 14:43:14 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.2ms) UPDATE "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" = ? [["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]] TRANSACTION (0.6ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.8ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.6ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.7ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (2.3ms) SELECT sqlite_version(*)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.5ms) TRUNCATE TABLE "active_admin_comments"  (2.0ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.3ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user1@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 1"], ["created_at", "2021-08-31 18:44:46.917843"], ["updated_at", "2021-08-31 18:44:46.917843"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 1"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction  (0.7ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.4ms) TRUNCATE TABLE "active_admin_comments"  (2.6ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.6ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.3ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (0.7ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.7ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.6ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user2@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 2"], ["created_at", "2021-08-31 18:44:47.968371"], ["updated_at", "2021-08-31 18:44:47.968371"]] TRANSACTION (0.6ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 2"], ["LIMIT", 1]] Post Create (0.9ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction  (0.4ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (1.0ms) TRUNCATE TABLE "active_admin_comments"  (1.6ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.3ms) TRUNCATE TABLE "admin_users"  (1.2ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (1.0ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.7ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.8ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (0.8ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.8ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.8ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (2.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user3@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.6ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.2ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 3"], ["created_at", "2021-08-31 18:44:48.548238"], ["updated_at", "2021-08-31 18:44:48.548238"]] TRANSACTION (0.6ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 3"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction  (0.3ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.3ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.9ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.7ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.7ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user4@example.com"], ["LIMIT", 1]] AdminUser Create (0.5ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 4"], ["created_at", "2021-08-31 18:44:49.049257"], ["updated_at", "2021-08-31 18:44:49.049257"]] TRANSACTION (1.0ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 4"], ["LIMIT", 1]] Post Create (0.4ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction  (0.4ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.8ms) TRUNCATE TABLE "active_admin_comments"  (1.6ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.8ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.7ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.3ms) TRUNCATE TABLE "active_admin_comments"  (0.9ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (1.1ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user5@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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"]] TRANSACTION (0.6ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.2ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 5"], ["created_at", "2021-08-31 18:44:49.549695"], ["updated_at", "2021-08-31 18:44:49.549695"]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 5"], ["LIMIT", 1]] TRANSACTION (0.0ms) rollback transaction  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.3ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.4ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.5ms) TRUNCATE TABLE "categories"  (1.2ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.2ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.4ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user6@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 6"], ["created_at", "2021-08-31 18:44:49.579896"], ["updated_at", "2021-08-31 18:44:49.579896"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 6"], ["LIMIT", 1]] TRANSACTION (0.0ms) rollback transaction  (0.1ms) PRAGMA foreign_keys  (0.5ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (2.1ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.8ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.8ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (1.0ms) TRUNCATE TABLE "categories"  (1.2ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.4ms) TRUNCATE TABLE "posts"  (1.2ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user7@example.com"], ["LIMIT", 1]] AdminUser Create (0.5ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 7"], ["created_at", "2021-08-31 18:44:49.615732"], ["updated_at", "2021-08-31 18:44:49.615732"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 7"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 14:44:49 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.6ms) commit transaction TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction AdminUser Update (1.0ms) UPDATE "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" = ? [["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]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.1ms) TRUNCATE TABLE "active_admin_comments"  (0.9ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.1ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (1.0ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (2.0ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.1ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user8@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.8ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 8"], ["created_at", "2021-08-31 18:44:49.999627"], ["updated_at", "2021-08-31 18:44:49.999627"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 8"], ["LIMIT", 1]] Post Create (0.2ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 14:44:50 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.7ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.7ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.8ms) TRUNCATE TABLE "active_admin_comments"  (0.8ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.7ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.7ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (2.4ms) SELECT sqlite_version(*)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.6ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user1@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 1"], ["created_at", "2021-08-31 18:45:40.078681"], ["updated_at", "2021-08-31 18:45:40.078681"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 1"], ["LIMIT", 1]] TRANSACTION (0.0ms) rollback transaction  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.1ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user2@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 2"], ["created_at", "2021-08-31 18:45:40.161870"], ["updated_at", "2021-08-31 18:45:40.161870"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 2"], ["LIMIT", 1]] TRANSACTION (0.1ms) rollback transaction  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.3ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.1ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.2ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user3@example.com"], ["LIMIT", 1]] AdminUser Create (0.5ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 3"], ["created_at", "2021-08-31 18:45:40.191597"], ["updated_at", "2021-08-31 18:45:40.191597"]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 3"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (1.0ms) commit transaction  (0.3ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.3ms) DELETE FROM "posts"  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user4@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 4"], ["created_at", "2021-08-31 18:45:41.068188"], ["updated_at", "2021-08-31 18:45:41.068188"]] TRANSACTION (0.6ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 4"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction  (0.2ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (0.9ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (0.9ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user5@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.6ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 5"], ["created_at", "2021-08-31 18:45:41.637237"], ["updated_at", "2021-08-31 18:45:41.637237"]] TRANSACTION (0.6ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 5"], ["LIMIT", 1]] Post Create (0.2ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.6ms) commit transaction  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.1ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.8ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (0.9ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user6@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.6ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 6"], ["created_at", "2021-08-31 18:45:42.138377"], ["updated_at", "2021-08-31 18:45:42.138377"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 6"], ["LIMIT", 1]] Post Create (0.2ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction  (0.2ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.2ms) PRAGMA defer_foreign_keys = ON  (0.1ms) PRAGMA foreign_keys = OFF  (0.4ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.3ms) TRUNCATE TABLE "admin_users"  (0.8ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (0.9ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.3ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.3ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.4ms) TRUNCATE TABLE "posts"  (1.2ms) DELETE FROM "posts"  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user7@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.6ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 7"], ["created_at", "2021-08-31 18:45:42.628793"], ["updated_at", "2021-08-31 18:45:42.628793"]] TRANSACTION (0.6ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 7"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 14:45:42 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.6ms) commit transaction TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.6ms) commit transaction TRANSACTION (0.0ms) begin transaction AdminUser Update (0.2ms) UPDATE "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" = ? [["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]] TRANSACTION (0.6ms) commit transaction TRANSACTION (0.0ms) begin transaction AdminUser Update (0.2ms) UPDATE "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" = ? [["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]] TRANSACTION (0.7ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.7ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.1ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (0.9ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.2ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.4ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.1ms) PRAGMA foreign_keys = 1  (0.4ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.4ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user8@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 8"], ["created_at", "2021-08-31 18:45:43.008239"], ["updated_at", "2021-08-31 18:45:43.008239"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 8"], ["LIMIT", 1]] Post Create (0.4ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 14:45:43 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.7ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.1ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (0.8ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.8ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.9ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.8ms) TRUNCATE TABLE "posts"  (0.7ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (1.7ms) SELECT sqlite_version(*)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.9ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user1@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 1"], ["created_at", "2021-08-31 18:46:00.528543"], ["updated_at", "2021-08-31 18:46:00.528543"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 1"], ["LIMIT", 1]] TRANSACTION (0.0ms) rollback transaction  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.1ms) TRUNCATE TABLE "active_admin_comments"  (0.9ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (0.9ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.2ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user2@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 2"], ["created_at", "2021-08-31 18:46:00.592539"], ["updated_at", "2021-08-31 18:46:00.592539"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 2"], ["LIMIT", 1]] TRANSACTION (0.0ms) rollback transaction  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (19.3ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.2ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user3@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 3"], ["created_at", "2021-08-31 18:46:00.638700"], ["updated_at", "2021-08-31 18:46:00.638700"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 3"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction  (0.5ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.8ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.1ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.3ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.9ms) TRUNCATE TABLE "posts"  (1.2ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user4@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 4"], ["created_at", "2021-08-31 18:46:01.455719"], ["updated_at", "2021-08-31 18:46:01.455719"]] TRANSACTION (0.5ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 4"], ["LIMIT", 1]] Post Create (0.2ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.6ms) commit transaction  (0.5ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.8ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.7ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.7ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (0.9ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.7ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.7ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user5@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.5ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.2ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 5"], ["created_at", "2021-08-31 18:46:01.944900"], ["updated_at", "2021-08-31 18:46:01.944900"]] TRANSACTION (0.6ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 5"], ["LIMIT", 1]] Post Create (0.2ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction  (0.9ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.1ms) PRAGMA foreign_keys = OFF  (0.5ms) TRUNCATE TABLE "active_admin_comments"  (1.3ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.3ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.5ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user6@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.3ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 6"], ["created_at", "2021-08-31 18:46:02.471901"], ["updated_at", "2021-08-31 18:46:02.471901"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 6"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction  (0.6ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.6ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.3ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.8ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.1ms) TRUNCATE TABLE "active_admin_comments"  (0.9ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.4ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.3ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user7@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.6ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 7"], ["created_at", "2021-08-31 18:46:03.046412"], ["updated_at", "2021-08-31 18:46:03.046412"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 7"], ["LIMIT", 1]] Post Create (0.4ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 14:46:03 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.6ms) commit transaction TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.6ms) commit transaction TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.6ms) commit transaction TRANSACTION (0.0ms) begin transaction AdminUser Update (0.2ms) UPDATE "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" = ? [["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]] TRANSACTION (0.5ms) commit transaction TRANSACTION (0.0ms) begin transaction AdminUser Update (0.2ms) UPDATE "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" = ? [["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]] TRANSACTION (0.5ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.1ms) TRUNCATE TABLE "active_admin_comments"  (0.9ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.8ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.1ms) TRUNCATE TABLE "active_admin_comments"  (0.9ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.8ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (8.9ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user8@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (1.0ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 8"], ["created_at", "2021-08-31 18:46:03.591790"], ["updated_at", "2021-08-31 18:46:03.591790"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 8"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 14:46:03 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.7ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.1ms) TRUNCATE TABLE "active_admin_comments"  (0.9ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.8ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.7ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (1.7ms) SELECT sqlite_version(*)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.9ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user1@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.1ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 1"], ["created_at", "2021-08-31 18:49:21.166085"], ["updated_at", "2021-08-31 18:49:21.166085"]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 1"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 14:49:21 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.8ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user2@example.com"], ["LIMIT", 1]] AdminUser Create (0.5ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 2"], ["created_at", "2021-08-31 18:49:21.835459"], ["updated_at", "2021-08-31 18:49:21.835459"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 2"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 14:49:21 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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 AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (0.9ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.8ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user3@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.1ms) begin transaction Category Create (0.6ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 3"], ["created_at", "2021-08-31 18:49:21.926935"], ["updated_at", "2021-08-31 18:49:21.926935"]] TRANSACTION (1.0ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 3"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction  (0.7ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (0.9ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.8ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.3ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (0.9ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user4@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.5ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 4"], ["created_at", "2021-08-31 18:49:22.840956"], ["updated_at", "2021-08-31 18:49:22.840956"]] TRANSACTION (0.6ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 4"], ["LIMIT", 1]] Post Create (0.2ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.6ms) commit transaction  (0.6ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.1ms) PRAGMA foreign_keys = OFF  (0.3ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.4ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.7ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.2ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user5@example.com"], ["LIMIT", 1]] AdminUser Create (0.5ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (2.7ms) commit transaction TRANSACTION (0.1ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 5"], ["created_at", "2021-08-31 18:49:23.389670"], ["updated_at", "2021-08-31 18:49:23.389670"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 5"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction  (0.8ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.4ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.2ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.3ms) TRUNCATE TABLE "posts"  (1.3ms) DELETE FROM "posts"  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user6@example.com"], ["LIMIT", 1]] AdminUser Create (0.5ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.1ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 6"], ["created_at", "2021-08-31 18:49:23.930276"], ["updated_at", "2021-08-31 18:49:23.930276"]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 6"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction  (0.8ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (1.2ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.3ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.7ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.2ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.2ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user7@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.6ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 7"], ["created_at", "2021-08-31 18:49:24.411444"], ["updated_at", "2021-08-31 18:49:24.411444"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 7"], ["LIMIT", 1]] TRANSACTION (0.1ms) rollback transaction  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.1ms) TRUNCATE TABLE "active_admin_comments"  (0.8ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.8ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user8@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 8"], ["created_at", "2021-08-31 18:49:24.460583"], ["updated_at", "2021-08-31 18:49:24.460583"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 8"], ["LIMIT", 1]] TRANSACTION (0.0ms) rollback transaction  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.7ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.7ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (2.2ms) SELECT sqlite_version(*)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.6ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user1@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 1"], ["created_at", "2021-08-31 18:51:40.718621"], ["updated_at", "2021-08-31 18:51:40.718621"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 1"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 14:51:40 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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 AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.3ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (0.9ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.1ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user2@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 2"], ["created_at", "2021-08-31 18:51:41.114829"], ["updated_at", "2021-08-31 18:51:41.114829"]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 2"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 14:51:41 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.9ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.4ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.4ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user3@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (1.5ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 3"], ["created_at", "2021-08-31 18:51:41.167005"], ["updated_at", "2021-08-31 18:51:41.167005"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 3"], ["LIMIT", 1]] TRANSACTION (0.1ms) rollback transaction  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.4ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.7ms) TRUNCATE TABLE "admin_users"  (1.2ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.8ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.9ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user4@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.7ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 4"], ["created_at", "2021-08-31 18:51:41.202421"], ["updated_at", "2021-08-31 18:51:41.202421"]] TRANSACTION (1.0ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 4"], ["LIMIT", 1]] TRANSACTION (0.1ms) rollback transaction  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.7ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.7ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.3ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user5@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.1ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 5"], ["created_at", "2021-08-31 18:51:41.238653"], ["updated_at", "2021-08-31 18:51:41.238653"]] TRANSACTION (1.1ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 5"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction  (0.7ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.3ms) TRUNCATE TABLE "active_admin_comments"  (1.3ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.3ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.1ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.4ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user6@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.6ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 6"], ["created_at", "2021-08-31 18:51:42.214202"], ["updated_at", "2021-08-31 18:51:42.214202"]] TRANSACTION (0.5ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 6"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction  (0.6ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.2ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.3ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.3ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.3ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.4ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user7@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 7"], ["created_at", "2021-08-31 18:51:42.717951"], ["updated_at", "2021-08-31 18:51:42.717951"]] TRANSACTION (0.6ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 7"], ["LIMIT", 1]] Post Create (0.5ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction  (0.5ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.3ms) TRUNCATE TABLE "active_admin_comments"  (0.9ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.3ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (0.9ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.3ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user8@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 8"], ["created_at", "2021-08-31 18:51:43.201622"], ["updated_at", "2021-08-31 18:51:43.201622"]] TRANSACTION (0.6ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 8"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.6ms) commit transaction  (0.7ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.3ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.7ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (2.7ms) SELECT sqlite_version(*)  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.3ms) TRUNCATE TABLE "active_admin_comments"  (2.6ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.3ms) TRUNCATE TABLE "admin_users"  (2.0ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.5ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user1@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 1"], ["created_at", "2021-08-31 19:05:50.287555"], ["updated_at", "2021-08-31 19:05:50.287555"]] TRANSACTION (1.3ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 1"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:05:50 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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 AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (0.9ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user2@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 2"], ["created_at", "2021-08-31 19:05:50.795607"], ["updated_at", "2021-08-31 19:05:50.795607"]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 2"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:05:50 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.9ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.1ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.9ms) TRUNCATE TABLE "posts"  (1.3ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user3@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 3"], ["created_at", "2021-08-31 19:05:50.847451"], ["updated_at", "2021-08-31 19:05:50.847451"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 3"], ["LIMIT", 1]] Post Create (0.4ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction  (0.6ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.2ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.7ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (0.9ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.3ms) TRUNCATE TABLE "categories"  (0.7ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.3ms) TRUNCATE TABLE "posts"  (0.7ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user4@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 4"], ["created_at", "2021-08-31 19:06:11.515945"], ["updated_at", "2021-08-31 19:06:11.515945"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 4"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction  (0.8ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.3ms) TRUNCATE TABLE "active_admin_comments"  (1.3ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.7ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (2.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.3ms) TRUNCATE TABLE "categories"  (44.1ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (0.9ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.8ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user5@example.com"], ["LIMIT", 1]] AdminUser Create (20.9ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.6ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 5"], ["created_at", "2021-08-31 19:06:31.847109"], ["updated_at", "2021-08-31 19:06:31.847109"]] TRANSACTION (1.0ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 5"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction  (2.5ms) SELECT sqlite_version(*)  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.3ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.2ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user1@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 1"], ["created_at", "2021-08-31 19:06:52.386616"], ["updated_at", "2021-08-31 19:06:52.386616"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 1"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:06:52 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.2ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user2@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 2"], ["created_at", "2021-08-31 19:06:52.791977"], ["updated_at", "2021-08-31 19:06:52.791977"]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 2"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:06:52 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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 AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.2ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.1ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.2ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user3@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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"]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 3"], ["created_at", "2021-08-31 19:06:52.854954"], ["updated_at", "2021-08-31 19:06:52.854954"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 3"], ["LIMIT", 1]] TRANSACTION (0.0ms) rollback transaction  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.3ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user4@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 4"], ["created_at", "2021-08-31 19:06:52.883239"], ["updated_at", "2021-08-31 19:06:52.883239"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 4"], ["LIMIT", 1]] TRANSACTION (0.0ms) rollback transaction  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.1ms) PRAGMA foreign_keys = OFF  (0.6ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.2ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.3ms) TRUNCATE TABLE "categories"  (1.4ms) DELETE FROM "categories"  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.6ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.2ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.1ms) PRAGMA foreign_keys = 1  (0.2ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.1ms) PRAGMA foreign_keys = OFF  (0.3ms) TRUNCATE TABLE "active_admin_comments"  (1.3ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (1.2ms) TRUNCATE TABLE "admin_users"  (1.4ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.3ms) DELETE FROM "categories"  (1.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.6ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user5@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.1ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 5"], ["created_at", "2021-08-31 19:06:52.925864"], ["updated_at", "2021-08-31 19:06:52.925864"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 5"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:06:58 -0400  (0.1ms) SELECT sqlite_version(*) TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.7ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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  (0.3ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.3ms) TRUNCATE TABLE "active_admin_comments"  (3.3ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.4ms) TRUNCATE TABLE "admin_users"  (1.2ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.6ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.6ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user6@example.com"], ["LIMIT", 1]] AdminUser Create (1.1ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 6"], ["created_at", "2021-08-31 19:06:59.457746"], ["updated_at", "2021-08-31 19:06:59.457746"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 6"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:06:59 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.8ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user7@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 7"], ["created_at", "2021-08-31 19:06:59.755296"], ["updated_at", "2021-08-31 19:06:59.755296"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 7"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:06:59 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (1.4ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.2ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.1ms) PRAGMA foreign_keys = OFF  (0.3ms) TRUNCATE TABLE "active_admin_comments"  (5.7ms) DELETE FROM "active_admin_comments"  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.3ms) TRUNCATE TABLE "admin_users"  (2.9ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (2.2ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.2ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user8@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (1.1ms) commit transaction TRANSACTION (0.1ms) begin transaction Category Create (1.0ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 8"], ["created_at", "2021-08-31 19:07:00.073156"], ["updated_at", "2021-08-31 19:07:00.073156"]] TRANSACTION (1.0ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 8"], ["LIMIT", 1]] Post Create (0.4ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (1.0ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:07:00 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.3ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.3ms) TRUNCATE TABLE "posts"  (1.2ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (2.1ms) SELECT sqlite_version(*)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.3ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.2ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user1@example.com"], ["LIMIT", 1]] AdminUser Create (0.5ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.1ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 1"], ["created_at", "2021-08-31 19:08:00.232464"], ["updated_at", "2021-08-31 19:08:00.232464"]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 1"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:08:00 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.7ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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 AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.5ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user2@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 2"], ["created_at", "2021-08-31 19:08:00.645884"], ["updated_at", "2021-08-31 19:08:00.645884"]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 2"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:08:00 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.9ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user3@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 3"], ["created_at", "2021-08-31 19:08:00.716747"], ["updated_at", "2021-08-31 19:08:00.716747"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.9ms) begin transaction Post Exists? (0.3ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 3"], ["LIMIT", 1]] TRANSACTION (0.1ms) rollback transaction  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.3ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (1.2ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (2.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.9ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.2ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (1.1ms) TRUNCATE TABLE "posts"  (1.3ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user4@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 4"], ["created_at", "2021-08-31 19:08:00.752988"], ["updated_at", "2021-08-31 19:08:00.752988"]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 4"], ["LIMIT", 1]] TRANSACTION (0.0ms) rollback transaction  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.4ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.2ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.9ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user5@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (1.3ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 5"], ["created_at", "2021-08-31 19:08:00.790751"], ["updated_at", "2021-08-31 19:08:00.790751"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 5"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:08:01 -0400  (0.1ms) SELECT sqlite_version(*) TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.6ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.3ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user6@example.com"], ["LIMIT", 1]] AdminUser Create (0.5ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (1.0ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 6"], ["created_at", "2021-08-31 19:08:07.389413"], ["updated_at", "2021-08-31 19:08:07.389413"]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 6"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:08:07 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (1.0ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user7@example.com"], ["LIMIT", 1]] AdminUser Create (0.5ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 7"], ["created_at", "2021-08-31 19:08:07.654041"], ["updated_at", "2021-08-31 19:08:07.654041"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 7"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:08:07 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.2ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user8@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 8"], ["created_at", "2021-08-31 19:08:07.914501"], ["updated_at", "2021-08-31 19:08:07.914501"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 8"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:08:07 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.9ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (2.0ms) SELECT sqlite_version(*)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.6ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.2ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.4ms) DELETE FROM "categories"  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.2ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user1@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.1ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 1"], ["created_at", "2021-08-31 19:09:20.438992"], ["updated_at", "2021-08-31 19:09:20.438992"]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 1"], ["LIMIT", 1]] TRANSACTION (0.0ms) rollback transaction  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user2@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 2"], ["created_at", "2021-08-31 19:09:20.506610"], ["updated_at", "2021-08-31 19:09:20.506610"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 2"], ["LIMIT", 1]] TRANSACTION (0.0ms) rollback transaction  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.2ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user3@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (1.2ms) commit transaction TRANSACTION (0.1ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 3"], ["created_at", "2021-08-31 19:09:20.534433"], ["updated_at", "2021-08-31 19:09:20.534433"]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 3"], ["LIMIT", 1]] Post Create (0.5ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (1.0ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:09:20 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.3ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user4@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 4"], ["created_at", "2021-08-31 19:09:20.814440"], ["updated_at", "2021-08-31 19:09:20.814440"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 4"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:09:20 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.7ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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 AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.7ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user5@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 5"], ["created_at", "2021-08-31 19:09:20.887726"], ["updated_at", "2021-08-31 19:09:20.887726"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 5"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:09:22 -0400  (0.1ms) SELECT sqlite_version(*) TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.6ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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  (0.2ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user6@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (1.0ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 6"], ["created_at", "2021-08-31 19:09:27.433224"], ["updated_at", "2021-08-31 19:09:27.433224"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 6"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:09:27 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.1ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user7@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 7"], ["created_at", "2021-08-31 19:09:27.680761"], ["updated_at", "2021-08-31 19:09:27.680761"]] TRANSACTION (1.0ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 7"], ["LIMIT", 1]] Post Create (0.4ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:09:27 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.7ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.9ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.3ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.9ms) TRUNCATE TABLE "posts"  (1.3ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user8@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 8"], ["created_at", "2021-08-31 19:09:27.961855"], ["updated_at", "2021-08-31 19:09:27.961855"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 8"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:09:27 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.5ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (2.5ms) SELECT sqlite_version(*)  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.7ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.3ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.2ms) DELETE FROM "posts"  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user1@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 1"], ["created_at", "2021-08-31 19:09:55.545502"], ["updated_at", "2021-08-31 19:09:55.545502"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 1"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:09:56 -0400  (0.1ms) SELECT sqlite_version(*) TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.7ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user2@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 2"], ["created_at", "2021-08-31 19:10:02.361210"], ["updated_at", "2021-08-31 19:10:02.361210"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 2"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:10:02 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.9ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.3ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user3@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 3"], ["created_at", "2021-08-31 19:10:02.626295"], ["updated_at", "2021-08-31 19:10:02.626295"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 3"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:10:02 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.9ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user4@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 4"], ["created_at", "2021-08-31 19:10:02.893259"], ["updated_at", "2021-08-31 19:10:02.893259"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 4"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:10:02 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.7ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.7ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user5@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 5"], ["created_at", "2021-08-31 19:10:03.318810"], ["updated_at", "2021-08-31 19:10:03.318810"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 5"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:10:03 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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 AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.1ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user6@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (1.0ms) commit transaction TRANSACTION (0.1ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 6"], ["created_at", "2021-08-31 19:10:03.383406"], ["updated_at", "2021-08-31 19:10:03.383406"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 6"], ["LIMIT", 1]] Post Create (0.4ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:10:03 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user7@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 7"], ["created_at", "2021-08-31 19:10:03.432229"], ["updated_at", "2021-08-31 19:10:03.432229"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 7"], ["LIMIT", 1]] TRANSACTION (0.0ms) rollback transaction  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (0.9ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user8@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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"]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 8"], ["created_at", "2021-08-31 19:10:03.458165"], ["updated_at", "2021-08-31 19:10:03.458165"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 8"], ["LIMIT", 1]] TRANSACTION (0.0ms) rollback transaction  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.1ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.2ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.4ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (2.2ms) SELECT sqlite_version(*)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.5ms) TRUNCATE TABLE "active_admin_comments"  (2.0ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.2ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.2ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.2ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user1@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 1"], ["created_at", "2021-08-31 19:12:01.254680"], ["updated_at", "2021-08-31 19:12:01.254680"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 1"], ["LIMIT", 1]] TRANSACTION (0.0ms) rollback transaction  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.6ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.4ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.2ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.4ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.7ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user2@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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"]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 2"], ["created_at", "2021-08-31 19:12:01.331428"], ["updated_at", "2021-08-31 19:12:01.331428"]] TRANSACTION (1.4ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 2"], ["LIMIT", 1]] TRANSACTION (0.0ms) rollback transaction  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.5ms) DELETE FROM "active_admin_comments"  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.9ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.8ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.6ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.7ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.2ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.8ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.3ms) TRUNCATE TABLE "posts"  (1.3ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user3@example.com"], ["LIMIT", 1]] AdminUser Create (1.2ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 3"], ["created_at", "2021-08-31 19:12:01.370699"], ["updated_at", "2021-08-31 19:12:01.370699"]] TRANSACTION (1.0ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 3"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:12:02 -0400  (0.1ms) SELECT sqlite_version(*) TRANSACTION (0.0ms) begin transaction AdminUser Update (0.5ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user4@example.com"], ["LIMIT", 1]] AdminUser Create (0.5ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 4"], ["created_at", "2021-08-31 19:12:08.434727"], ["updated_at", "2021-08-31 19:12:08.434727"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 4"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:12:08 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.7ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.3ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.1ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.3ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.4ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.3ms) TRUNCATE TABLE "categories"  (1.2ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.2ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user5@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 5"], ["created_at", "2021-08-31 19:12:08.705398"], ["updated_at", "2021-08-31 19:12:08.705398"]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 5"], ["LIMIT", 1]] Post Create (0.4ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:12:08 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user6@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 6"], ["created_at", "2021-08-31 19:12:09.015653"], ["updated_at", "2021-08-31 19:12:09.015653"]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 6"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:12:09 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.9ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.3ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.4ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.2ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.3ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.2ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user7@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 7"], ["created_at", "2021-08-31 19:12:09.278883"], ["updated_at", "2021-08-31 19:12:09.278883"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 7"], ["LIMIT", 1]] Post Create (0.4ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:12:09 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.9ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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 AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.8ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user8@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 8"], ["created_at", "2021-08-31 19:12:09.346280"], ["updated_at", "2021-08-31 19:12:09.346280"]] TRANSACTION (0.6ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 8"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.6ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:12:09 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.7ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (2.5ms) SELECT sqlite_version(*)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.6ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user1@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 1"], ["created_at", "2021-08-31 19:12:51.651995"], ["updated_at", "2021-08-31 19:12:51.651995"]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 1"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:12:52 -0400  (0.1ms) SELECT sqlite_version(*) TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["category_id", 1], ["id", 1], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? AND "posts"."id" != ? LIMIT ? [["title", "Post 1"], ["id", 1], ["LIMIT", 1]] Post Update (0.3ms) UPDATE "posts" SET "status" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["status", "published"], ["updated_at", "2021-08-31 19:12:58.280928"], ["id", 1]] TRANSACTION (0.9ms) commit transaction 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"} AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.8ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.3ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user2@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 2"], ["created_at", "2021-08-31 19:12:58.692133"], ["updated_at", "2021-08-31 19:12:58.692133"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 2"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (1.0ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:12:58 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user3@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.1ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 3"], ["created_at", "2021-08-31 19:12:58.964753"], ["updated_at", "2021-08-31 19:12:58.964753"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 3"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:12:58 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.3ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.2ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user4@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 4"], ["created_at", "2021-08-31 19:12:59.207651"], ["updated_at", "2021-08-31 19:12:59.207651"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 4"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:12:59 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.1ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.2ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user5@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.1ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 5"], ["created_at", "2021-08-31 19:12:59.451828"], ["updated_at", "2021-08-31 19:12:59.451828"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 5"], ["LIMIT", 1]] TRANSACTION (0.1ms) rollback transaction  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (0.9ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.2ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user6@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 6"], ["created_at", "2021-08-31 19:12:59.481297"], ["updated_at", "2021-08-31 19:12:59.481297"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 6"], ["LIMIT", 1]] TRANSACTION (0.0ms) rollback transaction  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.3ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.2ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.3ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user7@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 7"], ["created_at", "2021-08-31 19:12:59.511278"], ["updated_at", "2021-08-31 19:12:59.511278"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 7"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (1.0ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:12:59 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.3ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.1ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user8@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 8"], ["created_at", "2021-08-31 19:12:59.561568"], ["updated_at", "2021-08-31 19:12:59.561568"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 8"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:12:59 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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 AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (2.5ms) SELECT sqlite_version(*)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.5ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user1@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 1"], ["created_at", "2021-08-31 19:14:36.820896"], ["updated_at", "2021-08-31 19:14:36.820896"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 1"], ["LIMIT", 1]] TRANSACTION (0.0ms) rollback transaction  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.1ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.7ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.8ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.5ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user2@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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"]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 2"], ["created_at", "2021-08-31 19:14:36.893768"], ["updated_at", "2021-08-31 19:14:36.893768"]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 2"], ["LIMIT", 1]] TRANSACTION (0.0ms) rollback transaction  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.1ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.3ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.8ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.5ms) DELETE FROM "active_admin_comments"  (1.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.2ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.9ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (1.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user3@example.com"], ["LIMIT", 1]] AdminUser Create (0.5ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (1.0ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 3"], ["created_at", "2021-08-31 19:14:36.933950"], ["updated_at", "2021-08-31 19:14:36.933950"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 3"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:14:36 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.1ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.4ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.4ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.2ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.1ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user4@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.1ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 4"], ["created_at", "2021-08-31 19:14:37.344214"], ["updated_at", "2021-08-31 19:14:37.344214"]] TRANSACTION (1.0ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.3ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 4"], ["LIMIT", 1]] Post Create (0.4ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:14:37 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (1.0ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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 AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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)  (0.2ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.1ms) PRAGMA foreign_keys = OFF  (0.3ms) TRUNCATE TABLE "active_admin_comments"  (1.3ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.2ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.6ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.3ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.2ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user5@example.com"], ["LIMIT", 1]] AdminUser Create (0.5ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.1ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 5"], ["created_at", "2021-08-31 19:14:37.436606"], ["updated_at", "2021-08-31 19:14:37.436606"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 5"], ["LIMIT", 1]] Post Create (0.4ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:14:38 -0400  (0.1ms) SELECT sqlite_version(*) TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.9ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.1ms) PRAGMA foreign_keys = 1 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"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.1ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user6@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 6"], ["created_at", "2021-08-31 19:14:44.210927"], ["updated_at", "2021-08-31 19:14:44.210927"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 6"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:14:44 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.9ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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"} AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["category_id", 1], ["id", 1], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? AND "posts"."id" != ? LIMIT ? [["title", "Post 6"], ["id", 1], ["LIMIT", 1]] Post Update (0.3ms) UPDATE "posts" SET "status" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["status", "published"], ["updated_at", "2021-08-31 19:14:44.307847"], ["id", 1]] TRANSACTION (1.2ms) commit transaction 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"} AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.1ms) TRUNCATE TABLE "active_admin_comments"  (1.5ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.2ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user7@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 7"], ["created_at", "2021-08-31 19:14:44.617107"], ["updated_at", "2021-08-31 19:14:44.617107"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 7"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:14:44 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (1.1ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (3.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user8@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 8"], ["created_at", "2021-08-31 19:14:44.910682"], ["updated_at", "2021-08-31 19:14:44.910682"]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 8"], ["LIMIT", 1]] Post Create (0.4ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:14:44 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.7ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'categories'; 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"} AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.2ms) TRUNCATE TABLE "posts"  (0.7ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 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)  (2.1ms) SELECT sqlite_version(*)  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.3ms) TRUNCATE TABLE "active_admin_comments"  (1.4ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.2ms) DELETE FROM "admin_users"  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user1@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 1"], ["created_at", "2021-08-31 19:15:25.274645"], ["updated_at", "2021-08-31 19:15:25.274645"]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 1"], ["LIMIT", 1]] TRANSACTION (0.0ms) rollback transaction  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.1ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user2@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 2"], ["created_at", "2021-08-31 19:15:25.339842"], ["updated_at", "2021-08-31 19:15:25.339842"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 2"], ["LIMIT", 1]] TRANSACTION (0.0ms) rollback transaction  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (12.7ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.3ms) TRUNCATE TABLE "admin_users"  (1.2ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.2ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.3ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.1ms) PRAGMA foreign_keys = OFF  (0.3ms) TRUNCATE TABLE "active_admin_comments"  (7.2ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.3ms) TRUNCATE TABLE "admin_users"  (1.4ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.2ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.2ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user3@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (1.0ms) commit transaction TRANSACTION (0.1ms) begin transaction Category Create (0.6ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 3"], ["created_at", "2021-08-31 19:15:25.389374"], ["updated_at", "2021-08-31 19:15:25.389374"]] TRANSACTION (1.3ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 3"], ["LIMIT", 1]] Post Create (0.4ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (1.7ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:15:25 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.5ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.6ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.5ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (1.0ms) TRUNCATE TABLE "posts"  (1.2ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user4@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 4"], ["created_at", "2021-08-31 19:15:25.764172"], ["updated_at", "2021-08-31 19:15:25.764172"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 4"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:15:25 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.9ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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 AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.8ms) TRUNCATE TABLE "active_admin_comments"  (1.5ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.8ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (22.8ms) PRAGMA defer_foreign_keys = ON  (0.1ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user5@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 5"], ["created_at", "2021-08-31 19:15:25.877786"], ["updated_at", "2021-08-31 19:15:25.877786"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 5"], ["LIMIT", 1]] Post Create (0.5ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:15:26 -0400  (0.1ms) SELECT sqlite_version(*) TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.6ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.9ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.4ms) DELETE FROM "active_admin_comments"  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 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"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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)  (0.2ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user6@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (1.0ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 6"], ["created_at", "2021-08-31 19:15:32.544997"], ["updated_at", "2021-08-31 19:15:32.544997"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 6"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:15:32 -0400 TRANSACTION (0.2ms) begin transaction AdminUser Update (0.5ms) UPDATE "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" = ? [["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]] TRANSACTION (0.9ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user7@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.1ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 7"], ["created_at", "2021-08-31 19:15:32.984563"], ["updated_at", "2021-08-31 19:15:32.984563"]] TRANSACTION (1.0ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 7"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:15:32 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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"} AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["category_id", 1], ["id", 1], ["LIMIT", 1]] TRANSACTION (0.1ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? AND "posts"."id" != ? LIMIT ? [["title", "Post 7"], ["id", 1], ["LIMIT", 1]] Post Update (0.3ms) UPDATE "posts" SET "status" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["status", "published"], ["updated_at", "2021-08-31 19:15:33.077949"], ["id", 1]] TRANSACTION (1.1ms) commit transaction 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"} AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.9ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.2ms) DELETE FROM "posts"  (0.6ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user8@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 8"], ["created_at", "2021-08-31 19:15:33.415220"], ["updated_at", "2021-08-31 19:15:33.415220"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 8"], ["LIMIT", 1]] Post Create (0.4ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:15:33 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.7ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.3ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users" 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  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'admin_users'; Parameters: {"category_id"=>"1", "id"=>"1"} AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts" Completed 401 Unauthorized in 1ms (ActiveRecord: 0.1ms | Allocations: 504)  (1.0ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.1ms) PRAGMA foreign_keys = 1 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)  (1.8ms) SELECT sqlite_version(*)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user1@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 1"], ["created_at", "2021-08-31 19:15:40.435016"], ["updated_at", "2021-08-31 19:15:40.435016"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 1"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:15:40 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.3ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.5ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.6ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.4ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user2@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.7ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 2"], ["created_at", "2021-08-31 19:15:40.788849"], ["updated_at", "2021-08-31 19:15:40.788849"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 2"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (1.5ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:15:40 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.5ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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 AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (18.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user3@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 3"], ["created_at", "2021-08-31 19:15:40.889404"], ["updated_at", "2021-08-31 19:15:40.889404"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 3"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:15:42 -0400  (0.1ms) SELECT sqlite_version(*) TRANSACTION (0.0ms) begin transaction AdminUser Update (0.2ms) UPDATE "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" = ? [["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]] TRANSACTION (0.7ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.3ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.4ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.6ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 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"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user4@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 4"], ["created_at", "2021-08-31 19:15:47.523052"], ["updated_at", "2021-08-31 19:15:47.523052"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 4"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:15:47 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.9ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.4ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user5@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 5"], ["created_at", "2021-08-31 19:15:47.935059"], ["updated_at", "2021-08-31 19:15:47.935059"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 5"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:15:47 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.9ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.4ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.7ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user6@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 6"], ["created_at", "2021-08-31 19:15:48.359909"], ["updated_at", "2021-08-31 19:15:48.359909"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 6"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:15:48 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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"} AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["category_id", 1], ["id", 1], ["LIMIT", 1]] TRANSACTION (0.1ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? AND "posts"."id" != ? LIMIT ? [["title", "Post 6"], ["id", 1], ["LIMIT", 1]] Post Update (0.3ms) UPDATE "posts" SET "status" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["status", "published"], ["updated_at", "2021-08-31 19:15:48.457517"], ["id", 1]] TRANSACTION (1.0ms) commit transaction 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"} AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.2ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.4ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.3ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.2ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.3ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user7@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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"]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.1ms) begin transaction Category Create (0.5ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 7"], ["created_at", "2021-08-31 19:15:48.724477"], ["updated_at", "2021-08-31 19:15:48.724477"]] TRANSACTION (1.1ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 7"], ["LIMIT", 1]] TRANSACTION (0.1ms) rollback transaction  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.4ms) DELETE FROM "active_admin_comments"  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.4ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.3ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.4ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.3ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.3ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.2ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user8@example.com"], ["LIMIT", 1]] AdminUser Create (0.5ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (1.2ms) commit transaction TRANSACTION (0.1ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 8"], ["created_at", "2021-08-31 19:15:48.759779"], ["updated_at", "2021-08-31 19:15:48.759779"]] TRANSACTION (1.0ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 8"], ["LIMIT", 1]] TRANSACTION (0.1ms) rollback transaction  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.7ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.3ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.2ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.1ms) PRAGMA foreign_keys = 1  (2.3ms) SELECT sqlite_version(*)  (0.4ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.1ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.9ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.2ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user1@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 1"], ["created_at", "2021-08-31 19:15:57.557860"], ["updated_at", "2021-08-31 19:15:57.557860"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 1"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:15:58 -0400  (0.1ms) SELECT sqlite_version(*) TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.7ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["category_id", 1], ["id", 1], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? AND "posts"."id" != ? LIMIT ? [["title", "Post 1"], ["id", 1], ["LIMIT", 1]] Post Update (0.3ms) UPDATE "posts" SET "status" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["status", "published"], ["updated_at", "2021-08-31 19:16:04.161283"], ["id", 1]] TRANSACTION (1.3ms) commit transaction 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"} AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.7ms) TRUNCATE TABLE "active_admin_comments"  (1.8ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.5ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.3ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.6ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.3ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user2@example.com"], ["LIMIT", 1]] AdminUser Create (1.2ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 2"], ["created_at", "2021-08-31 19:16:04.634632"], ["updated_at", "2021-08-31 19:16:04.634632"]] TRANSACTION (1.2ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 2"], ["LIMIT", 1]] Post Create (0.4ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:16:04 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.6ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.4ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.7ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.3ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user3@example.com"], ["LIMIT", 1]] AdminUser Create (0.5ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 3"], ["created_at", "2021-08-31 19:16:04.984480"], ["updated_at", "2021-08-31 19:16:04.984480"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 3"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:16:04 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.9ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.4ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users'; Started GET "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2021-08-31 15:16:05 -0400  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 Processing by Admin::PostsController#reopen as HTML Parameters: {"category_id"=>"1", "id"=>"1"} AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user4@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 4"], ["created_at", "2021-08-31 19:16:05.325944"], ["updated_at", "2021-08-31 19:16:05.325944"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 4"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:16:05 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.7ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.4ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user5@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (1.0ms) commit transaction TRANSACTION (0.1ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 5"], ["created_at", "2021-08-31 19:16:05.762248"], ["updated_at", "2021-08-31 19:16:05.762248"]] TRANSACTION (1.1ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 5"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:16:05 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.5ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user6@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.6ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 6"], ["created_at", "2021-08-31 19:16:05.810680"], ["updated_at", "2021-08-31 19:16:05.810680"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 6"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (1.1ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:16:05 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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 AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user7@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 7"], ["created_at", "2021-08-31 19:16:05.876833"], ["updated_at", "2021-08-31 19:16:05.876833"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 7"], ["LIMIT", 1]] TRANSACTION (0.0ms) rollback transaction  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (0.9ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.1ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user8@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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"]] TRANSACTION (1.0ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 8"], ["created_at", "2021-08-31 19:16:05.905455"], ["updated_at", "2021-08-31 19:16:05.905455"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 8"], ["LIMIT", 1]] TRANSACTION (0.0ms) rollback transaction  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (1.7ms) SELECT sqlite_version(*)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.4ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user1@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 1"], ["created_at", "2021-08-31 19:16:21.766904"], ["updated_at", "2021-08-31 19:16:21.766904"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 1"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:16:21 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.7ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.3ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.7ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.4ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user2@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 2"], ["created_at", "2021-08-31 19:16:22.156123"], ["updated_at", "2021-08-31 19:16:22.156123"]] TRANSACTION (0.6ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 2"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:16:22 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.9ms) UPDATE "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" = ? [["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]] TRANSACTION (0.7ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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 AdminUser Load (0.8ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.3ms) TRUNCATE TABLE "active_admin_comments"  (1.3ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.4ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user3@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 3"], ["created_at", "2021-08-31 19:16:22.257439"], ["updated_at", "2021-08-31 19:16:22.257439"]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 3"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:16:23 -0400  (0.1ms) SELECT sqlite_version(*) TRANSACTION (0.0ms) begin transaction AdminUser Update (0.8ms) UPDATE "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" = ? [["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]] TRANSACTION (0.7ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.8ms) TRUNCATE TABLE "active_admin_comments"  (1.9ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.6ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.7ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user4@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 4"], ["created_at", "2021-08-31 19:16:28.911996"], ["updated_at", "2021-08-31 19:16:28.911996"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 4"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:16:28 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.7ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 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"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user5@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.1ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 5"], ["created_at", "2021-08-31 19:16:29.255393"], ["updated_at", "2021-08-31 19:16:29.255393"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 5"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:16:29 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.7ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.4ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; Started GET "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2021-08-31 15:16:29 -0400  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts" Processing by Admin::PostsController#reopen as HTML Parameters: {"category_id"=>"1", "id"=>"1"} AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts'; Completed 401 Unauthorized in 1ms (ActiveRecord: 0.1ms | Allocations: 505)  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.1ms) PRAGMA foreign_keys = 1 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)  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user6@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 6"], ["created_at", "2021-08-31 19:16:29.555426"], ["updated_at", "2021-08-31 19:16:29.555426"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 6"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:16:29 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.9ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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"} AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["category_id", 1], ["id", 1], ["LIMIT", 1]] TRANSACTION (0.1ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? AND "posts"."id" != ? LIMIT ? [["title", "Post 6"], ["id", 1], ["LIMIT", 1]] Post Update (0.3ms) UPDATE "posts" SET "status" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["status", "published"], ["updated_at", "2021-08-31 19:16:29.653957"], ["id", 1]] TRANSACTION (1.5ms) commit transaction 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"} AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.7ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user7@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 7"], ["created_at", "2021-08-31 19:16:29.962047"], ["updated_at", "2021-08-31 19:16:29.962047"]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 7"], ["LIMIT", 1]] TRANSACTION (0.0ms) rollback transaction  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.3ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user8@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 8"], ["created_at", "2021-08-31 19:16:29.988307"], ["updated_at", "2021-08-31 19:16:29.988307"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 8"], ["LIMIT", 1]] TRANSACTION (0.0ms) rollback transaction  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (1.9ms) SELECT sqlite_version(*)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.6ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user1@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.2ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 1"], ["created_at", "2021-08-31 19:19:43.779907"], ["updated_at", "2021-08-31 19:19:43.779907"]] TRANSACTION (0.6ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 1"], ["LIMIT", 1]] TRANSACTION (0.0ms) rollback transaction  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.1ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.1ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user2@example.com"], ["LIMIT", 1]] AdminUser Create (0.5ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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"]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 2"], ["created_at", "2021-08-31 19:19:43.857549"], ["updated_at", "2021-08-31 19:19:43.857549"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 2"], ["LIMIT", 1]] TRANSACTION (0.1ms) rollback transaction  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms)[0m TRUNCATE TABLE "active_admin_comments"  (0.9ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.2ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user3@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (1.0ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 3"], ["created_at", "2021-08-31 19:19:43.884495"], ["updated_at", "2021-08-31 19:19:43.884495"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 3"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:19:43 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.9ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Redirected to http://www.example.com/admin/dashboard 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 AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.3ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (2.1ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.1ms) PRAGMA foreign_keys = OFF  (0.8ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.9ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.2ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user4@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 4"], ["created_at", "2021-08-31 19:19:44.255702"], ["updated_at", "2021-08-31 19:19:44.255702"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.5ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 4"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:19:44 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.4ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.8ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (2.7ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user5@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (1.1ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 5"], ["created_at", "2021-08-31 19:19:44.324849"], ["updated_at", "2021-08-31 19:19:44.324849"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 5"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (1.0ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:19:45 -0400  (0.1ms) SELECT sqlite_version(*) TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.7ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 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"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.3ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user6@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.1ms) begin transaction Category Create (0.5ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 6"], ["created_at", "2021-08-31 19:19:51.025798"], ["updated_at", "2021-08-31 19:19:51.025798"]] TRANSACTION (1.0ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 6"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:19:51 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.9ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.1ms) TRUNCATE TABLE "active_admin_comments"  (1.6ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user7@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 7"], ["created_at", "2021-08-31 19:19:51.337813"], ["updated_at", "2021-08-31 19:19:51.337813"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 7"], ["LIMIT", 1]] Post Create (0.4ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (1.0ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:19:51 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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"} AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["category_id", 1], ["id", 1], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? AND "posts"."id" != ? LIMIT ? [["title", "Post 7"], ["id", 1], ["LIMIT", 1]] Post Update (0.3ms) UPDATE "posts" SET "status" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["status", "published"], ["updated_at", "2021-08-31 19:19:51.424005"], ["id", 1]] TRANSACTION (1.4ms) commit transaction 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"} AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.1ms) TRUNCATE TABLE "active_admin_comments"  (1.8ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user8@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 8"], ["created_at", "2021-08-31 19:19:51.708825"], ["updated_at", "2021-08-31 19:19:51.708825"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 8"], ["LIMIT", 1]] Post Create (0.4ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:19:51 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.3ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.7ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 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"} AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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)  (1.7ms) SELECT sqlite_version(*)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.6ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user1@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 1"], ["created_at", "2021-08-31 19:20:23.129765"], ["updated_at", "2021-08-31 19:20:23.129765"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 1"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:20:24 -0400  (0.1ms) SELECT sqlite_version(*) TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.7ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.1ms) TRUNCATE TABLE "active_admin_comments"  (1.8ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.6ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.8ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.7ms) TRUNCATE TABLE "posts"  (1.3ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.9ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user2@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 2"], ["created_at", "2021-08-31 19:20:30.048452"], ["updated_at", "2021-08-31 19:20:30.048452"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 2"], ["LIMIT", 1]] Post Create (0.4ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:20:30 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (1.7ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 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"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.3ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.2ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (9.5ms) PRAGMA defer_foreign_keys = 0  (0.1ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user3@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 3"], ["created_at", "2021-08-31 19:20:30.467650"], ["updated_at", "2021-08-31 19:20:30.467650"]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 3"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:20:30 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.4ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories" 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  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; Parameters: {"category_id"=>"1", "id"=>"1"} AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts" Completed 401 Unauthorized in 1ms (ActiveRecord: 0.1ms | Allocations: 506)  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 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)  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user4@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (1.0ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 4"], ["created_at", "2021-08-31 19:20:30.785485"], ["updated_at", "2021-08-31 19:20:30.785485"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 4"], ["LIMIT", 1]] Post Create (0.4ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (1.0ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:20:30 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.7ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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"} AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["category_id", 1], ["id", 1], ["LIMIT", 1]] TRANSACTION (0.1ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? AND "posts"."id" != ? LIMIT ? [["title", "Post 4"], ["id", 1], ["LIMIT", 1]] Post Update (0.3ms) UPDATE "posts" SET "status" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["status", "published"], ["updated_at", "2021-08-31 19:20:30.872625"], ["id", 1]] TRANSACTION (0.9ms) commit transaction 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"} AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.9ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user5@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (1.0ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 5"], ["created_at", "2021-08-31 19:20:31.153803"], ["updated_at", "2021-08-31 19:20:31.153803"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 5"], ["LIMIT", 1]] TRANSACTION (0.0ms) rollback transaction  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user6@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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"]] TRANSACTION (1.0ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 6"], ["created_at", "2021-08-31 19:20:31.181649"], ["updated_at", "2021-08-31 19:20:31.181649"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 6"], ["LIMIT", 1]] TRANSACTION (0.0ms) rollback transaction  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.3ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user7@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (1.0ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 7"], ["created_at", "2021-08-31 19:20:31.208366"], ["updated_at", "2021-08-31 19:20:31.208366"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 7"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:20:31 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.7ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user8@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 8"], ["created_at", "2021-08-31 19:20:31.258120"], ["updated_at", "2021-08-31 19:20:31.258120"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 8"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:20:31 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Redirected to http://www.example.com/admin/dashboard 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 AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (1.8ms) SELECT sqlite_version(*)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.3ms) TRUNCATE TABLE "active_admin_comments"  (1.7ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.2ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user1@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.1ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 1"], ["created_at", "2021-08-31 19:22:00.140678"], ["updated_at", "2021-08-31 19:22:00.140678"]] TRANSACTION (1.1ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 1"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:22:01 -0400  (0.1ms) SELECT sqlite_version(*) TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.9ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.3ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 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"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (1.1ms) PRAGMA defer_foreign_keys = ON  (0.1ms) PRAGMA foreign_keys = OFF  (0.3ms) TRUNCATE TABLE "active_admin_comments"  (6.7ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (1.4ms) TRUNCATE TABLE "admin_users"  (18.0ms) DELETE FROM "admin_users"  (0.7ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.4ms) TRUNCATE TABLE "categories"  (7.1ms) DELETE FROM "categories"  (1.7ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.3ms) TRUNCATE TABLE "posts"  (8.3ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (1.3ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user2@example.com"], ["LIMIT", 1]] AdminUser Create (0.6ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (3.7ms) commit transaction TRANSACTION (0.1ms) begin transaction Category Create (4.2ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 2"], ["created_at", "2021-08-31 19:22:07.244191"], ["updated_at", "2021-08-31 19:22:07.244191"]] TRANSACTION (12.8ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 2"], ["LIMIT", 1]] Post Create (0.4ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:22:07 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.7ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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"} AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["category_id", 1], ["id", 1], ["LIMIT", 1]] TRANSACTION (0.1ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? AND "posts"."id" != ? LIMIT ? [["title", "Post 2"], ["id", 1], ["LIMIT", 1]] Post Update (0.3ms) UPDATE "posts" SET "status" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["status", "published"], ["updated_at", "2021-08-31 19:22:07.380512"], ["id", 1]] TRANSACTION (0.8ms) commit transaction 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"} AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.4ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user3@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.1ms) begin transaction Category Create (0.5ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 3"], ["created_at", "2021-08-31 19:22:07.704623"], ["updated_at", "2021-08-31 19:22:07.704623"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 3"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:22:07 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.3ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.8ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.7ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.3ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user4@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 4"], ["created_at", "2021-08-31 19:22:08.010832"], ["updated_at", "2021-08-31 19:22:08.010832"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 4"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:22:08 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.4ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories" 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  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; Parameters: {"category_id"=>"1", "id"=>"1"} AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts" Completed 401 Unauthorized in 1ms (ActiveRecord: 0.1ms | Allocations: 499)  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.1ms) TRUNCATE TABLE "active_admin_comments"  (0.9ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user5@example.com"], ["LIMIT", 1]] AdminUser Create (0.5ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 5"], ["created_at", "2021-08-31 19:22:08.303377"], ["updated_at", "2021-08-31 19:22:08.303377"]] TRANSACTION (0.6ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 5"], ["LIMIT", 1]] TRANSACTION (0.0ms) rollback transaction  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (0.9ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.3ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user6@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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"]] TRANSACTION (1.3ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 6"], ["created_at", "2021-08-31 19:22:08.331054"], ["updated_at", "2021-08-31 19:22:08.331054"]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 6"], ["LIMIT", 1]] TRANSACTION (0.1ms) rollback transaction  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.3ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.3ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.2ms) DELETE FROM "posts"  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user7@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 7"], ["created_at", "2021-08-31 19:22:08.360106"], ["updated_at", "2021-08-31 19:22:08.360106"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 7"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:22:08 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Redirected to http://www.example.com/admin/dashboard 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 AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.3ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user8@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 8"], ["created_at", "2021-08-31 19:22:08.423719"], ["updated_at", "2021-08-31 19:22:08.423719"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 8"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:22:08 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (1.8ms) SELECT sqlite_version(*)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.7ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.3ms) DELETE FROM "admin_users"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user1@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.1ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 1"], ["created_at", "2021-08-31 19:22:30.255126"], ["updated_at", "2021-08-31 19:22:30.255126"]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 1"], ["LIMIT", 1]] TRANSACTION (0.0ms) rollback transaction  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (1.9ms) SELECT sqlite_version(*)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.4ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user1@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 1"], ["created_at", "2021-08-31 19:24:19.067470"], ["updated_at", "2021-08-31 19:24:19.067470"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 1"], ["LIMIT", 1]] TRANSACTION (0.0ms) rollback transaction  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (1.7ms) SELECT sqlite_version(*)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.9ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user1@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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"]] TRANSACTION (1.3ms) commit transaction TRANSACTION (0.1ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 1"], ["created_at", "2021-08-31 19:25:23.365310"], ["updated_at", "2021-08-31 19:25:23.365310"]] TRANSACTION (0.9ms) commit transaction Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? ORDER BY "posts"."id" ASC LIMIT ? [["category_id", 1], ["LIMIT", 1]]  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (2.1ms) SELECT sqlite_version(*)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.4ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user1@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 1"], ["created_at", "2021-08-31 19:25:59.309260"], ["updated_at", "2021-08-31 19:25:59.309260"]] TRANSACTION (1.1ms) commit transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 1"], ["LIMIT", 1]] Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 1"], ["LIMIT", 1]]  (2.4ms) SELECT sqlite_version(*)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.9ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.2ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user1@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.1ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 1"], ["created_at", "2021-08-31 19:27:09.729299"], ["updated_at", "2021-08-31 19:27:09.729299"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 1"], ["LIMIT", 1]] Post Create (0.4ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (1.5ms) commit transaction  (1.6ms) SELECT sqlite_version(*)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.4ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user1@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 1"], ["created_at", "2021-08-31 19:27:37.456362"], ["updated_at", "2021-08-31 19:27:37.456362"]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 1"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? ORDER BY "posts"."id" ASC LIMIT ? [["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 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.7ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.2ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.7ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (1.6ms) SELECT sqlite_version(*)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.3ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user1@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 1"], ["created_at", "2021-08-31 19:28:03.192411"], ["updated_at", "2021-08-31 19:28:03.192411"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 1"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:28:03 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.9ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.9ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.9ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.5ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user2@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.3ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 2"], ["created_at", "2021-08-31 19:28:03.561468"], ["updated_at", "2021-08-31 19:28:03.561468"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 2"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:28:03 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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"} AdminUser Load (0.7ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Redirected to http://www.example.com/admin/dashboard 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 AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.7ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.1ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user3@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 3"], ["created_at", "2021-08-31 19:28:03.656951"], ["updated_at", "2021-08-31 19:28:03.656951"]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 3"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? ORDER BY "posts"."id" ASC LIMIT ? [["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 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.7ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.1ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user4@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 4"], ["created_at", "2021-08-31 19:28:03.701457"], ["updated_at", "2021-08-31 19:28:03.701457"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 4"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? ORDER BY "posts"."id" ASC LIMIT ? [["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 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.1ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user5@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 5"], ["created_at", "2021-08-31 19:28:03.743391"], ["updated_at", "2021-08-31 19:28:03.743391"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 5"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:28:04 -0400  (0.1ms) SELECT sqlite_version(*) TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.7ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["category_id", 1], ["id", 1], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? AND "posts"."id" != ? LIMIT ? [["title", "Post 5"], ["id", 1], ["LIMIT", 1]] Post Update (0.3ms) UPDATE "posts" SET "status" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["status", "published"], ["updated_at", "2021-08-31 19:28:10.163282"], ["id", 1]] TRANSACTION (0.8ms) commit transaction 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"} AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.7ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.3ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user6@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 6"], ["created_at", "2021-08-31 19:28:10.546913"], ["updated_at", "2021-08-31 19:28:10.546913"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 6"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:28:10 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.7ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; 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  (1.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 Parameters: {"category_id"=>"1", "id"=>"1"} AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user7@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 7"], ["created_at", "2021-08-31 19:28:10.848361"], ["updated_at", "2021-08-31 19:28:10.848361"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 7"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:28:10 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.7ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.5ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; 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"} AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]  (1.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories" Completed 401 Unauthorized in 1ms (ActiveRecord: 0.1ms | Allocations: 508)  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user8@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 8"], ["created_at", "2021-08-31 19:28:11.138841"], ["updated_at", "2021-08-31 19:28:11.138841"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 8"], ["LIMIT", 1]] Post Create (0.4ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:28:11 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (1.6ms) SELECT sqlite_version(*)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.8ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.3ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user1@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 1"], ["created_at", "2021-08-31 19:29:15.868220"], ["updated_at", "2021-08-31 19:29:15.868220"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 1"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:29:15 -0400 TRANSACTION (0.1ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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 15:29:16 -0400 Processing by Admin::DashboardController#index as HTML AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user2@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 2"], ["created_at", "2021-08-31 19:29:16.293669"], ["updated_at", "2021-08-31 19:29:16.293669"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 2"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:29:16 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.6ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.7ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.7ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user3@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 3"], ["created_at", "2021-08-31 19:29:16.348108"], ["updated_at", "2021-08-31 19:29:16.348108"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 3"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? ORDER BY "posts"."id" ASC LIMIT ? [["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 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user4@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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"]] TRANSACTION (1.6ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 4"], ["created_at", "2021-08-31 19:29:16.413316"], ["updated_at", "2021-08-31 19:29:16.413316"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 4"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? ORDER BY "posts"."id" ASC LIMIT ? [["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 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.7ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.7ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.8ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (2.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.8ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.4ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user5@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 5"], ["created_at", "2021-08-31 19:29:16.471606"], ["updated_at", "2021-08-31 19:29:16.471606"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 5"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:29:17 -0400  (0.1ms) SELECT sqlite_version(*) TRANSACTION (0.0ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["category_id", 1], ["id", 1], ["LIMIT", 1]] TRANSACTION (0.1ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? AND "posts"."id" != ? LIMIT ? [["title", "Post 5"], ["id", 1], ["LIMIT", 1]] Post Update (0.3ms) UPDATE "posts" SET "status" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["status", "published"], ["updated_at", "2021-08-31 19:29:23.004373"], ["id", 1]] TRANSACTION (0.8ms) commit transaction 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"} AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.7ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user6@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 6"], ["created_at", "2021-08-31 19:29:23.434931"], ["updated_at", "2021-08-31 19:29:23.434931"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 6"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.6ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:29:23 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.7ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.9ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.3ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user7@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 7"], ["created_at", "2021-08-31 19:29:23.741438"], ["updated_at", "2021-08-31 19:29:23.741438"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 7"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:29:23 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.7ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.4ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories" 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  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories'; Parameters: {"category_id"=>"1", "id"=>"1"} AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.2ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts" Completed 401 Unauthorized in 4ms (ActiveRecord: 0.1ms | Allocations: 581)  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 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)  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user8@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 8"], ["created_at", "2021-08-31 19:29:24.080258"], ["updated_at", "2021-08-31 19:29:24.080258"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 8"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:29:24 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.7ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.3ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; Started GET "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2021-08-31 15:29:24 -0400  (1.0ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts" Processing by Admin::PostsController#reopen as HTML Parameters: {"category_id"=>"1", "id"=>"1"} AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts'; Completed 401 Unauthorized in 1ms (ActiveRecord: 0.1ms | Allocations: 515)  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 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)  (1.8ms) SELECT sqlite_version(*)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.6ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user1@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 1"], ["created_at", "2021-08-31 19:37:57.125017"], ["updated_at", "2021-08-31 19:37:57.125017"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.1ms) begin transaction Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 1"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:37:57 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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 AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.9ms) DELETE FROM "active_admin_comments"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.2ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user2@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 2"], ["created_at", "2021-08-31 19:37:57.605205"], ["updated_at", "2021-08-31 19:37:57.605205"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 2"], ["LIMIT", 1]] Post Create (0.2ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:37:57 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.5ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (1.6ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user3@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 3"], ["created_at", "2021-08-31 19:37:57.659954"], ["updated_at", "2021-08-31 19:37:57.659954"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 3"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? ORDER BY "posts"."id" ASC LIMIT ? [["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 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (1.5ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.6ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.8ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.4ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.7ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.7ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user4@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 4"], ["created_at", "2021-08-31 19:37:57.724910"], ["updated_at", "2021-08-31 19:37:57.724910"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 4"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? ORDER BY "posts"."id" ASC LIMIT ? [["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 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (1.1ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.8ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (0.9ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (0.8ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.9ms) TRUNCATE TABLE "posts"  (0.9ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user5@example.com"], ["LIMIT", 1]] AdminUser Create (0.4ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 5"], ["created_at", "2021-08-31 19:37:57.800304"], ["updated_at", "2021-08-31 19:37:57.800304"]] TRANSACTION (0.7ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 5"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.7ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:37:58 -0400  (0.2ms) SELECT sqlite_version(*) TRANSACTION (0.0ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (1.1ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.3ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.3ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.2ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.2ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.2ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user6@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (1.2ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 6"], ["created_at", "2021-08-31 19:38:04.455876"], ["updated_at", "2021-08-31 19:38:04.455876"]] TRANSACTION (1.0ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 6"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:38:04 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.9ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.2ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.3ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.2ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.5ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.1ms) PRAGMA foreign_keys = 1 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"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.1ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.1ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user7@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (1.1ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 7"], ["created_at", "2021-08-31 19:38:04.836045"], ["updated_at", "2021-08-31 19:38:04.836045"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 7"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.8ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:38:04 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.3ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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"} AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["category_id", 1], ["id", 1], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? AND "posts"."id" != ? LIMIT ? [["title", "Post 7"], ["id", 1], ["LIMIT", 1]] Post Update (0.2ms) UPDATE "posts" SET "status" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["status", "published"], ["updated_at", "2021-08-31 19:38:04.916514"], ["id", 1]] TRANSACTION (0.8ms) commit transaction 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"} AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.1ms) TRUNCATE TABLE "active_admin_comments"  (1.0ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.1ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.1ms) TRUNCATE TABLE "categories"  (1.0ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.1ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.5ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.1ms) PRAGMA foreign_keys = 1  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.2ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (1.0ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'admin_users';  (0.2ms) TRUNCATE TABLE "categories"  (1.1ms) DELETE FROM "categories"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction AdminUser Exists? (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = ? LIMIT ? [["email", "user8@example.com"], ["LIMIT", 1]] AdminUser Create (0.3ms) INSERT INTO "admin_users" ("email", "encrypted_password", "created_at", "updated_at", "super_admin") VALUES (?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction TRANSACTION (0.0ms) begin transaction Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Category 8"], ["created_at", "2021-08-31 19:38:05.192165"], ["updated_at", "2021-08-31 19:38:05.192165"]] TRANSACTION (0.8ms) commit transaction TRANSACTION (0.0ms) begin transaction Post Exists? (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = ? LIMIT ? [["title", "Post 8"], ["LIMIT", 1]] Post Create (0.3ms) INSERT INTO "posts" ("title", "body", "status", "created_at", "updated_at", "category_id") VALUES (?, ?, ?, ?, ?, ?) [["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]] TRANSACTION (0.9ms) commit transaction Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2021-08-31 15:38:05 -0400 TRANSACTION (0.0ms) begin transaction AdminUser Update (0.4ms) UPDATE "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" = ? [["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]] TRANSACTION (0.8ms) commit transaction Processing by Admin::PostsController#show as HTML Parameters: {"category_id"=>"1", "id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = ? AND "posts"."id" = ? LIMIT ? [["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 CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.2ms) TRUNCATE TABLE "active_admin_comments"  (1.1ms) DELETE FROM "active_admin_comments"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_admin_comments';  (0.2ms) TRUNCATE TABLE "admin_users"  (0.9ms) DELETE FROM "admin_users"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'admin_users'; 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"} AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? ORDER BY "admin_users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) TRUNCATE TABLE "categories"  (0.8ms) DELETE FROM "categories" Completed 401 Unauthorized in 1ms (ActiveRecord: 0.1ms | Allocations: 505)  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'categories';  (0.2ms) TRUNCATE TABLE "posts"  (1.0ms) DELETE FROM "posts"  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.7ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 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)