spec/rails/rails-5.1.2/log/test.log in approval-0.3.1 vs spec/rails/rails-5.1.2/log/test.log in approval-0.3.2
- old
+ new
@@ -1,12 +1,12 @@
- [1m[35m (0.2ms)[0m [1m[34mSELECT sqlite_version(*)[0m
- [1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
- [1m[35m (2.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[35m (1.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
+ [1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
-Migrating to CreateApprovalRequests (20170816024438)
+Migrating to CreateApprovalRequests (20170816102906)
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "approval_requests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "request_user_id" integer NOT NULL, "respond_user_id" integer, "state" integer(1) DEFAULT 0 NOT NULL, "requested_at" datetime NOT NULL, "cancelled_at" datetime, "approved_at" datetime, "rejected_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
+ [1m[35m (0.5ms)[0m [1m[35mCREATE TABLE "approval_requests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "request_user_id" integer NOT NULL, "respond_user_id" integer, "state" integer(1) DEFAULT 0 NOT NULL, "requested_at" datetime NOT NULL, "cancelled_at" datetime, "approved_at" datetime, "rejected_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_approval_requests_on_request_user_id" ON "approval_requests" ("request_user_id")[0m
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
FROM sqlite_master
WHERE name='index_approval_requests_on_request_user_id' AND type='index'
UNION ALL
@@ -30,58 +30,58 @@
SELECT sql
FROM sqlite_temp_master
WHERE name='index_approval_requests_on_request_user_id' AND type='index'
[0m
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_approval_requests_on_state" ON "approval_requests" ("state")[0m
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170816024438"]]
- [1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
-Migrating to CreateApprovalComments (20170816024439)
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.6ms)[0m [1m[35mCREATE TABLE "approval_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "request_id" integer NOT NULL, "user_id" integer NOT NULL, "content" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170816102906"]]
+ [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+Migrating to CreateApprovalComments (20170816102907)
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "approval_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "request_id" integer NOT NULL, "user_id" integer NOT NULL, "content" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_approval_comments_on_request_id" ON "approval_comments" ("request_id")[0m
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
FROM sqlite_master
WHERE name='index_approval_comments_on_request_id' AND type='index'
UNION ALL
SELECT sql
FROM sqlite_temp_master
WHERE name='index_approval_comments_on_request_id' AND type='index'
[0m
- [1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_approval_comments_on_user_id" ON "approval_comments" ("user_id")[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170816024439"]]
- [1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
-Migrating to CreateApprovalItems (20170816024440)
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.6ms)[0m [1m[35mCREATE TABLE "approval_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "request_id" integer NOT NULL, "resource_id" integer, "resource_type" varchar NOT NULL, "event" varchar NOT NULL, "params" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
+ [1m[35m (0.2ms)[0m [1m[35mCREATE INDEX "index_approval_comments_on_user_id" ON "approval_comments" ("user_id")[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170816102907"]]
+ [1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
+Migrating to CreateApprovalItems (20170816102908)
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.5ms)[0m [1m[35mCREATE TABLE "approval_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "request_id" integer NOT NULL, "resource_id" integer, "resource_type" varchar NOT NULL, "event" varchar NOT NULL, "params" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_approval_items_on_request_id" ON "approval_items" ("request_id")[0m
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
FROM sqlite_master
WHERE name='index_approval_items_on_request_id' AND type='index'
UNION ALL
SELECT sql
FROM sqlite_temp_master
WHERE name='index_approval_items_on_request_id' AND type='index'
[0m
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_approval_items_on_resource_id_and_resource_type" ON "approval_items" ("resource_id", "resource_type")[0m
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170816024440"]]
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170816102908"]]
+ [1m[35m (1.4ms)[0m [1m[36mcommit transaction[0m
+Migrating to CreateUsers (20170816102909)
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170816102909"]]
+ [1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
+Migrating to CreateBooks (20170816102910)
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.8ms)[0m [1m[35mCREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170816102910"]]
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
-Migrating to CreateUsers (20170816024441)
+ [1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170816024441"]]
- [1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
-Migrating to CreateBooks (20170816024442)
- [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170816024442"]]
- [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
- [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2017-08-16 02:44:44.978496"], ["updated_at", "2017-08-16 02:44:44.978496"]]
- [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
- [1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
- [1m[35m (0.1ms)[0m [1m[34m SELECT sql
+ [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2017-08-16 10:29:11.412092"], ["updated_at", "2017-08-16 10:29:11.412092"]]
+ [1m[35m (2.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.2ms)[0m [1m[34m SELECT sql
FROM sqlite_master
WHERE name='index_approval_comments_on_user_id' AND type='index'
UNION ALL
SELECT sql
FROM sqlite_temp_master
@@ -140,1085 +140,556 @@
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name1"], ["created_at", "2017-08-16 02:44:46.495832"], ["updated_at", "2017-08-16 02:44:46.495832"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[36mApproval::Request Load (0.2ms)[0m [1m[34mSELECT "approval_requests".* FROM "approval_requests" WHERE "approval_requests"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[35m (0.9ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name2"], ["created_at", "2017-08-16 02:44:46.531823"], ["updated_at", "2017-08-16 02:44:46.531823"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name3"], ["created_at", "2017-08-16 02:44:46.538212"], ["updated_at", "2017-08-16 02:44:46.538212"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name4"], ["created_at", "2017-08-16 02:44:46.545991"], ["updated_at", "2017-08-16 02:44:46.545991"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name5"], ["created_at", "2017-08-16 02:44:46.553280"], ["updated_at", "2017-08-16 02:44:46.553280"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name6"], ["created_at", "2017-08-16 02:44:46.561419"], ["updated_at", "2017-08-16 02:44:46.561419"]]
+ [1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name1"], ["created_at", "2017-08-16 10:29:12.910577"], ["updated_at", "2017-08-16 10:29:12.910577"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (3.8ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name7"], ["created_at", "2017-08-16 02:44:46.573787"], ["updated_at", "2017-08-16 02:44:46.573787"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.8ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name1"], ["created_at", "2017-08-16 02:44:46.592092"], ["updated_at", "2017-08-16 02:44:46.592092"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name8"], ["created_at", "2017-08-16 02:44:46.630043"], ["updated_at", "2017-08-16 02:44:46.630043"]]
- [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:46.633231"], ["created_at", "2017-08-16 02:44:46.633117"], ["updated_at", "2017-08-16 02:44:46.633117"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "content1"], ["created_at", "2017-08-16 02:44:46.634557"], ["updated_at", "2017-08-16 02:44:46.634557"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 02:44:46.635763"], ["updated_at", "2017-08-16 02:44:46.635763"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "books"[0m
- [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m [1m[31mDELETE FROM "books" WHERE "books"."id" = ?[0m [["id", 1]]
- [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "books"[0m
- [1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name2"], ["created_at", "2017-08-16 02:44:46.651864"], ["updated_at", "2017-08-16 02:44:46.651864"]]
- [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:46.657186"], ["created_at", "2017-08-16 02:44:46.657120"], ["updated_at", "2017-08-16 02:44:46.657120"]]
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "content2"], ["created_at", "2017-08-16 02:44:46.658430"], ["updated_at", "2017-08-16 02:44:46.658430"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 02:44:46.659730"], ["updated_at", "2017-08-16 02:44:46.659730"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "books"[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "created_name"], ["created_at", "2017-08-16 02:44:46.663890"], ["updated_at", "2017-08-16 02:44:46.663890"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.6ms)[0m [1m[33mUPDATE "approval_items" SET "resource_id" = ?, "updated_at" = ? WHERE "approval_items"."id" = ?[0m [["resource_id", 1], ["updated_at", "2017-08-16 02:44:46.667801"], ["id", 1]]
- [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "books"[0m
[1m[35m (1.2ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name3"], ["created_at", "2017-08-16 02:44:46.683841"], ["updated_at", "2017-08-16 02:44:46.683841"]]
- [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name9"], ["created_at", "2017-08-16 02:44:46.687685"], ["updated_at", "2017-08-16 02:44:46.687685"]]
- [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:46.690870"], ["created_at", "2017-08-16 02:44:46.690808"], ["updated_at", "2017-08-16 02:44:46.690808"]]
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "content3"], ["created_at", "2017-08-16 02:44:46.692368"], ["updated_at", "2017-08-16 02:44:46.692368"]]
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "update"], ["params", "---\n:name: updated_name\n"], ["created_at", "2017-08-16 02:44:46.693944"], ["updated_at", "2017-08-16 02:44:46.693944"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
- [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "name" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["name", "updated_name"], ["updated_at", "2017-08-16 02:44:46.700776"], ["id", 1]]
+ [1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name2"], ["created_at", "2017-08-16 10:29:12.925759"], ["updated_at", "2017-08-16 10:29:12.925759"]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name5"], ["created_at", "2017-08-16 02:44:46.712593"], ["updated_at", "2017-08-16 02:44:46.712593"]]
+ [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name3"], ["created_at", "2017-08-16 10:29:12.933324"], ["updated_at", "2017-08-16 10:29:12.933324"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name7"], ["created_at", "2017-08-16 02:44:46.725279"], ["updated_at", "2017-08-16 02:44:46.725279"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name9"], ["created_at", "2017-08-16 02:44:46.730732"], ["updated_at", "2017-08-16 02:44:46.730732"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.4ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (2.4ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name4"], ["created_at", "2017-08-16 10:29:12.952313"], ["updated_at", "2017-08-16 10:29:12.952313"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.1ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name13"], ["created_at", "2017-08-16 02:44:46.751871"], ["updated_at", "2017-08-16 02:44:46.751871"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:46.759424"], ["created_at", "2017-08-16 02:44:46.759358"], ["updated_at", "2017-08-16 02:44:46.759358"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "content4"], ["created_at", "2017-08-16 02:44:46.760997"], ["updated_at", "2017-08-16 02:44:46.760997"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 02:44:46.766586"], ["updated_at", "2017-08-16 02:44:46.766586"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name14"], ["created_at", "2017-08-16 02:44:46.787700"], ["updated_at", "2017-08-16 02:44:46.787700"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name15"], ["created_at", "2017-08-16 02:44:46.796419"], ["updated_at", "2017-08-16 02:44:46.796419"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name16"], ["created_at", "2017-08-16 02:44:46.800912"], ["updated_at", "2017-08-16 02:44:46.800912"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 2], ["requested_at", "2017-08-16 02:44:46.814974"], ["created_at", "2017-08-16 02:44:46.814902"], ["updated_at", "2017-08-16 02:44:46.814902"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 2], ["content", "content5"], ["created_at", "2017-08-16 02:44:46.820022"], ["updated_at", "2017-08-16 02:44:46.820022"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 02:44:46.821486"], ["updated_at", "2017-08-16 02:44:46.821486"]]
- [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name17"], ["created_at", "2017-08-16 02:44:46.828576"], ["updated_at", "2017-08-16 02:44:46.828576"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name18"], ["created_at", "2017-08-16 02:44:46.831317"], ["updated_at", "2017-08-16 02:44:46.831317"]]
- [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 2], ["requested_at", "2017-08-16 02:44:46.839015"], ["created_at", "2017-08-16 02:44:46.838787"], ["updated_at", "2017-08-16 02:44:46.838787"]]
- [1m[35mSQL (1.2ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 2], ["content", "content6"], ["created_at", "2017-08-16 02:44:46.842677"], ["updated_at", "2017-08-16 02:44:46.842677"]]
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 02:44:46.847009"], ["updated_at", "2017-08-16 02:44:46.847009"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name19"], ["created_at", "2017-08-16 02:44:46.858819"], ["updated_at", "2017-08-16 02:44:46.858819"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name20"], ["created_at", "2017-08-16 02:44:46.863567"], ["updated_at", "2017-08-16 02:44:46.863567"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 2], ["requested_at", "2017-08-16 02:44:46.877831"], ["created_at", "2017-08-16 02:44:46.877755"], ["updated_at", "2017-08-16 02:44:46.877755"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 2], ["content", "content7"], ["created_at", "2017-08-16 02:44:46.879343"], ["updated_at", "2017-08-16 02:44:46.879343"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 02:44:46.880913"], ["updated_at", "2017-08-16 02:44:46.880913"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name21"], ["created_at", "2017-08-16 02:44:46.886003"], ["updated_at", "2017-08-16 02:44:46.886003"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name22"], ["created_at", "2017-08-16 02:44:46.888754"], ["updated_at", "2017-08-16 02:44:46.888754"]]
- [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 2], ["requested_at", "2017-08-16 02:44:46.894039"], ["created_at", "2017-08-16 02:44:46.893969"], ["updated_at", "2017-08-16 02:44:46.893969"]]
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 2], ["content", "content8"], ["created_at", "2017-08-16 02:44:46.896484"], ["updated_at", "2017-08-16 02:44:46.896484"]]
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 02:44:46.899046"], ["updated_at", "2017-08-16 02:44:46.899046"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mSQL (2.3ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name5"], ["created_at", "2017-08-16 10:29:13.003357"], ["updated_at", "2017-08-16 10:29:13.003357"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mApproval::Request Load (0.3ms)[0m [1m[34mSELECT "approval_requests".* FROM "approval_requests" WHERE "approval_requests"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name23"], ["created_at", "2017-08-16 02:44:46.910245"], ["updated_at", "2017-08-16 02:44:46.910245"]]
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name6"], ["created_at", "2017-08-16 10:29:13.064518"], ["updated_at", "2017-08-16 10:29:13.064518"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name24"], ["created_at", "2017-08-16 02:44:46.917075"], ["updated_at", "2017-08-16 02:44:46.917075"]]
- [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 2], ["requested_at", "2017-08-16 02:44:46.925569"], ["created_at", "2017-08-16 02:44:46.925256"], ["updated_at", "2017-08-16 02:44:46.925256"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 2], ["content", "content9"], ["created_at", "2017-08-16 02:44:46.927426"], ["updated_at", "2017-08-16 02:44:46.927426"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 02:44:46.928887"], ["updated_at", "2017-08-16 02:44:46.928887"]]
- [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name25"], ["created_at", "2017-08-16 02:44:46.933541"], ["updated_at", "2017-08-16 02:44:46.933541"]]
- [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name26"], ["created_at", "2017-08-16 02:44:46.936166"], ["updated_at", "2017-08-16 02:44:46.936166"]]
- [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 2], ["requested_at", "2017-08-16 02:44:46.941395"], ["created_at", "2017-08-16 02:44:46.941330"], ["updated_at", "2017-08-16 02:44:46.941330"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 2], ["content", "content10"], ["created_at", "2017-08-16 02:44:46.943156"], ["updated_at", "2017-08-16 02:44:46.943156"]]
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 02:44:46.944869"], ["updated_at", "2017-08-16 02:44:46.944869"]]
+ [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name7"], ["created_at", "2017-08-16 10:29:13.068217"], ["updated_at", "2017-08-16 10:29:13.068217"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name27"], ["created_at", "2017-08-16 02:44:46.953513"], ["updated_at", "2017-08-16 02:44:46.953513"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name28"], ["created_at", "2017-08-16 02:44:46.957539"], ["updated_at", "2017-08-16 02:44:46.957539"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 2], ["requested_at", "2017-08-16 02:44:46.967707"], ["created_at", "2017-08-16 02:44:46.967640"], ["updated_at", "2017-08-16 02:44:46.967640"]]
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 2], ["content", "content11"], ["created_at", "2017-08-16 02:44:46.969075"], ["updated_at", "2017-08-16 02:44:46.969075"]]
- [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 02:44:46.970923"], ["updated_at", "2017-08-16 02:44:46.970923"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.8ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name29"], ["created_at", "2017-08-16 02:44:46.979435"], ["updated_at", "2017-08-16 02:44:46.979435"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name30"], ["created_at", "2017-08-16 02:44:46.981999"], ["updated_at", "2017-08-16 02:44:46.981999"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 2], ["requested_at", "2017-08-16 02:44:46.987716"], ["created_at", "2017-08-16 02:44:46.987643"], ["updated_at", "2017-08-16 02:44:46.987643"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 2], ["content", "content12"], ["created_at", "2017-08-16 02:44:46.989320"], ["updated_at", "2017-08-16 02:44:46.989320"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 02:44:46.990660"], ["updated_at", "2017-08-16 02:44:46.990660"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name31"], ["created_at", "2017-08-16 02:44:47.001607"], ["updated_at", "2017-08-16 02:44:47.001607"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.9ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name32"], ["created_at", "2017-08-16 02:44:47.009397"], ["updated_at", "2017-08-16 02:44:47.009397"]]
+ [1m[35m (0.5ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.6ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name1"], ["created_at", "2017-08-16 10:29:13.131542"], ["updated_at", "2017-08-16 10:29:13.131542"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name33"], ["created_at", "2017-08-16 02:44:47.033199"], ["updated_at", "2017-08-16 02:44:47.033199"]]
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 10:29:13.218079"], ["created_at", "2017-08-16 10:29:13.217908"], ["updated_at", "2017-08-16 10:29:13.217908"]]
+ [1m[35mSQL (2.1ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "content1"], ["created_at", "2017-08-16 10:29:13.221334"], ["updated_at", "2017-08-16 10:29:13.221334"]]
+ [1m[35mSQL (12.1ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 10:29:13.228357"], ["updated_at", "2017-08-16 10:29:13.228357"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name34"], ["created_at", "2017-08-16 02:44:47.038813"], ["updated_at", "2017-08-16 02:44:47.038813"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "books"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name35"], ["created_at", "2017-08-16 02:44:47.045986"], ["updated_at", "2017-08-16 02:44:47.045986"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (1.6ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "created_name"], ["created_at", "2017-08-16 10:29:13.251467"], ["updated_at", "2017-08-16 10:29:13.251467"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name36"], ["created_at", "2017-08-16 02:44:47.056075"], ["updated_at", "2017-08-16 02:44:47.056075"]]
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "approval_items" SET "resource_id" = ?, "updated_at" = ? WHERE "approval_items"."id" = ?[0m [["resource_id", 1], ["updated_at", "2017-08-16 10:29:13.258767"], ["id", 1]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "books"[0m
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (3.3ms)[0m [1m[34mSELECT COUNT(*) FROM "approval_items"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name37"], ["created_at", "2017-08-16 02:44:47.069481"], ["updated_at", "2017-08-16 02:44:47.069481"]]
+ [1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name2"], ["created_at", "2017-08-16 10:29:13.267927"], ["updated_at", "2017-08-16 10:29:13.267927"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name8"], ["created_at", "2017-08-16 10:29:13.274514"], ["updated_at", "2017-08-16 10:29:13.274514"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name25"], ["created_at", "2017-08-16 02:44:47.071493"], ["updated_at", "2017-08-16 02:44:47.071493"]]
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 10:29:13.281475"], ["created_at", "2017-08-16 10:29:13.281375"], ["updated_at", "2017-08-16 10:29:13.281375"]]
+ [1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "content2"], ["created_at", "2017-08-16 10:29:13.283945"], ["updated_at", "2017-08-16 10:29:13.283945"]]
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "update"], ["params", "---\n:name: updated_name\n"], ["created_at", "2017-08-16 10:29:13.287386"], ["updated_at", "2017-08-16 10:29:13.287386"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:47.084989"], ["created_at", "2017-08-16 02:44:47.084923"], ["updated_at", "2017-08-16 02:44:47.084923"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 02:44:47.086397"], ["updated_at", "2017-08-16 02:44:47.086397"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 02:44:47.087885"], ["updated_at", "2017-08-16 02:44:47.087885"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "approval_items"[0m
- [1m[35m (0.8ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mBook Load (0.4ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name38"], ["created_at", "2017-08-16 02:44:47.127547"], ["updated_at", "2017-08-16 02:44:47.127547"]]
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "name" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["name", "updated_name"], ["updated_at", "2017-08-16 10:29:13.301735"], ["id", 1]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name26"], ["created_at", "2017-08-16 02:44:47.129427"], ["updated_at", "2017-08-16 02:44:47.129427"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:47.135099"], ["created_at", "2017-08-16 02:44:47.135032"], ["updated_at", "2017-08-16 02:44:47.135032"]]
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 02:44:47.136261"], ["updated_at", "2017-08-16 02:44:47.136261"]]
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 02:44:47.137261"], ["updated_at", "2017-08-16 02:44:47.137261"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
+ [1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "approval_items"[0m
- [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name39"], ["created_at", "2017-08-16 02:44:47.141495"], ["updated_at", "2017-08-16 02:44:47.141495"]]
- [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name27"], ["created_at", "2017-08-16 02:44:47.143075"], ["updated_at", "2017-08-16 02:44:47.143075"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name28"], ["created_at", "2017-08-16 02:44:47.145256"], ["updated_at", "2017-08-16 02:44:47.145256"]]
+ [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name3"], ["created_at", "2017-08-16 10:29:13.314093"], ["updated_at", "2017-08-16 10:29:13.314093"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name29"], ["created_at", "2017-08-16 02:44:47.147774"], ["updated_at", "2017-08-16 02:44:47.147774"]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name9"], ["created_at", "2017-08-16 10:29:13.319423"], ["updated_at", "2017-08-16 10:29:13.319423"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:47.159128"], ["created_at", "2017-08-16 02:44:47.159061"], ["updated_at", "2017-08-16 02:44:47.159061"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 02:44:47.160447"], ["updated_at", "2017-08-16 02:44:47.160447"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 02:44:47.161871"], ["updated_at", "2017-08-16 02:44:47.161871"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 2], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 02:44:47.166687"], ["updated_at", "2017-08-16 02:44:47.166687"]]
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 3], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 02:44:47.167954"], ["updated_at", "2017-08-16 02:44:47.167954"]]
- [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "approval_items"[0m
- [1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.4ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name40"], ["created_at", "2017-08-16 02:44:47.174386"], ["updated_at", "2017-08-16 02:44:47.174386"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name30"], ["created_at", "2017-08-16 02:44:47.177530"], ["updated_at", "2017-08-16 02:44:47.177530"]]
- [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name31"], ["created_at", "2017-08-16 02:44:47.179094"], ["updated_at", "2017-08-16 02:44:47.179094"]]
- [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name32"], ["created_at", "2017-08-16 02:44:47.180398"], ["updated_at", "2017-08-16 02:44:47.180398"]]
- [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:47.187197"], ["created_at", "2017-08-16 02:44:47.187136"], ["updated_at", "2017-08-16 02:44:47.187136"]]
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 02:44:47.188314"], ["updated_at", "2017-08-16 02:44:47.188314"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 02:44:47.189477"], ["updated_at", "2017-08-16 02:44:47.189477"]]
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 2], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 02:44:47.190744"], ["updated_at", "2017-08-16 02:44:47.190744"]]
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 3], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 02:44:47.191900"], ["updated_at", "2017-08-16 02:44:47.191900"]]
- [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name41"], ["created_at", "2017-08-16 02:44:47.202114"], ["updated_at", "2017-08-16 02:44:47.202114"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name33"], ["created_at", "2017-08-16 02:44:47.206681"], ["updated_at", "2017-08-16 02:44:47.206681"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:47.219348"], ["created_at", "2017-08-16 02:44:47.219227"], ["updated_at", "2017-08-16 02:44:47.219227"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 02:44:47.220895"], ["updated_at", "2017-08-16 02:44:47.220895"]]
- [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name\n"], ["created_at", "2017-08-16 02:44:47.223442"], ["updated_at", "2017-08-16 02:44:47.223442"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "approval_items"[0m
- [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name42"], ["created_at", "2017-08-16 02:44:47.229982"], ["updated_at", "2017-08-16 02:44:47.229982"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name34"], ["created_at", "2017-08-16 02:44:47.232148"], ["updated_at", "2017-08-16 02:44:47.232148"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:47.239958"], ["created_at", "2017-08-16 02:44:47.239889"], ["updated_at", "2017-08-16 02:44:47.239889"]]
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 02:44:47.241146"], ["updated_at", "2017-08-16 02:44:47.241146"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name\n"], ["created_at", "2017-08-16 02:44:47.242331"], ["updated_at", "2017-08-16 02:44:47.242331"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "approval_items"[0m
- [1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "approval_items"[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name43"], ["created_at", "2017-08-16 02:44:47.256982"], ["updated_at", "2017-08-16 02:44:47.256982"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name35"], ["created_at", "2017-08-16 02:44:47.259139"], ["updated_at", "2017-08-16 02:44:47.259139"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name36"], ["created_at", "2017-08-16 02:44:47.260816"], ["updated_at", "2017-08-16 02:44:47.260816"]]
- [1m[35m (3.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name37"], ["created_at", "2017-08-16 02:44:47.266510"], ["updated_at", "2017-08-16 02:44:47.266510"]]
- [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:47.279071"], ["created_at", "2017-08-16 02:44:47.279002"], ["updated_at", "2017-08-16 02:44:47.279002"]]
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 02:44:47.280314"], ["updated_at", "2017-08-16 02:44:47.280314"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 0\n"], ["created_at", "2017-08-16 02:44:47.281501"], ["updated_at", "2017-08-16 02:44:47.281501"]]
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 2], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 1\n"], ["created_at", "2017-08-16 02:44:47.282946"], ["updated_at", "2017-08-16 02:44:47.282946"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 3], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 2\n"], ["created_at", "2017-08-16 02:44:47.284601"], ["updated_at", "2017-08-16 02:44:47.284601"]]
+ [1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 10:29:13.328434"], ["created_at", "2017-08-16 10:29:13.328306"], ["updated_at", "2017-08-16 10:29:13.328306"]]
+ [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "content3"], ["created_at", "2017-08-16 10:29:13.333989"], ["updated_at", "2017-08-16 10:29:13.333989"]]
+ [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 10:29:13.337231"], ["updated_at", "2017-08-16 10:29:13.337231"]]
+ [1m[35m (1.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "books"[0m
+ [1m[36mBook Load (0.7ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[35m (0.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "books" WHERE "books"."id" = ?[0m [["id", 1]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "approval_items"[0m
- [1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name44"], ["created_at", "2017-08-16 02:44:47.292129"], ["updated_at", "2017-08-16 02:44:47.292129"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name38"], ["created_at", "2017-08-16 02:44:47.295640"], ["updated_at", "2017-08-16 02:44:47.295640"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name39"], ["created_at", "2017-08-16 02:44:47.298338"], ["updated_at", "2017-08-16 02:44:47.298338"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name40"], ["created_at", "2017-08-16 02:44:47.301538"], ["updated_at", "2017-08-16 02:44:47.301538"]]
- [1m[35m (7.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:47.329312"], ["created_at", "2017-08-16 02:44:47.329237"], ["updated_at", "2017-08-16 02:44:47.329237"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 02:44:47.330983"], ["updated_at", "2017-08-16 02:44:47.330983"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 0\n"], ["created_at", "2017-08-16 02:44:47.332708"], ["updated_at", "2017-08-16 02:44:47.332708"]]
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 2], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 1\n"], ["created_at", "2017-08-16 02:44:47.334418"], ["updated_at", "2017-08-16 02:44:47.334418"]]
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 3], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 2\n"], ["created_at", "2017-08-16 02:44:47.336082"], ["updated_at", "2017-08-16 02:44:47.336082"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (1.5ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "books"[0m
+ [1m[35m (4.5ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "approval_items"[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name45"], ["created_at", "2017-08-16 02:44:47.348095"], ["updated_at", "2017-08-16 02:44:47.348095"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:47.368975"], ["created_at", "2017-08-16 02:44:47.368914"], ["updated_at", "2017-08-16 02:44:47.368914"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 02:44:47.370344"], ["updated_at", "2017-08-16 02:44:47.370344"]]
- [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name41\n"], ["created_at", "2017-08-16 02:44:47.373232"], ["updated_at", "2017-08-16 02:44:47.373232"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "approval_items"[0m
- [1m[35m (1.3ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name46"], ["created_at", "2017-08-16 02:44:47.384267"], ["updated_at", "2017-08-16 02:44:47.384267"]]
- [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:47.391260"], ["created_at", "2017-08-16 02:44:47.391195"], ["updated_at", "2017-08-16 02:44:47.391195"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 02:44:47.392420"], ["updated_at", "2017-08-16 02:44:47.392420"]]
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name42\n"], ["created_at", "2017-08-16 02:44:47.394438"], ["updated_at", "2017-08-16 02:44:47.394438"]]
+ [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name4"], ["created_at", "2017-08-16 10:29:13.388872"], ["updated_at", "2017-08-16 10:29:13.388872"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name47"], ["created_at", "2017-08-16 02:44:47.400930"], ["updated_at", "2017-08-16 02:44:47.400930"]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name10"], ["created_at", "2017-08-16 10:29:13.392155"], ["updated_at", "2017-08-16 10:29:13.392155"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:47.417450"], ["created_at", "2017-08-16 02:44:47.417385"], ["updated_at", "2017-08-16 02:44:47.417385"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 02:44:47.418620"], ["updated_at", "2017-08-16 02:44:47.418620"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name43\n"], ["created_at", "2017-08-16 02:44:47.419824"], ["updated_at", "2017-08-16 02:44:47.419824"]]
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name44\n"], ["created_at", "2017-08-16 02:44:47.422267"], ["updated_at", "2017-08-16 02:44:47.422267"]]
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name45\n"], ["created_at", "2017-08-16 02:44:47.426287"], ["updated_at", "2017-08-16 02:44:47.426287"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "approval_items"[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name48"], ["created_at", "2017-08-16 02:44:47.431303"], ["updated_at", "2017-08-16 02:44:47.431303"]]
- [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:47.440487"], ["created_at", "2017-08-16 02:44:47.440411"], ["updated_at", "2017-08-16 02:44:47.440411"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 02:44:47.441712"], ["updated_at", "2017-08-16 02:44:47.441712"]]
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name46\n"], ["created_at", "2017-08-16 02:44:47.442918"], ["updated_at", "2017-08-16 02:44:47.442918"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name47\n"], ["created_at", "2017-08-16 02:44:47.445747"], ["updated_at", "2017-08-16 02:44:47.445747"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name48\n"], ["created_at", "2017-08-16 02:44:47.448509"], ["updated_at", "2017-08-16 02:44:47.448509"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mBook Load (0.6ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[35mSQL (1.7ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 10:29:13.431048"], ["created_at", "2017-08-16 10:29:13.430793"], ["updated_at", "2017-08-16 10:29:13.430793"]]
+ [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 10:29:13.445731"], ["updated_at", "2017-08-16 10:29:13.445731"]]
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name\n"], ["created_at", "2017-08-16 10:29:13.451530"], ["updated_at", "2017-08-16 10:29:13.451530"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "approval_items"[0m
- [1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (3.0ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name49"], ["created_at", "2017-08-16 02:44:47.458829"], ["updated_at", "2017-08-16 02:44:47.458829"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name1"], ["created_at", "2017-08-16 03:34:53.473271"], ["updated_at", "2017-08-16 03:34:53.473271"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name2"], ["created_at", "2017-08-16 03:34:53.492196"], ["updated_at", "2017-08-16 03:34:53.492196"]]
- [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:53.553334"], ["created_at", "2017-08-16 03:34:53.552944"], ["updated_at", "2017-08-16 03:34:53.552944"]]
- [1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "content1"], ["created_at", "2017-08-16 03:34:53.556356"], ["updated_at", "2017-08-16 03:34:53.556356"]]
- [1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 03:34:53.558454"], ["updated_at", "2017-08-16 03:34:53.558454"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "approval_items"[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name3"], ["created_at", "2017-08-16 03:34:53.573343"], ["updated_at", "2017-08-16 03:34:53.573343"]]
- [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name1"], ["created_at", "2017-08-16 03:34:53.575527"], ["updated_at", "2017-08-16 03:34:53.575527"]]
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name5"], ["created_at", "2017-08-16 10:29:13.589497"], ["updated_at", "2017-08-16 10:29:13.589497"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:53.594033"], ["created_at", "2017-08-16 03:34:53.593899"], ["updated_at", "2017-08-16 03:34:53.593899"]]
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 03:34:53.596216"], ["updated_at", "2017-08-16 03:34:53.596216"]]
- [1m[36mBook Load (0.0ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name\n"], ["created_at", "2017-08-16 03:34:53.597730"], ["updated_at", "2017-08-16 03:34:53.597730"]]
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name11"], ["created_at", "2017-08-16 10:29:13.598261"], ["updated_at", "2017-08-16 10:29:13.598261"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "approval_items"[0m
- [1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name4"], ["created_at", "2017-08-16 03:34:53.632821"], ["updated_at", "2017-08-16 03:34:53.632821"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name2"], ["created_at", "2017-08-16 03:34:53.634991"], ["updated_at", "2017-08-16 03:34:53.634991"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[36mBook Load (0.0ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:53.644889"], ["created_at", "2017-08-16 03:34:53.644803"], ["updated_at", "2017-08-16 03:34:53.644803"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 03:34:53.646652"], ["updated_at", "2017-08-16 03:34:53.646652"]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 10:29:13.617332"], ["created_at", "2017-08-16 10:29:13.617258"], ["updated_at", "2017-08-16 10:29:13.617258"]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 10:29:13.618645"], ["updated_at", "2017-08-16 10:29:13.618645"]]
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name\n"], ["created_at", "2017-08-16 03:34:53.648658"], ["updated_at", "2017-08-16 03:34:53.648658"]]
- [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
+ [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name\n"], ["created_at", "2017-08-16 10:29:13.623364"], ["updated_at", "2017-08-16 10:29:13.623364"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (2.8ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "approval_items"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name5"], ["created_at", "2017-08-16 03:34:53.653647"], ["updated_at", "2017-08-16 03:34:53.653647"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name3"], ["created_at", "2017-08-16 03:34:53.656085"], ["updated_at", "2017-08-16 03:34:53.656085"]]
- [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name4"], ["created_at", "2017-08-16 03:34:53.657655"], ["updated_at", "2017-08-16 03:34:53.657655"]]
- [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mSQL (1.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name6"], ["created_at", "2017-08-16 10:29:13.638158"], ["updated_at", "2017-08-16 10:29:13.638158"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name12"], ["created_at", "2017-08-16 10:29:13.649925"], ["updated_at", "2017-08-16 10:29:13.649925"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name5"], ["created_at", "2017-08-16 03:34:53.659786"], ["updated_at", "2017-08-16 03:34:53.659786"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name13"], ["created_at", "2017-08-16 10:29:13.657319"], ["updated_at", "2017-08-16 10:29:13.657319"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mBook Load (0.6ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
- [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
- [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
- [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
- [1m[36mUser Load (1.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:53.690357"], ["created_at", "2017-08-16 03:34:53.689870"], ["updated_at", "2017-08-16 03:34:53.689870"]]
- [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 03:34:53.697852"], ["updated_at", "2017-08-16 03:34:53.697852"]]
- [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 0\n"], ["created_at", "2017-08-16 03:34:53.702359"], ["updated_at", "2017-08-16 03:34:53.702359"]]
- [1m[36mBook Load (0.5ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 2], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 1\n"], ["created_at", "2017-08-16 03:34:53.707921"], ["updated_at", "2017-08-16 03:34:53.707921"]]
- [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 3], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 2\n"], ["created_at", "2017-08-16 03:34:53.714662"], ["updated_at", "2017-08-16 03:34:53.714662"]]
- [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (1.2ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "approval_items"[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name6"], ["created_at", "2017-08-16 03:34:53.720701"], ["updated_at", "2017-08-16 03:34:53.720701"]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name14"], ["created_at", "2017-08-16 10:29:13.659627"], ["updated_at", "2017-08-16 10:29:13.659627"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name6"], ["created_at", "2017-08-16 03:34:53.722829"], ["updated_at", "2017-08-16 03:34:53.722829"]]
- [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name7"], ["created_at", "2017-08-16 03:34:53.724433"], ["updated_at", "2017-08-16 03:34:53.724433"]]
- [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name8"], ["created_at", "2017-08-16 03:34:53.726079"], ["updated_at", "2017-08-16 03:34:53.726079"]]
- [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:53.740210"], ["created_at", "2017-08-16 03:34:53.740125"], ["updated_at", "2017-08-16 03:34:53.740125"]]
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 03:34:53.741761"], ["updated_at", "2017-08-16 03:34:53.741761"]]
+ [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 10:29:13.682479"], ["created_at", "2017-08-16 10:29:13.682382"], ["updated_at", "2017-08-16 10:29:13.682382"]]
+ [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 10:29:13.684853"], ["updated_at", "2017-08-16 10:29:13.684853"]]
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 0\n"], ["created_at", "2017-08-16 03:34:53.743444"], ["updated_at", "2017-08-16 03:34:53.743444"]]
- [1m[36mBook Load (0.5ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 2], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 1\n"], ["created_at", "2017-08-16 03:34:53.746692"], ["updated_at", "2017-08-16 03:34:53.746692"]]
+ [1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 0\n"], ["created_at", "2017-08-16 10:29:13.688261"], ["updated_at", "2017-08-16 10:29:13.688261"]]
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 2], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 1\n"], ["created_at", "2017-08-16 10:29:13.693663"], ["updated_at", "2017-08-16 10:29:13.693663"]]
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 3], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 2\n"], ["created_at", "2017-08-16 03:34:53.748887"], ["updated_at", "2017-08-16 03:34:53.748887"]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 3], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 2\n"], ["created_at", "2017-08-16 10:29:13.697463"], ["updated_at", "2017-08-16 10:29:13.697463"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "approval_items"[0m
- [1m[35m (1.0ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (4.0ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name7"], ["created_at", "2017-08-16 03:34:53.756451"], ["updated_at", "2017-08-16 03:34:53.756451"]]
- [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name7"], ["created_at", "2017-08-16 10:29:13.709461"], ["updated_at", "2017-08-16 10:29:13.709461"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:53.768545"], ["created_at", "2017-08-16 03:34:53.768475"], ["updated_at", "2017-08-16 03:34:53.768475"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 03:34:53.770947"], ["updated_at", "2017-08-16 03:34:53.770947"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name9\n"], ["created_at", "2017-08-16 03:34:53.772674"], ["updated_at", "2017-08-16 03:34:53.772674"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "approval_items"[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name15"], ["created_at", "2017-08-16 10:29:13.711739"], ["updated_at", "2017-08-16 10:29:13.711739"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name8"], ["created_at", "2017-08-16 03:34:53.778794"], ["updated_at", "2017-08-16 03:34:53.778794"]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name16"], ["created_at", "2017-08-16 10:29:13.713542"], ["updated_at", "2017-08-16 10:29:13.713542"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:53.790154"], ["created_at", "2017-08-16 03:34:53.790083"], ["updated_at", "2017-08-16 03:34:53.790083"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 03:34:53.791567"], ["updated_at", "2017-08-16 03:34:53.791567"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name10\n"], ["created_at", "2017-08-16 03:34:53.793323"], ["updated_at", "2017-08-16 03:34:53.793323"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "approval_items"[0m
- [1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name9"], ["created_at", "2017-08-16 03:34:53.805517"], ["updated_at", "2017-08-16 03:34:53.805517"]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name17"], ["created_at", "2017-08-16 10:29:13.715705"], ["updated_at", "2017-08-16 10:29:13.715705"]]
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:53.822006"], ["created_at", "2017-08-16 03:34:53.821917"], ["updated_at", "2017-08-16 03:34:53.821917"]]
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 03:34:53.823634"], ["updated_at", "2017-08-16 03:34:53.823634"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name11\n"], ["created_at", "2017-08-16 03:34:53.824988"], ["updated_at", "2017-08-16 03:34:53.824988"]]
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name12\n"], ["created_at", "2017-08-16 03:34:53.839324"], ["updated_at", "2017-08-16 03:34:53.839324"]]
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name13\n"], ["created_at", "2017-08-16 03:34:53.841038"], ["updated_at", "2017-08-16 03:34:53.841038"]]
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mBook Load (0.4ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
+ [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 10:29:13.758420"], ["created_at", "2017-08-16 10:29:13.758143"], ["updated_at", "2017-08-16 10:29:13.758143"]]
+ [1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 10:29:13.763633"], ["updated_at", "2017-08-16 10:29:13.763633"]]
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 0\n"], ["created_at", "2017-08-16 10:29:13.769135"], ["updated_at", "2017-08-16 10:29:13.769135"]]
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 2], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 1\n"], ["created_at", "2017-08-16 10:29:13.783363"], ["updated_at", "2017-08-16 10:29:13.783363"]]
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
+ [1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 3], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 2\n"], ["created_at", "2017-08-16 10:29:13.791517"], ["updated_at", "2017-08-16 10:29:13.791517"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (1.3ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (1.5ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "approval_items"[0m
- [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name10"], ["created_at", "2017-08-16 03:34:53.846946"], ["updated_at", "2017-08-16 03:34:53.846946"]]
- [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:53.857236"], ["created_at", "2017-08-16 03:34:53.857164"], ["updated_at", "2017-08-16 03:34:53.857164"]]
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 03:34:53.859898"], ["updated_at", "2017-08-16 03:34:53.859898"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name14\n"], ["created_at", "2017-08-16 03:34:53.862581"], ["updated_at", "2017-08-16 03:34:53.862581"]]
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name15\n"], ["created_at", "2017-08-16 03:34:53.864423"], ["updated_at", "2017-08-16 03:34:53.864423"]]
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name16\n"], ["created_at", "2017-08-16 03:34:53.866716"], ["updated_at", "2017-08-16 03:34:53.866716"]]
+ [1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name8"], ["created_at", "2017-08-16 10:29:13.824603"], ["updated_at", "2017-08-16 10:29:13.824603"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "approval_items"[0m
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name11"], ["created_at", "2017-08-16 03:34:53.872259"], ["updated_at", "2017-08-16 03:34:53.872259"]]
+ [1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name9"], ["created_at", "2017-08-16 10:29:13.832270"], ["updated_at", "2017-08-16 10:29:13.832270"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (3.9ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (1.3ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name10"], ["created_at", "2017-08-16 10:29:13.865461"], ["updated_at", "2017-08-16 10:29:13.865461"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name12"], ["created_at", "2017-08-16 03:34:53.875405"], ["updated_at", "2017-08-16 03:34:53.875405"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 2], ["requested_at", "2017-08-16 03:34:53.881784"], ["created_at", "2017-08-16 03:34:53.881645"], ["updated_at", "2017-08-16 03:34:53.881645"]]
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 2], ["content", "content2"], ["created_at", "2017-08-16 03:34:53.883678"], ["updated_at", "2017-08-16 03:34:53.883678"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 03:34:53.885500"], ["updated_at", "2017-08-16 03:34:53.885500"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name13"], ["created_at", "2017-08-16 03:34:53.892186"], ["updated_at", "2017-08-16 03:34:53.892186"]]
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name11"], ["created_at", "2017-08-16 10:29:13.873440"], ["updated_at", "2017-08-16 10:29:13.873440"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name14"], ["created_at", "2017-08-16 03:34:53.894506"], ["updated_at", "2017-08-16 03:34:53.894506"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 2], ["requested_at", "2017-08-16 03:34:53.904961"], ["created_at", "2017-08-16 03:34:53.904864"], ["updated_at", "2017-08-16 03:34:53.904864"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 2], ["content", "content3"], ["created_at", "2017-08-16 03:34:53.907079"], ["updated_at", "2017-08-16 03:34:53.907079"]]
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 03:34:53.908694"], ["updated_at", "2017-08-16 03:34:53.908694"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (1.0ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name15"], ["created_at", "2017-08-16 03:34:53.916451"], ["updated_at", "2017-08-16 03:34:53.916451"]]
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name12"], ["created_at", "2017-08-16 10:29:13.882784"], ["updated_at", "2017-08-16 10:29:13.882784"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name16"], ["created_at", "2017-08-16 03:34:53.918943"], ["updated_at", "2017-08-16 03:34:53.918943"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 2], ["requested_at", "2017-08-16 03:34:53.926631"], ["created_at", "2017-08-16 03:34:53.926552"], ["updated_at", "2017-08-16 03:34:53.926552"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 2], ["content", "content4"], ["created_at", "2017-08-16 03:34:53.928050"], ["updated_at", "2017-08-16 03:34:53.928050"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 03:34:53.930092"], ["updated_at", "2017-08-16 03:34:53.930092"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name13"], ["created_at", "2017-08-16 10:29:13.897855"], ["updated_at", "2017-08-16 10:29:13.897855"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (1.7ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.7ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "approval_items"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name17"], ["created_at", "2017-08-16 03:34:53.936149"], ["updated_at", "2017-08-16 03:34:53.936149"]]
+ [1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name14"], ["created_at", "2017-08-16 10:29:13.936597"], ["updated_at", "2017-08-16 10:29:13.936597"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name18"], ["created_at", "2017-08-16 03:34:53.939559"], ["updated_at", "2017-08-16 03:34:53.939559"]]
- [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 2], ["requested_at", "2017-08-16 03:34:53.945019"], ["created_at", "2017-08-16 03:34:53.944853"], ["updated_at", "2017-08-16 03:34:53.944853"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 2], ["content", "content5"], ["created_at", "2017-08-16 03:34:53.947491"], ["updated_at", "2017-08-16 03:34:53.947491"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 03:34:53.948927"], ["updated_at", "2017-08-16 03:34:53.948927"]]
+ [1m[35mSQL (1.5ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name24"], ["created_at", "2017-08-16 10:29:13.942357"], ["updated_at", "2017-08-16 10:29:13.942357"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name19"], ["created_at", "2017-08-16 03:34:53.955247"], ["updated_at", "2017-08-16 03:34:53.955247"]]
+ [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 10:29:13.955357"], ["created_at", "2017-08-16 10:29:13.955212"], ["updated_at", "2017-08-16 10:29:13.955212"]]
+ [1m[35mSQL (2.1ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 10:29:13.967243"], ["updated_at", "2017-08-16 10:29:13.967243"]]
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 10:29:13.973919"], ["updated_at", "2017-08-16 10:29:13.973919"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name20"], ["created_at", "2017-08-16 03:34:53.957690"], ["updated_at", "2017-08-16 03:34:53.957690"]]
- [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "approval_items"[0m
+ [1m[35m (2.3ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.7ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (1.9ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name15"], ["created_at", "2017-08-16 10:29:14.032836"], ["updated_at", "2017-08-16 10:29:14.032836"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 2], ["requested_at", "2017-08-16 03:34:53.965611"], ["created_at", "2017-08-16 03:34:53.965523"], ["updated_at", "2017-08-16 03:34:53.965523"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 2], ["content", "content6"], ["created_at", "2017-08-16 03:34:53.967376"], ["updated_at", "2017-08-16 03:34:53.967376"]]
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 03:34:53.968686"], ["updated_at", "2017-08-16 03:34:53.968686"]]
+ [1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name25"], ["created_at", "2017-08-16 10:29:14.042281"], ["updated_at", "2017-08-16 10:29:14.042281"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 10:29:14.078718"], ["created_at", "2017-08-16 10:29:14.078190"], ["updated_at", "2017-08-16 10:29:14.078190"]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 10:29:14.083360"], ["updated_at", "2017-08-16 10:29:14.083360"]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 10:29:14.085003"], ["updated_at", "2017-08-16 10:29:14.085003"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (4.0ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.5ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (2.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name16"], ["created_at", "2017-08-16 10:29:14.103652"], ["updated_at", "2017-08-16 10:29:14.103652"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name26"], ["created_at", "2017-08-16 10:29:14.123480"], ["updated_at", "2017-08-16 10:29:14.123480"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name21"], ["created_at", "2017-08-16 03:34:53.974392"], ["updated_at", "2017-08-16 03:34:53.974392"]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name27"], ["created_at", "2017-08-16 10:29:14.130138"], ["updated_at", "2017-08-16 10:29:14.130138"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name22"], ["created_at", "2017-08-16 03:34:53.976736"], ["updated_at", "2017-08-16 03:34:53.976736"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name28"], ["created_at", "2017-08-16 10:29:14.132773"], ["updated_at", "2017-08-16 10:29:14.132773"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (9.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 10:29:14.152683"], ["created_at", "2017-08-16 10:29:14.152615"], ["updated_at", "2017-08-16 10:29:14.152615"]]
+ [1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 10:29:14.158934"], ["updated_at", "2017-08-16 10:29:14.158934"]]
+ [1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 10:29:14.162984"], ["updated_at", "2017-08-16 10:29:14.162984"]]
+ [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 2], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 10:29:14.169018"], ["updated_at", "2017-08-16 10:29:14.169018"]]
+ [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 3], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 10:29:14.172585"], ["updated_at", "2017-08-16 10:29:14.172585"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (4.7ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.4ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "approval_items"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 2], ["requested_at", "2017-08-16 03:34:53.984516"], ["created_at", "2017-08-16 03:34:53.984444"], ["updated_at", "2017-08-16 03:34:53.984444"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 2], ["content", "content7"], ["created_at", "2017-08-16 03:34:53.986896"], ["updated_at", "2017-08-16 03:34:53.986896"]]
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 03:34:53.988536"], ["updated_at", "2017-08-16 03:34:53.988536"]]
+ [1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name17"], ["created_at", "2017-08-16 10:29:14.197808"], ["updated_at", "2017-08-16 10:29:14.197808"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name23"], ["created_at", "2017-08-16 03:34:53.994568"], ["updated_at", "2017-08-16 03:34:53.994568"]]
+ [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name29"], ["created_at", "2017-08-16 10:29:14.209287"], ["updated_at", "2017-08-16 10:29:14.209287"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name24"], ["created_at", "2017-08-16 03:34:53.997572"], ["updated_at", "2017-08-16 03:34:53.997572"]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name30"], ["created_at", "2017-08-16 10:29:14.213463"], ["updated_at", "2017-08-16 10:29:14.213463"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name31"], ["created_at", "2017-08-16 10:29:14.215825"], ["updated_at", "2017-08-16 10:29:14.215825"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 2], ["requested_at", "2017-08-16 03:34:54.004295"], ["created_at", "2017-08-16 03:34:54.004214"], ["updated_at", "2017-08-16 03:34:54.004214"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 2], ["content", "content8"], ["created_at", "2017-08-16 03:34:54.005772"], ["updated_at", "2017-08-16 03:34:54.005772"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 03:34:54.007309"], ["updated_at", "2017-08-16 03:34:54.007309"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
+ [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 10:29:14.241882"], ["created_at", "2017-08-16 10:29:14.241698"], ["updated_at", "2017-08-16 10:29:14.241698"]]
+ [1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 10:29:14.249726"], ["updated_at", "2017-08-16 10:29:14.249726"]]
+ [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 10:29:14.257620"], ["updated_at", "2017-08-16 10:29:14.257620"]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 2], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 10:29:14.263962"], ["updated_at", "2017-08-16 10:29:14.263962"]]
+ [1m[35mSQL (7.0ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 3], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 10:29:14.266172"], ["updated_at", "2017-08-16 10:29:14.266172"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "approval_items"[0m
+ [1m[35m (1.6ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "approval_items"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name25"], ["created_at", "2017-08-16 03:34:54.016013"], ["updated_at", "2017-08-16 03:34:54.016013"]]
- [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name18"], ["created_at", "2017-08-16 10:29:14.286706"], ["updated_at", "2017-08-16 10:29:14.286706"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name26"], ["created_at", "2017-08-16 03:34:54.019156"], ["updated_at", "2017-08-16 03:34:54.019156"]]
+ [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 10:29:14.338950"], ["created_at", "2017-08-16 10:29:14.338831"], ["updated_at", "2017-08-16 10:29:14.338831"]]
+ [1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 10:29:14.344724"], ["updated_at", "2017-08-16 10:29:14.344724"]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name32\n"], ["created_at", "2017-08-16 10:29:14.347963"], ["updated_at", "2017-08-16 10:29:14.347963"]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name33\n"], ["created_at", "2017-08-16 10:29:14.349708"], ["updated_at", "2017-08-16 10:29:14.349708"]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name34\n"], ["created_at", "2017-08-16 10:29:14.351140"], ["updated_at", "2017-08-16 10:29:14.351140"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "approval_items"[0m
+ [1m[35m (1.9ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (2.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name19"], ["created_at", "2017-08-16 10:29:14.381566"], ["updated_at", "2017-08-16 10:29:14.381566"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 2], ["requested_at", "2017-08-16 03:34:54.024450"], ["created_at", "2017-08-16 03:34:54.024311"], ["updated_at", "2017-08-16 03:34:54.024311"]]
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 2], ["content", "content9"], ["created_at", "2017-08-16 03:34:54.026743"], ["updated_at", "2017-08-16 03:34:54.026743"]]
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 03:34:54.029040"], ["updated_at", "2017-08-16 03:34:54.029040"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
+ [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 10:29:14.418989"], ["created_at", "2017-08-16 10:29:14.418893"], ["updated_at", "2017-08-16 10:29:14.418893"]]
+ [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 10:29:14.420503"], ["updated_at", "2017-08-16 10:29:14.420503"]]
+ [1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name35\n"], ["created_at", "2017-08-16 10:29:14.428739"], ["updated_at", "2017-08-16 10:29:14.428739"]]
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name36\n"], ["created_at", "2017-08-16 10:29:14.438139"], ["updated_at", "2017-08-16 10:29:14.438139"]]
+ [1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name37\n"], ["created_at", "2017-08-16 10:29:14.443429"], ["updated_at", "2017-08-16 10:29:14.443429"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (4.8ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "approval_items"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name28"], ["created_at", "2017-08-16 03:34:54.040141"], ["updated_at", "2017-08-16 03:34:54.040141"]]
- [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name20"], ["created_at", "2017-08-16 10:29:14.468178"], ["updated_at", "2017-08-16 10:29:14.468178"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name30"], ["created_at", "2017-08-16 03:34:54.046876"], ["updated_at", "2017-08-16 03:34:54.046876"]]
- [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
+ [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 10:29:14.498817"], ["created_at", "2017-08-16 10:29:14.498186"], ["updated_at", "2017-08-16 10:29:14.498186"]]
+ [1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 10:29:14.504274"], ["updated_at", "2017-08-16 10:29:14.504274"]]
+ [1m[35mSQL (1.8ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name38\n"], ["created_at", "2017-08-16 10:29:14.509145"], ["updated_at", "2017-08-16 10:29:14.509145"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "approval_items"[0m
+ [1m[35m (1.7ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name21"], ["created_at", "2017-08-16 10:29:14.547755"], ["updated_at", "2017-08-16 10:29:14.547755"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 10:29:14.602375"], ["created_at", "2017-08-16 10:29:14.601468"], ["updated_at", "2017-08-16 10:29:14.601468"]]
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 10:29:14.610056"], ["updated_at", "2017-08-16 10:29:14.610056"]]
+ [1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name39\n"], ["created_at", "2017-08-16 10:29:14.619509"], ["updated_at", "2017-08-16 10:29:14.619509"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.9ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.5ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name32"], ["created_at", "2017-08-16 03:34:54.051897"], ["updated_at", "2017-08-16 03:34:54.051897"]]
+ [1m[35mSQL (3.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name23"], ["created_at", "2017-08-16 10:29:14.646729"], ["updated_at", "2017-08-16 10:29:14.646729"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.4ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name25"], ["created_at", "2017-08-16 10:29:14.670694"], ["updated_at", "2017-08-16 10:29:14.670694"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (1.8ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name27"], ["created_at", "2017-08-16 10:29:14.689275"], ["updated_at", "2017-08-16 10:29:14.689275"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.5ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name26"], ["created_at", "2017-08-16 03:34:54.093634"], ["updated_at", "2017-08-16 03:34:54.093634"]]
- [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (1.2ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name27"], ["created_at", "2017-08-16 03:34:54.100621"], ["updated_at", "2017-08-16 03:34:54.100621"]]
- [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (2.1ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name28"], ["created_at", "2017-08-16 03:34:54.124951"], ["updated_at", "2017-08-16 03:34:54.124951"]]
+ [1m[35mSQL (2.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name31"], ["created_at", "2017-08-16 10:29:14.774887"], ["updated_at", "2017-08-16 10:29:14.774887"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name32"], ["created_at", "2017-08-16 10:29:14.785971"], ["updated_at", "2017-08-16 10:29:14.785971"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 2], ["requested_at", "2017-08-16 10:29:14.811881"], ["created_at", "2017-08-16 10:29:14.811687"], ["updated_at", "2017-08-16 10:29:14.811687"]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 2], ["content", "content4"], ["created_at", "2017-08-16 10:29:14.814678"], ["updated_at", "2017-08-16 10:29:14.814678"]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 10:29:14.816222"], ["updated_at", "2017-08-16 10:29:14.816222"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (1.5ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.5ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (2.0ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name33"], ["created_at", "2017-08-16 10:29:14.830656"], ["updated_at", "2017-08-16 10:29:14.830656"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name29"], ["created_at", "2017-08-16 03:34:54.131795"], ["updated_at", "2017-08-16 03:34:54.131795"]]
+ [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name34"], ["created_at", "2017-08-16 10:29:14.841034"], ["updated_at", "2017-08-16 10:29:14.841034"]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 2], ["requested_at", "2017-08-16 10:29:14.865376"], ["created_at", "2017-08-16 10:29:14.865235"], ["updated_at", "2017-08-16 10:29:14.865235"]]
+ [1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 2], ["content", "content5"], ["created_at", "2017-08-16 10:29:14.875583"], ["updated_at", "2017-08-16 10:29:14.875583"]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 10:29:14.881197"], ["updated_at", "2017-08-16 10:29:14.881197"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (1.3ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (4.1ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name30"], ["created_at", "2017-08-16 03:34:54.143622"], ["updated_at", "2017-08-16 03:34:54.143622"]]
+ [1m[35mSQL (4.9ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name35"], ["created_at", "2017-08-16 10:29:14.886839"], ["updated_at", "2017-08-16 10:29:14.886839"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name36"], ["created_at", "2017-08-16 10:29:14.901757"], ["updated_at", "2017-08-16 10:29:14.901757"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 2], ["requested_at", "2017-08-16 10:29:14.924809"], ["created_at", "2017-08-16 10:29:14.924198"], ["updated_at", "2017-08-16 10:29:14.924198"]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 2], ["content", "content6"], ["created_at", "2017-08-16 10:29:14.931176"], ["updated_at", "2017-08-16 10:29:14.931176"]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 10:29:14.950169"], ["updated_at", "2017-08-16 10:29:14.950169"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.8ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (1.4ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name31"], ["created_at", "2017-08-16 03:34:54.160916"], ["updated_at", "2017-08-16 03:34:54.160916"]]
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (1.5ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name37"], ["created_at", "2017-08-16 10:29:14.962067"], ["updated_at", "2017-08-16 10:29:14.962067"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.9ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name38"], ["created_at", "2017-08-16 10:29:14.973549"], ["updated_at", "2017-08-16 10:29:14.973549"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (9.7ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 2], ["requested_at", "2017-08-16 10:29:15.000627"], ["created_at", "2017-08-16 10:29:15.000494"], ["updated_at", "2017-08-16 10:29:15.000494"]]
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 2], ["content", "content7"], ["created_at", "2017-08-16 10:29:15.014436"], ["updated_at", "2017-08-16 10:29:15.014436"]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 10:29:15.016973"], ["updated_at", "2017-08-16 10:29:15.016973"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.5ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.5ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (1.2ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name32"], ["created_at", "2017-08-16 03:34:54.216038"], ["updated_at", "2017-08-16 03:34:54.216038"]]
+ [1m[35mSQL (1.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name39"], ["created_at", "2017-08-16 10:29:15.031929"], ["updated_at", "2017-08-16 10:29:15.031929"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[36mApproval::Request Load (0.2ms)[0m [1m[34mSELECT "approval_requests".* FROM "approval_requests" WHERE "approval_requests"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[35m (1.5ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name36"], ["created_at", "2017-08-16 03:34:54.238920"], ["updated_at", "2017-08-16 03:34:54.238920"]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name40"], ["created_at", "2017-08-16 10:29:15.040313"], ["updated_at", "2017-08-16 10:29:15.040313"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 2], ["requested_at", "2017-08-16 10:29:15.065728"], ["created_at", "2017-08-16 10:29:15.065575"], ["updated_at", "2017-08-16 10:29:15.065575"]]
+ [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 2], ["content", "content8"], ["created_at", "2017-08-16 10:29:15.076676"], ["updated_at", "2017-08-16 10:29:15.076676"]]
+ [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 10:29:15.081516"], ["updated_at", "2017-08-16 10:29:15.081516"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name33"], ["created_at", "2017-08-16 03:34:54.243399"], ["updated_at", "2017-08-16 03:34:54.243399"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:54.250851"], ["created_at", "2017-08-16 03:34:54.250597"], ["updated_at", "2017-08-16 03:34:54.250597"]]
- [1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "content10"], ["created_at", "2017-08-16 03:34:54.255560"], ["updated_at", "2017-08-16 03:34:54.255560"]]
- [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "update"], ["params", "---\n:name: updated_name\n"], ["created_at", "2017-08-16 03:34:54.262904"], ["updated_at", "2017-08-16 03:34:54.262904"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
- [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "name" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["name", "updated_name"], ["updated_at", "2017-08-16 03:34:54.276807"], ["id", 1]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
- [1m[35m (0.8ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name37"], ["created_at", "2017-08-16 03:34:54.288094"], ["updated_at", "2017-08-16 03:34:54.288094"]]
- [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:54.293463"], ["created_at", "2017-08-16 03:34:54.293397"], ["updated_at", "2017-08-16 03:34:54.293397"]]
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "content11"], ["created_at", "2017-08-16 03:34:54.294727"], ["updated_at", "2017-08-16 03:34:54.294727"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 03:34:54.295921"], ["updated_at", "2017-08-16 03:34:54.295921"]]
- [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "books"[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "created_name"], ["created_at", "2017-08-16 03:34:54.300530"], ["updated_at", "2017-08-16 03:34:54.300530"]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (1.9ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name41"], ["created_at", "2017-08-16 10:29:15.092369"], ["updated_at", "2017-08-16 10:29:15.092369"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name42"], ["created_at", "2017-08-16 10:29:15.106149"], ["updated_at", "2017-08-16 10:29:15.106149"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "approval_items" SET "resource_id" = ?, "updated_at" = ? WHERE "approval_items"."id" = ?[0m [["resource_id", 1], ["updated_at", "2017-08-16 03:34:54.304943"], ["id", 1]]
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 2], ["requested_at", "2017-08-16 10:29:15.139282"], ["created_at", "2017-08-16 10:29:15.139169"], ["updated_at", "2017-08-16 10:29:15.139169"]]
+ [1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 2], ["content", "content9"], ["created_at", "2017-08-16 10:29:15.141563"], ["updated_at", "2017-08-16 10:29:15.141563"]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 10:29:15.147304"], ["updated_at", "2017-08-16 10:29:15.147304"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "books"[0m
- [1m[35m (0.9ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name38"], ["created_at", "2017-08-16 03:34:54.315377"], ["updated_at", "2017-08-16 03:34:54.315377"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name34"], ["created_at", "2017-08-16 03:34:54.321893"], ["updated_at", "2017-08-16 03:34:54.321893"]]
+ [1m[35m (1.3ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name43"], ["created_at", "2017-08-16 10:29:15.154406"], ["updated_at", "2017-08-16 10:29:15.154406"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name44"], ["created_at", "2017-08-16 10:29:15.166224"], ["updated_at", "2017-08-16 10:29:15.166224"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 2], ["requested_at", "2017-08-16 10:29:15.192110"], ["created_at", "2017-08-16 10:29:15.190864"], ["updated_at", "2017-08-16 10:29:15.190864"]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 2], ["content", "content10"], ["created_at", "2017-08-16 10:29:15.204733"], ["updated_at", "2017-08-16 10:29:15.204733"]]
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 10:29:15.206660"], ["updated_at", "2017-08-16 10:29:15.206660"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.7ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:54.326694"], ["created_at", "2017-08-16 03:34:54.326612"], ["updated_at", "2017-08-16 03:34:54.326612"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "content12"], ["created_at", "2017-08-16 03:34:54.327979"], ["updated_at", "2017-08-16 03:34:54.327979"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 03:34:54.329052"], ["updated_at", "2017-08-16 03:34:54.329052"]]
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name45"], ["created_at", "2017-08-16 10:29:15.216087"], ["updated_at", "2017-08-16 10:29:15.216087"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (3.2ms)[0m [1m[34mSELECT COUNT(*) FROM "books"[0m
- [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m [1m[31mDELETE FROM "books" WHERE "books"."id" = ?[0m [["id", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name46"], ["created_at", "2017-08-16 10:29:15.218359"], ["updated_at", "2017-08-16 10:29:15.218359"]]
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "books"[0m
- [1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name36"], ["created_at", "2017-08-16 03:34:54.343276"], ["updated_at", "2017-08-16 03:34:54.343276"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
+ [1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 2], ["requested_at", "2017-08-16 10:29:15.234810"], ["created_at", "2017-08-16 10:29:15.234491"], ["updated_at", "2017-08-16 10:29:15.234491"]]
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 2], ["content", "content11"], ["created_at", "2017-08-16 10:29:15.239653"], ["updated_at", "2017-08-16 10:29:15.239653"]]
+ [1m[35mSQL (1.3ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 10:29:15.247279"], ["updated_at", "2017-08-16 10:29:15.247279"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.4ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name39"], ["created_at", "2017-08-16 03:34:54.360690"], ["updated_at", "2017-08-16 03:34:54.360690"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (1.5ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name47"], ["created_at", "2017-08-16 10:29:15.311055"], ["updated_at", "2017-08-16 10:29:15.311055"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.6ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name40"], ["created_at", "2017-08-16 03:34:54.376459"], ["updated_at", "2017-08-16 03:34:54.376459"]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name48"], ["created_at", "2017-08-16 10:29:15.345429"], ["updated_at", "2017-08-16 10:29:15.345429"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name41"], ["created_at", "2017-08-16 03:34:54.386043"], ["updated_at", "2017-08-16 03:34:54.386043"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name42"], ["created_at", "2017-08-16 03:34:54.391754"], ["updated_at", "2017-08-16 03:34:54.391754"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name43"], ["created_at", "2017-08-16 03:34:54.398299"], ["updated_at", "2017-08-16 03:34:54.398299"]]
- [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (1.1ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (2.9ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 10:29:15.354234"], ["created_at", "2017-08-16 10:29:15.354077"], ["updated_at", "2017-08-16 10:29:15.354077"]]
+ [1m[35mSQL (1.8ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "content12"], ["created_at", "2017-08-16 10:29:15.363076"], ["updated_at", "2017-08-16 10:29:15.363076"]]
+ [1m[35mSQL (1.4ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 10:29:15.374784"], ["updated_at", "2017-08-16 10:29:15.374784"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (2.2ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.4ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name44"], ["created_at", "2017-08-16 03:34:54.418259"], ["updated_at", "2017-08-16 03:34:54.418259"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "approval_items"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name45"], ["created_at", "2017-08-16 03:34:54.428469"], ["updated_at", "2017-08-16 03:34:54.428469"]]
+ [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name49"], ["created_at", "2017-08-16 10:29:15.419066"], ["updated_at", "2017-08-16 10:29:15.419066"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (3.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name43"], ["created_at", "2017-08-16 03:34:54.434275"], ["updated_at", "2017-08-16 03:34:54.434275"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:54.440867"], ["created_at", "2017-08-16 03:34:54.440804"], ["updated_at", "2017-08-16 03:34:54.440804"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 03:34:54.441999"], ["updated_at", "2017-08-16 03:34:54.441999"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 03:34:54.443164"], ["updated_at", "2017-08-16 03:34:54.443164"]]
- [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "approval_items"[0m
[1m[35m (0.9ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name46"], ["created_at", "2017-08-16 03:34:54.456267"], ["updated_at", "2017-08-16 03:34:54.456267"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name44"], ["created_at", "2017-08-16 03:34:54.461362"], ["updated_at", "2017-08-16 03:34:54.461362"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:54.474616"], ["created_at", "2017-08-16 03:34:54.474422"], ["updated_at", "2017-08-16 03:34:54.474422"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 03:34:54.476453"], ["updated_at", "2017-08-16 03:34:54.476453"]]
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 03:34:54.478157"], ["updated_at", "2017-08-16 03:34:54.478157"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "approval_items"[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name47"], ["created_at", "2017-08-16 03:34:54.488097"], ["updated_at", "2017-08-16 03:34:54.488097"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name45"], ["created_at", "2017-08-16 03:34:54.490846"], ["updated_at", "2017-08-16 03:34:54.490846"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name46"], ["created_at", "2017-08-16 03:34:54.492648"], ["updated_at", "2017-08-16 03:34:54.492648"]]
- [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name47"], ["created_at", "2017-08-16 03:34:54.493982"], ["updated_at", "2017-08-16 03:34:54.493982"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:54.512274"], ["created_at", "2017-08-16 03:34:54.512109"], ["updated_at", "2017-08-16 03:34:54.512109"]]
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 03:34:54.515405"], ["updated_at", "2017-08-16 03:34:54.515405"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 03:34:54.518170"], ["updated_at", "2017-08-16 03:34:54.518170"]]
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 2], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 03:34:54.520509"], ["updated_at", "2017-08-16 03:34:54.520509"]]
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 3], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 03:34:54.522705"], ["updated_at", "2017-08-16 03:34:54.522705"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "approval_items"[0m
- [1m[35m (1.4ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name48"], ["created_at", "2017-08-16 03:34:54.535293"], ["updated_at", "2017-08-16 03:34:54.535293"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name48"], ["created_at", "2017-08-16 03:34:54.539103"], ["updated_at", "2017-08-16 03:34:54.539103"]]
- [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name49"], ["created_at", "2017-08-16 03:34:54.540446"], ["updated_at", "2017-08-16 03:34:54.540446"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "name50"], ["created_at", "2017-08-16 03:34:54.541930"], ["updated_at", "2017-08-16 03:34:54.541930"]]
- [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:54.554956"], ["created_at", "2017-08-16 03:34:54.554570"], ["updated_at", "2017-08-16 03:34:54.554570"]]
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 03:34:54.559899"], ["updated_at", "2017-08-16 03:34:54.559899"]]
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 03:34:54.561618"], ["updated_at", "2017-08-16 03:34:54.561618"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 2], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 03:34:54.563514"], ["updated_at", "2017-08-16 03:34:54.563514"]]
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["request_id", 1], ["resource_id", 3], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 03:34:54.566174"], ["updated_at", "2017-08-16 03:34:54.566174"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (1.5ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m