(2.5ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.4ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-02 22:23:23.265188"], ["updated_at", "2016-08-02 22:23:23.265188"]]  (2.2ms) commit transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.5ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.0ms) select sqlite_version(*)  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.5ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.0ms) select sqlite_version(*)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-02 22:25:12.762920"], ["updated_at", "2016-08-02 22:25:12.762920"]]  (2.3ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.3ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-02 22:25:54.532001"], ["updated_at", "2016-08-02 22:25:54.532001"]]  (2.1ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.4ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-02 22:26:28.090983"], ["updated_at", "2016-08-02 22:26:28.090983"]]  (2.1ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.4ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-02 22:28:17.844514"], ["updated_at", "2016-08-02 22:28:17.844514"]]  (2.2ms) commit transaction Bank Load (0.2ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.4ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-02 22:28:57.943244"], ["updated_at", "2016-08-02 22:28:57.943244"]]  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.4ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)  (0.1ms) select sqlite_version(*)  (0.6ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-02 22:30:32.813572"], ["updated_at", "2016-08-02 22:30:32.813572"]]  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.4ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.2ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-02 22:34:36.991454"], ["updated_at", "2016-08-02 22:34:36.991454"]]  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.5ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.1ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)  (0.1ms) select sqlite_version(*)  (0.6ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-02 22:36:16.529372"], ["updated_at", "2016-08-02 22:36:16.529372"]]  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-02 22:41:59.203870"], ["updated_at", "2016-08-02 22:41:59.203870"]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-02 22:42:46.440193"], ["updated_at", "2016-08-02 22:42:46.440193"]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-02 22:43:27.428063"], ["updated_at", "2016-08-02 22:43:27.428063"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-02 22:44:40.146806"], ["updated_at", "2016-08-02 22:44:40.146806"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 22:44:40.146806"], ["item_id", 1], ["item_type", "Bank"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-02 22:45:03.948220"], ["updated_at", "2016-08-02 22:45:03.948220"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 22:45:03.948220"], ["item_id", 1], ["item_type", "Bank"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.4ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-02 22:45:24.514804"], ["updated_at", "2016-08-02 22:45:24.514804"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 22:45:24.514804"], ["item_id", 1], ["item_type", "Bank"]]  (2.6ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.2ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.7ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-02 22:46:05.898245"], ["updated_at", "2016-08-02 22:46:05.898245"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 22:46:05.898245"], ["item_id", 1], ["item_type", "Bank"]]  (2.3ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.2ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.5ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-02 22:46:41.676673"], ["updated_at", "2016-08-02 22:46:41.676673"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 22:46:41.676673"], ["item_id", 1], ["item_type", "Bank"]]  (2.4ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.2ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-02 23:18:32.556299"], ["updated_at", "2016-08-02 23:18:32.556299"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 23:18:32.556299"], ["item_id", 1], ["item_type", "Bank"]]  (0.7ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.5ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.5ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)  (0.2ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-02 23:18:57.270672"], ["updated_at", "2016-08-02 23:18:57.270672"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 23:18:57.270672"], ["item_id", 1], ["item_type", "Bank"]]  (2.3ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.8ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-02 23:20:04.435778"], ["updated_at", "2016-08-02 23:20:04.435778"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 23:20:04.435778"], ["item_id", 1], ["item_type", "Bank"]]  (2.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.3ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.4ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-02 23:21:33.095427"], ["updated_at", "2016-08-02 23:21:33.095427"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 23:21:33.095427"], ["item_id", 1], ["item_type", "Bank"]]  (2.2ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.7ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-02 23:22:18.669381"], ["updated_at", "2016-08-02 23:22:18.669381"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 23:22:18.669381"], ["item_id", 1], ["item_type", "Bank"]]  (2.6ms) commit transaction Bank Load (0.2ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.7ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-02 23:22:34.527826"], ["updated_at", "2016-08-02 23:22:34.527826"]] SQL (0.3ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 23:22:34.527826"], ["item_id", 1], ["item_type", "Bank"]]  (2.2ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.2ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.5ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-02 23:24:55.413914"], ["updated_at", "2016-08-02 23:24:55.413914"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 23:24:55.413914"], ["item_id", 1], ["item_type", "Bank"]]  (2.3ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.5ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-02 23:25:04.250654"], ["updated_at", "2016-08-02 23:25:04.250654"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 23:25:04.250654"], ["item_id", 1], ["item_type", "Bank"]]  (2.6ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.4ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-02 23:25:50.354239"], ["updated_at", "2016-08-02 23:25:50.354239"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 23:25:50.354239"], ["item_id", 1], ["item_type", "Bank"]]  (2.2ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.7ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)  (0.1ms) select sqlite_version(*)  (0.6ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-02 23:27:05.291477"], ["updated_at", "2016-08-02 23:27:05.291477"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 23:27:05.291477"], ["item_id", 1], ["item_type", "Bank"]]  (2.3ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.6ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-02 23:27:36.186131"], ["updated_at", "2016-08-02 23:27:36.186131"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 23:27:36.186131"], ["item_id", 1], ["item_type", "Bank"]]  (2.3ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.4ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-02 23:27:49.045741"], ["updated_at", "2016-08-02 23:27:49.045741"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 23:27:49.045741"], ["item_id", 1], ["item_type", "Bank"]]  (2.3ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.7ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.0ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-02 23:28:58.383130"], ["updated_at", "2016-08-02 23:28:58.383130"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 23:28:58.383130"], ["item_id", 1], ["item_type", "Bank"]]  (2.6ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-02 23:28:58.412120"], ["updated_at", "2016-08-02 23:28:58.412120"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 23:28:58.412120"], ["item_id", 2], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-02 23:28:58.416220"], ["id", 2]] SQL (0.2ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-02 23:28:58.412120000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-02 23:28:58.416220"], ["item_id", 2], ["item_type", "Bank"]]  (0.4ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.5ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-02 23:32:00.695897"], ["updated_at", "2016-08-02 23:32:00.695897"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 23:32:00.695897"], ["item_id", 1], ["item_type", "Bank"]]  (2.4ms) commit transaction Bank Load (0.2ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-02 23:32:00.725445"], ["updated_at", "2016-08-02 23:32:00.725445"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 23:32:00.725445"], ["item_id", 2], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-02 23:32:00.729211"], ["id", 2]] SQL (0.2ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-02 23:32:00.725445000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-02 23:32:00.729211"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-02 23:32:00.737499"], ["updated_at", "2016-08-02 23:32:00.737499"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 23:32:00.737499"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-02 23:32:00.742117"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\ncreated_at: &1 2016-08-02 23:32:00.737499000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-02 23:32:00.742117"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-02 23:32:00.747475"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\ncreated_at: 2016-08-02 23:32:00.737499000 Z\nupdated_at: 2016-08-02 23:32:00.742117000 Z\n"], ["created_at", "2016-08-02 23:32:00.747475"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-02 23:32:00.756596"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \ncreated_at: 2016-08-02 23:32:00.737499000 Z\nupdated_at: 2016-08-02 23:32:00.747475000 Z\n"], ["created_at", "2016-08-02 23:32:00.756596"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.4ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)  (0.1ms) select sqlite_version(*)  (0.6ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-02 23:32:26.467377"], ["updated_at", "2016-08-02 23:32:26.467377"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 23:32:26.467377"], ["item_id", 1], ["item_type", "Bank"]]  (2.3ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-02 23:32:26.494946"], ["updated_at", "2016-08-02 23:32:26.494946"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 23:32:26.494946"], ["item_id", 2], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-02 23:32:26.498523"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-02 23:32:26.494946000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-02 23:32:26.498523"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-02 23:32:26.507019"], ["updated_at", "2016-08-02 23:32:26.507019"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 23:32:26.507019"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-02 23:32:26.510349"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\ncreated_at: &1 2016-08-02 23:32:26.507019000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-02 23:32:26.510349"], ["item_id", 3], ["item_type", "Bank"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-02 23:32:26.514635"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\ncreated_at: 2016-08-02 23:32:26.507019000 Z\nupdated_at: 2016-08-02 23:32:26.510349000 Z\n"], ["created_at", "2016-08-02 23:32:26.514635"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-02 23:32:26.525113"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \ncreated_at: 2016-08-02 23:32:26.507019000 Z\nupdated_at: 2016-08-02 23:32:26.514635000 Z\n"], ["created_at", "2016-08-02 23:32:26.525113"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.5ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.9ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-02 23:33:04.017550"], ["updated_at", "2016-08-02 23:33:04.017550"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 23:33:04.017550"], ["item_id", 1], ["item_type", "Bank"]]  (0.7ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.4ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.5ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-02 23:35:02.153630"], ["updated_at", "2016-08-02 23:35:02.153630"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 23:35:02.153630"], ["item_id", 1], ["item_type", "Bank"]]  (2.2ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.2ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-02 23:36:07.397332"], ["updated_at", "2016-08-02 23:36:07.397332"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 23:36:07.397332"], ["item_id", 2], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-02 23:36:07.401978"], ["id", 2]] SQL (0.2ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-02 23:36:07.397332000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-02 23:36:07.401978"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-02 23:36:08.275955"], ["updated_at", "2016-08-02 23:36:08.275955"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 23:36:08.275955"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-02 23:36:08.280564"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\ncreated_at: 2016-08-02 23:36:08.275955000 Z\nupdated_at: 2016-08-02 23:36:08.275955000 Z\n"], ["created_at", "2016-08-02 23:36:08.280564"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-02 23:36:08.284980"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\ncreated_at: 2016-08-02 23:36:08.275955000 Z\nupdated_at: 2016-08-02 23:36:08.280564000 Z\n"], ["created_at", "2016-08-02 23:36:08.284980"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-02 23:36:08.288613"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \ncreated_at: 2016-08-02 23:36:08.275955000 Z\nupdated_at: 2016-08-02 23:36:08.284980000 Z\n"], ["created_at", "2016-08-02 23:36:08.288613"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.5ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.7ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)  (0.1ms) select sqlite_version(*)  (0.6ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-02 23:36:17.259432"], ["updated_at", "2016-08-02 23:36:17.259432"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 23:36:17.259432"], ["item_id", 1], ["item_type", "Bank"]]  (2.3ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.2ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-02 23:36:25.151139"], ["updated_at", "2016-08-02 23:36:25.151139"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 23:36:25.151139"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-02 23:36:25.155121"], ["id", 2]] SQL (0.2ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-02 23:36:25.151139000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-02 23:36:25.155121"], ["item_id", 2], ["item_type", "Bank"]]  (0.9ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]]  (0.2ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-02 23:36:30.136088"], ["updated_at", "2016-08-02 23:36:30.136088"]] SQL (0.3ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 23:36:30.136088"], ["item_id", 3], ["item_type", "Bank"]]  (1.3ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] Bank Load (0.3ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) begin transaction SQL (0.4ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-02 23:36:36.453705"], ["id", 3]] SQL (0.3ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\ncreated_at: 2016-08-02 23:36:30.136088000 Z\nupdated_at: 2016-08-02 23:36:30.136088000 Z\n"], ["created_at", "2016-08-02 23:36:36.453705"], ["item_id", 3], ["item_type", "Bank"]]  (0.7ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-02 23:36:40.071736"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\ncreated_at: 2016-08-02 23:36:30.136088000 Z\nupdated_at: 2016-08-02 23:36:36.453705000 Z\n"], ["created_at", "2016-08-02 23:36:40.071736"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-02 23:36:40.076157"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \ncreated_at: 2016-08-02 23:36:30.136088000 Z\nupdated_at: 2016-08-02 23:36:40.071736000 Z\n"], ["created_at", "2016-08-02 23:36:40.076157"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.4ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-02 23:37:22.784639"], ["updated_at", "2016-08-02 23:37:22.784639"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 23:37:22.784639"], ["item_id", 1], ["item_type", "Bank"]]  (0.6ms) commit transaction Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-02 23:37:22.808509"], ["id", 1]] SQL (0.2ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 1\nvalue: 100\ncreated_at: 2016-08-02 23:37:22.784639000 Z\nupdated_at: 2016-08-02 23:37:22.784639000 Z\n"], ["created_at", "2016-08-02 23:37:22.808509"], ["item_id", 1], ["item_type", "Bank"]]  (0.6ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-02 23:37:22.814476"], ["id", 1]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 1\nvalue: 10\ncreated_at: 2016-08-02 23:37:22.784639000 Z\nupdated_at: 2016-08-02 23:37:22.808509000 Z\n"], ["created_at", "2016-08-02 23:37:22.814476"], ["item_id", 1], ["item_type", "Bank"]]  (0.6ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-02 23:37:22.818710"], ["id", 1]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 1\nvalue: \ncreated_at: 2016-08-02 23:37:22.784639000 Z\nupdated_at: 2016-08-02 23:37:22.814476000 Z\n"], ["created_at", "2016-08-02 23:37:22.818710"], ["item_id", 1], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.4ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.7ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-02 23:37:41.129482"], ["updated_at", "2016-08-02 23:37:41.129482"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 23:37:41.129482"], ["item_id", 1], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-02 23:37:41.153465"], ["id", 1]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 1\nvalue: 100\ncreated_at: 2016-08-02 23:37:41.129482000 Z\nupdated_at: 2016-08-02 23:37:41.129482000 Z\n"], ["created_at", "2016-08-02 23:37:41.153465"], ["item_id", 1], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-02 23:37:41.157575"], ["id", 1]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 1\nvalue: 10\ncreated_at: 2016-08-02 23:37:41.129482000 Z\nupdated_at: 2016-08-02 23:37:41.153465000 Z\n"], ["created_at", "2016-08-02 23:37:41.157575"], ["item_id", 1], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-02 23:37:41.161454"], ["id", 1]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 1\nvalue: \ncreated_at: 2016-08-02 23:37:41.129482000 Z\nupdated_at: 2016-08-02 23:37:41.157575000 Z\n"], ["created_at", "2016-08-02 23:37:41.161454"], ["item_id", 1], ["item_type", "Bank"]]  (0.9ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.9ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.0ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-02 23:38:04.947040"], ["updated_at", "2016-08-02 23:38:04.947040"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 23:38:04.947040"], ["item_id", 1], ["item_type", "Bank"]]  (0.6ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-02 23:38:04.969796"], ["id", 1]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 1\nvalue: 100\ncreated_at: 2016-08-02 23:38:04.947040000 Z\nupdated_at: 2016-08-02 23:38:04.947040000 Z\n"], ["created_at", "2016-08-02 23:38:04.969796"], ["item_id", 1], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-02 23:38:04.974507"], ["id", 1]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 1\nvalue: 10\ncreated_at: 2016-08-02 23:38:04.947040000 Z\nupdated_at: 2016-08-02 23:38:04.969796000 Z\n"], ["created_at", "2016-08-02 23:38:04.974507"], ["item_id", 1], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-02 23:38:04.978724"], ["id", 1]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 1\nvalue: \ncreated_at: 2016-08-02 23:38:04.947040000 Z\nupdated_at: 2016-08-02 23:38:04.974507000 Z\n"], ["created_at", "2016-08-02 23:38:04.978724"], ["item_id", 1], ["item_type", "Bank"]]  (0.6ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.5ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.7ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-02 23:39:41.149086"], ["updated_at", "2016-08-02 23:39:41.149086"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 23:39:41.149086"], ["item_id", 1], ["item_type", "Bank"]]  (0.6ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-02 23:39:41.177768"], ["id", 1]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 1\nvalue: 100\ncreated_at: 2016-08-02 23:39:41.149086000 Z\nupdated_at: 2016-08-02 23:39:41.149086000 Z\n"], ["created_at", "2016-08-02 23:39:41.177768"], ["item_id", 1], ["item_type", "Bank"]]  (0.4ms) commit transaction Bank Load (0.0ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-02 23:39:41.181854"], ["id", 1]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 1\nvalue: 10\ncreated_at: 2016-08-02 23:39:41.149086000 Z\nupdated_at: 2016-08-02 23:39:41.177768000 Z\n"], ["created_at", "2016-08-02 23:39:41.181854"], ["item_id", 1], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-02 23:39:41.185711"], ["id", 1]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 1\nvalue: \ncreated_at: 2016-08-02 23:39:41.149086000 Z\nupdated_at: 2016-08-02 23:39:41.181854000 Z\n"], ["created_at", "2016-08-02 23:39:41.185711"], ["item_id", 1], ["item_type", "Bank"]]  (0.4ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.7ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-02 23:42:14.867286"], ["updated_at", "2016-08-02 23:42:14.867286"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 23:42:14.867286"], ["item_id", 1], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-02 23:43:14.891849"], ["id", 1]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 1\nvalue: 100\ncreated_at: 2016-08-02 23:42:14.867286000 Z\nupdated_at: 2016-08-02 23:42:14.867286000 Z\n"], ["created_at", "2016-08-02 23:43:14.891849"], ["item_id", 1], ["item_type", "Bank"]]  (0.8ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-02 23:44:14.896998"], ["id", 1]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 1\nvalue: 10\ncreated_at: 2016-08-02 23:42:14.867286000 Z\nupdated_at: 2016-08-02 23:43:14.891849000 Z\n"], ["created_at", "2016-08-02 23:44:14.896998"], ["item_id", 1], ["item_type", "Bank"]]  (0.6ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-02 23:45:14.902489"], ["id", 1]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 1\nvalue: \ncreated_at: 2016-08-02 23:42:14.867286000 Z\nupdated_at: 2016-08-02 23:44:14.896998000 Z\n"], ["created_at", "2016-08-02 23:45:14.902489"], ["item_id", 1], ["item_type", "Bank"]]  (0.6ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.4ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.8ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-02 23:42:24.164273"], ["updated_at", "2016-08-02 23:42:24.164273"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 23:42:24.164273"], ["item_id", 1], ["item_type", "Bank"]]  (0.6ms) commit transaction Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-02 23:43:24.187814"], ["id", 1]] SQL (0.2ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 1\nvalue: 100\ncreated_at: 2016-08-02 23:42:24.164273000 Z\nupdated_at: 2016-08-02 23:42:24.164273000 Z\n"], ["created_at", "2016-08-02 23:43:24.187814"], ["item_id", 1], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-02 23:44:24.193850"], ["id", 1]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 1\nvalue: 10\ncreated_at: 2016-08-02 23:42:24.164273000 Z\nupdated_at: 2016-08-02 23:43:24.187814000 Z\n"], ["created_at", "2016-08-02 23:44:24.193850"], ["item_id", 1], ["item_type", "Bank"]]  (0.6ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-02 23:45:24.198790"], ["id", 1]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 1\nvalue: \ncreated_at: 2016-08-02 23:42:24.164273000 Z\nupdated_at: 2016-08-02 23:44:24.193850000 Z\n"], ["created_at", "2016-08-02 23:45:24.198790"], ["item_id", 1], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.6ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.2ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)  (0.1ms) select sqlite_version(*)  (0.6ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-02 23:46:02.504764"], ["updated_at", "2016-08-02 23:46:02.504764"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 23:46:02.504764"], ["item_id", 1], ["item_type", "Bank"]]  (0.6ms) commit transaction Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-02 23:47:02.528485"], ["id", 1]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 1\nvalue: 100\ncreated_at: 2016-08-02 23:46:02.504764000 Z\nupdated_at: 2016-08-02 23:46:02.504764000 Z\n"], ["created_at", "2016-08-02 23:47:02.528485"], ["item_id", 1], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-02 23:48:02.533301"], ["id", 1]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 1\nvalue: 10\ncreated_at: 2016-08-02 23:46:02.504764000 Z\nupdated_at: 2016-08-02 23:47:02.528485000 Z\n"], ["created_at", "2016-08-02 23:48:02.533301"], ["item_id", 1], ["item_type", "Bank"]]  (0.7ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-02 23:49:02.539197"], ["id", 1]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 1\nvalue: \ncreated_at: 2016-08-02 23:46:02.504764000 Z\nupdated_at: 2016-08-02 23:48:02.533301000 Z\n"], ["created_at", "2016-08-02 23:49:02.539197"], ["item_id", 1], ["item_type", "Bank"]]  (1.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.5ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.7ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-02 23:50:22.265723"], ["updated_at", "2016-08-02 23:50:22.265723"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 23:50:22.265723"], ["item_id", 1], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-02 23:51:22.292296"], ["id", 1]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 1\nvalue: 100\ncreated_at: 2016-08-02 23:50:22.265723000 Z\nupdated_at: 2016-08-02 23:50:22.265723000 Z\n"], ["created_at", "2016-08-02 23:51:22.292296"], ["item_id", 1], ["item_type", "Bank"]]  (0.6ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-02 23:52:22.297312"], ["id", 1]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 1\nvalue: 10\ncreated_at: 2016-08-02 23:50:22.265723000 Z\nupdated_at: 2016-08-02 23:51:22.292296000 Z\n"], ["created_at", "2016-08-02 23:52:22.297312"], ["item_id", 1], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-02 23:53:22.301680"], ["id", 1]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 1\nvalue: \ncreated_at: 2016-08-02 23:50:22.265723000 Z\nupdated_at: 2016-08-02 23:52:22.297312000 Z\n"], ["created_at", "2016-08-02 23:53:22.301680"], ["item_id", 1], ["item_type", "Bank"]]  (0.4ms) commit transaction Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.6ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.8ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-02 23:50:32.923064"], ["updated_at", "2016-08-02 23:50:32.923064"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 23:50:32.923064"], ["item_id", 1], ["item_type", "Bank"]]  (0.6ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-02 23:51:32.948054"], ["id", 1]] SQL (0.2ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 1\nvalue: 100\ncreated_at: 2016-08-02 23:50:32.923064000 Z\nupdated_at: 2016-08-02 23:50:32.923064000 Z\n"], ["created_at", "2016-08-02 23:51:32.948054"], ["item_id", 1], ["item_type", "Bank"]]  (1.2ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-02 23:52:32.954657"], ["id", 1]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 1\nvalue: 10\ncreated_at: 2016-08-02 23:50:32.923064000 Z\nupdated_at: 2016-08-02 23:51:32.948054000 Z\n"], ["created_at", "2016-08-02 23:52:32.954657"], ["item_id", 1], ["item_type", "Bank"]]  (0.9ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-02 23:53:32.960472"], ["id", 1]] SQL (0.2ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 1\nvalue: \ncreated_at: 2016-08-02 23:50:32.923064000 Z\nupdated_at: 2016-08-02 23:52:32.954657000 Z\n"], ["created_at", "2016-08-02 23:53:32.960472"], ["item_id", 1], ["item_type", "Bank"]]  (0.6ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.7ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.0ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-02 23:50:42.707188"], ["updated_at", "2016-08-02 23:50:42.707188"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 23:50:42.707188"], ["item_id", 1], ["item_type", "Bank"]]  (0.7ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-02 23:51:42.732151"], ["id", 1]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 1\nvalue: 100\ncreated_at: 2016-08-02 23:50:42.707188000 Z\nupdated_at: 2016-08-02 23:50:42.707188000 Z\n"], ["created_at", "2016-08-02 23:51:42.732151"], ["item_id", 1], ["item_type", "Bank"]]  (0.4ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-02 23:52:42.736928"], ["id", 1]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 1\nvalue: 10\ncreated_at: 2016-08-02 23:50:42.707188000 Z\nupdated_at: 2016-08-02 23:51:42.732151000 Z\n"], ["created_at", "2016-08-02 23:52:42.736928"], ["item_id", 1], ["item_type", "Bank"]]  (0.6ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-02 23:53:42.742156"], ["id", 1]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 1\nvalue: \ncreated_at: 2016-08-02 23:50:42.707188000 Z\nupdated_at: 2016-08-02 23:52:42.736928000 Z\n"], ["created_at", "2016-08-02 23:53:42.742156"], ["item_id", 1], ["item_type", "Bank"]]  (0.6ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.5ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-02 23:52:03.131585"], ["updated_at", "2016-08-02 23:52:03.131585"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 23:52:03.131585"], ["item_id", 1], ["item_type", "Bank"]]  (0.6ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-02 23:53:03.155164"], ["id", 1]] SQL (0.2ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 1\nvalue: 100\ncreated_at: 2016-08-02 23:52:03.131585000 Z\nupdated_at: 2016-08-02 23:52:03.131585000 Z\n"], ["created_at", "2016-08-02 23:53:03.155164"], ["item_id", 1], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-02 23:54:03.160489"], ["id", 1]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 1\nvalue: 10\ncreated_at: 2016-08-02 23:52:03.131585000 Z\nupdated_at: 2016-08-02 23:53:03.155164000 Z\n"], ["created_at", "2016-08-02 23:54:03.160489"], ["item_id", 1], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-02 23:55:03.165499"], ["id", 1]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 1\nvalue: \ncreated_at: 2016-08-02 23:52:03.131585000 Z\nupdated_at: 2016-08-02 23:54:03.160489000 Z\n"], ["created_at", "2016-08-02 23:55:03.165499"], ["item_id", 1], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-02 23:52:50.040661"], ["updated_at", "2016-08-02 23:52:50.040661"]] SQL (0.6ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 23:52:50.040661"], ["item_id", 1], ["item_type", "Bank"]]  (5.6ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.6ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-02 23:52:50.075932"], ["id", 1]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 1\nvalue: 100\ncreated_at: 2016-08-02 23:52:50.040661000 Z\nupdated_at: 2016-08-02 23:52:50.040661000 Z\n"], ["created_at", "2016-08-02 23:52:50.075932"], ["item_id", 1], ["item_type", "Bank"]]  (0.4ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-02 23:52:50.081257"], ["id", 1]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 1\nvalue: 10\ncreated_at: 2016-08-02 23:52:50.040661000 Z\nupdated_at: 2016-08-02 23:52:50.075932000 Z\n"], ["created_at", "2016-08-02 23:52:50.081257"], ["item_id", 1], ["item_type", "Bank"]]  (0.4ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-02 23:52:50.084886"], ["id", 1]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 1\nvalue: \ncreated_at: 2016-08-02 23:52:50.040661000 Z\nupdated_at: 2016-08-02 23:52:50.081257000 Z\n"], ["created_at", "2016-08-02 23:52:50.084886"], ["item_id", 1], ["item_type", "Bank"]]  (0.6ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 1]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.5ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.8ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-02 23:59:21.059710"], ["updated_at", "2016-08-02 23:59:21.059710"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 23:59:21.059710"], ["item_id", 1], ["item_type", "Bank"]]  (2.9ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-02 23:59:21.093334"], ["updated_at", "2016-08-02 23:59:21.093334"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 23:59:21.093334"], ["item_id", 2], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-02 23:59:21.097742"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-02 23:59:21.093334000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-02 23:59:21.097742"], ["item_id", 2], ["item_type", "Bank"]]  (0.7ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 2]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-02 23:59:21.106221"], ["updated_at", "2016-08-02 23:59:21.106221"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-02 23:59:21.106221"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-02 23:59:21.110291"], ["id", 3]] SQL (0.2ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\ncreated_at: 2016-08-02 23:59:21.106221000 Z\nupdated_at: 2016-08-02 23:59:21.106221000 Z\n"], ["created_at", "2016-08-02 23:59:21.110291"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-02 23:59:21.115089"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\ncreated_at: 2016-08-02 23:59:21.106221000 Z\nupdated_at: 2016-08-02 23:59:21.110291000 Z\n"], ["created_at", "2016-08-02 23:59:21.115089"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-02 23:59:21.119040"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \ncreated_at: 2016-08-02 23:59:21.106221000 Z\nupdated_at: 2016-08-02 23:59:21.115089000 Z\n"], ["created_at", "2016-08-02 23:59:21.119040"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.5ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.5ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 00:00:15.910061"], ["updated_at", "2016-08-03 00:00:15.910061"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:00:15.910061"], ["item_id", 1], ["item_type", "Bank"]]  (2.3ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 00:00:15.944589"], ["updated_at", "2016-08-03 00:00:15.944589"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:00:15.944589"], ["item_id", 2], ["item_type", "Bank"]]  (1.1ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 00:00:15.949353"], ["id", 2]] SQL (0.3ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-03 00:00:15.944589000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 00:00:15.949353"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 2]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 00:00:15.959976"], ["updated_at", "2016-08-03 00:00:15.959976"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:00:15.959976"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 00:00:15.963427"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\ncreated_at: 2016-08-03 00:00:15.959976000 Z\nupdated_at: 2016-08-03 00:00:15.959976000 Z\n"], ["created_at", "2016-08-03 00:00:15.963427"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 00:00:15.967997"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\ncreated_at: 2016-08-03 00:00:15.959976000 Z\nupdated_at: 2016-08-03 00:00:15.963427000 Z\n"], ["created_at", "2016-08-03 00:00:15.967997"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 00:00:15.972036"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \ncreated_at: 2016-08-03 00:00:15.959976000 Z\nupdated_at: 2016-08-03 00:00:15.967997000 Z\n"], ["created_at", "2016-08-03 00:00:15.972036"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 00:00:15.977346"], ["updated_at", "2016-08-03 00:00:15.977346"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:00:15.977346"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 00:00:15.980748"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: 2016-08-03 00:00:15.977346000 Z\nupdated_at: 2016-08-03 00:00:15.977346000 Z\n"], ["created_at", "2016-08-03 00:00:15.980748"], ["item_id", 4], ["item_type", "Bank"]]  (0.7ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 00:00:15.989688"], ["updated_at", "2016-08-03 00:00:15.989688"]]  (0.4ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.6ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)   (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.5ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.5ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 00:03:31.763642"], ["updated_at", "2016-08-03 00:03:31.763642"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:03:31.763642"], ["item_id", 1], ["item_type", "Bank"]]  (2.2ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 00:03:31.795214"], ["updated_at", "2016-08-03 00:03:31.795214"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:03:31.795214"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 00:03:31.798619"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-03 00:03:31.795214000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 00:03:31.798619"], ["item_id", 2], ["item_type", "Bank"]]  (0.4ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 2]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 00:03:31.806923"], ["updated_at", "2016-08-03 00:03:31.806923"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:03:31.806923"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 00:03:31.810826"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\ncreated_at: 2016-08-03 00:03:31.806923000 Z\nupdated_at: 2016-08-03 00:03:31.806923000 Z\nuser_id: \n"], ["created_at", "2016-08-03 00:03:31.810826"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 00:03:31.815015"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\ncreated_at: 2016-08-03 00:03:31.806923000 Z\nupdated_at: 2016-08-03 00:03:31.810826000 Z\nuser_id: \n"], ["created_at", "2016-08-03 00:03:31.815015"], ["item_id", 3], ["item_type", "Bank"]]  (1.1ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 00:03:31.819863"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \ncreated_at: 2016-08-03 00:03:31.806923000 Z\nupdated_at: 2016-08-03 00:03:31.815015000 Z\nuser_id: \n"], ["created_at", "2016-08-03 00:03:31.819863"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 00:03:31.826807"], ["updated_at", "2016-08-03 00:03:31.826807"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:03:31.826807"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 00:03:31.830419"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: 2016-08-03 00:03:31.826807000 Z\nupdated_at: 2016-08-03 00:03:31.826807000 Z\nuser_id: \n"], ["created_at", "2016-08-03 00:03:31.830419"], ["item_id", 4], ["item_type", "Bank"]]  (0.4ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 00:03:31.839051"], ["updated_at", "2016-08-03 00:03:31.839051"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 00:03:31.842796"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 10\ncreated_at: 2016-08-03 00:03:31.826807000 Z\nupdated_at: 2016-08-03 00:03:31.830419000 Z\nuser_id: \n"], ["created_at", "2016-08-03 00:03:31.842796"], ["item_id", 4], ["item_type", "Bank"]]  (0.7ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 00:03:31.846906"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 10\ncreated_at: 2016-08-03 00:03:31.826807000 Z\nupdated_at: 2016-08-03 00:03:31.842796000 Z\nuser_id: 1\n"], ["created_at", "2016-08-03 00:03:31.846906"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 00:03:31.851125"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: \ncreated_at: 2016-08-03 00:03:31.826807000 Z\nupdated_at: 2016-08-03 00:03:31.846906000 Z\nuser_id: 1\n"], ["created_at", "2016-08-03 00:03:31.851125"], ["item_id", 4], ["item_type", "Bank"]]  (0.8ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.3ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)   (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 00:04:35.541675"], ["updated_at", "2016-08-03 00:04:35.541675"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:04:35.541675"], ["item_id", 1], ["item_type", "Bank"]]  (2.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 00:04:35.574811"], ["updated_at", "2016-08-03 00:04:35.574811"]] SQL (0.4ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:04:35.574811"], ["item_id", 2], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 00:04:35.580361"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-03 00:04:35.574811000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 00:04:35.580361"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 2]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 00:04:35.589494"], ["updated_at", "2016-08-03 00:04:35.589494"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:04:35.589494"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 00:04:35.593207"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\ncreated_at: 2016-08-03 00:04:35.589494000 Z\nupdated_at: 2016-08-03 00:04:35.589494000 Z\nuser_id: \n"], ["created_at", "2016-08-03 00:04:35.593207"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.4ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 00:04:35.597370"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\ncreated_at: 2016-08-03 00:04:35.589494000 Z\nupdated_at: 2016-08-03 00:04:35.593207000 Z\nuser_id: \n"], ["created_at", "2016-08-03 00:04:35.597370"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 00:04:35.601737"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \ncreated_at: 2016-08-03 00:04:35.589494000 Z\nupdated_at: 2016-08-03 00:04:35.597370000 Z\nuser_id: \n"], ["created_at", "2016-08-03 00:04:35.601737"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 00:04:35.607272"], ["updated_at", "2016-08-03 00:04:35.607272"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:04:35.607272"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 00:04:35.611171"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: 2016-08-03 00:04:35.607272000 Z\nupdated_at: 2016-08-03 00:04:35.607272000 Z\nuser_id: \n"], ["created_at", "2016-08-03 00:04:35.611171"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 00:04:35.619947"], ["updated_at", "2016-08-03 00:04:35.619947"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 00:04:35.623329"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 10\ncreated_at: 2016-08-03 00:04:35.607272000 Z\nupdated_at: 2016-08-03 00:04:35.611171000 Z\nuser_id: \n"], ["created_at", "2016-08-03 00:04:35.623329"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 00:04:35.627858"], ["id", 4]] SQL (0.2ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 10\ncreated_at: 2016-08-03 00:04:35.607272000 Z\nupdated_at: 2016-08-03 00:04:35.623329000 Z\nuser_id: 1\n"], ["created_at", "2016-08-03 00:04:35.627858"], ["item_id", 4], ["item_type", "Bank"]]  (0.4ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 00:04:35.631700"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: \ncreated_at: 2016-08-03 00:04:35.607272000 Z\nupdated_at: 2016-08-03 00:04:35.627858000 Z\nuser_id: 1\n"], ["created_at", "2016-08-03 00:04:35.631700"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 4]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.7ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)   (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.7ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.6ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 00:05:08.900853"], ["updated_at", "2016-08-03 00:05:08.900853"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:05:08.900853"], ["item_id", 1], ["item_type", "Bank"]]  (2.3ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 00:05:08.935881"], ["updated_at", "2016-08-03 00:05:08.935881"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:05:08.935881"], ["item_id", 2], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 00:05:08.939953"], ["id", 2]] SQL (0.2ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-03 00:05:08.935881000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 00:05:08.939953"], ["item_id", 2], ["item_type", "Bank"]]  (0.7ms) commit transaction Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 2]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 00:05:08.951352"], ["updated_at", "2016-08-03 00:05:08.951352"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:05:08.951352"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 00:05:08.955068"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\ncreated_at: 2016-08-03 00:05:08.951352000 Z\nupdated_at: 2016-08-03 00:05:08.951352000 Z\nuser_id: \n"], ["created_at", "2016-08-03 00:05:08.955068"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 00:05:08.959744"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\ncreated_at: 2016-08-03 00:05:08.951352000 Z\nupdated_at: 2016-08-03 00:05:08.955068000 Z\nuser_id: \n"], ["created_at", "2016-08-03 00:05:08.959744"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 00:05:08.964374"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \ncreated_at: 2016-08-03 00:05:08.951352000 Z\nupdated_at: 2016-08-03 00:05:08.959744000 Z\nuser_id: \n"], ["created_at", "2016-08-03 00:05:08.964374"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 00:05:08.969732"], ["updated_at", "2016-08-03 00:05:08.969732"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:05:08.969732"], ["item_id", 4], ["item_type", "Bank"]]  (0.4ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 00:05:08.977316"], ["updated_at", "2016-08-03 00:05:08.977316"]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 00:05:08.981499"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: 2016-08-03 00:05:08.969732000 Z\nupdated_at: 2016-08-03 00:05:08.969732000 Z\nuser_id: \n"], ["created_at", "2016-08-03 00:05:08.981499"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 00:05:08.985899"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: 2016-08-03 00:05:08.969732000 Z\nupdated_at: 2016-08-03 00:05:08.981499000 Z\nuser_id: 1\n"], ["created_at", "2016-08-03 00:05:08.985899"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.7ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)   (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.9ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.5ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 00:05:23.845697"], ["updated_at", "2016-08-03 00:05:23.845697"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:05:23.845697"], ["item_id", 1], ["item_type", "Bank"]]  (2.2ms) commit transaction Bank Load (0.2ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 00:05:23.878699"], ["updated_at", "2016-08-03 00:05:23.878699"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:05:23.878699"], ["item_id", 2], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 00:05:23.882106"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-03 00:05:23.878699000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 00:05:23.882106"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 2]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 00:05:23.890210"], ["updated_at", "2016-08-03 00:05:23.890210"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:05:23.890210"], ["item_id", 3], ["item_type", "Bank"]]  (0.9ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 00:05:23.894609"], ["id", 3]] SQL (0.3ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\ncreated_at: 2016-08-03 00:05:23.890210000 Z\nupdated_at: 2016-08-03 00:05:23.890210000 Z\nuser_id: \n"], ["created_at", "2016-08-03 00:05:23.894609"], ["item_id", 3], ["item_type", "Bank"]]  (1.0ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 00:05:23.900354"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\ncreated_at: 2016-08-03 00:05:23.890210000 Z\nupdated_at: 2016-08-03 00:05:23.894609000 Z\nuser_id: \n"], ["created_at", "2016-08-03 00:05:23.900354"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 00:05:23.905719"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \ncreated_at: 2016-08-03 00:05:23.890210000 Z\nupdated_at: 2016-08-03 00:05:23.900354000 Z\nuser_id: \n"], ["created_at", "2016-08-03 00:05:23.905719"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 00:05:23.911256"], ["updated_at", "2016-08-03 00:05:23.911256"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:05:23.911256"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 00:05:23.918114"], ["updated_at", "2016-08-03 00:05:23.918114"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 00:05:23.921672"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: 2016-08-03 00:05:23.911256000 Z\nupdated_at: 2016-08-03 00:05:23.911256000 Z\nuser_id: \n"], ["created_at", "2016-08-03 00:05:23.921672"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 00:05:23.925919"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: 2016-08-03 00:05:23.911256000 Z\nupdated_at: 2016-08-03 00:05:23.921672000 Z\nuser_id: 1\n"], ["created_at", "2016-08-03 00:05:23.925919"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 4]] PaperTrail::Version Load (0.3ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.0ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)   (1.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.5ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (1.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.4ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)   (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.8ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.5ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)   (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.6ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.4ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)   (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.6ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.6ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)   (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.5ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.3ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)   (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (1.1ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.8ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)   (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.1ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.6ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 00:30:59.114542"], ["updated_at", "2016-08-03 00:30:59.114542"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:30:59.114542"], ["item_id", 1], ["item_type", "Bank"]]  (0.6ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 00:30:59.147661"], ["updated_at", "2016-08-03 00:30:59.147661"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:30:59.147661"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 00:30:59.151475"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-03 00:30:59.147661000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 00:30:59.151475"], ["item_id", 2], ["item_type", "Bank"]]  (0.7ms) commit transaction Bank Load (0.2ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 00:30:59.159578"], ["updated_at", "2016-08-03 00:30:59.159578"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:30:59.159578"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 00:30:59.164418"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\ncreated_at: 2016-08-03 00:30:59.159578000 Z\nupdated_at: 2016-08-03 00:30:59.159578000 Z\nuser_id: \n"], ["created_at", "2016-08-03 00:30:59.164418"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 00:30:59.169794"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\ncreated_at: 2016-08-03 00:30:59.159578000 Z\nupdated_at: 2016-08-03 00:30:59.164418000 Z\nuser_id: \n"], ["created_at", "2016-08-03 00:30:59.169794"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 00:30:59.173826"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \ncreated_at: 2016-08-03 00:30:59.159578000 Z\nupdated_at: 2016-08-03 00:30:59.169794000 Z\nuser_id: \n"], ["created_at", "2016-08-03 00:30:59.173826"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 00:30:59.178231"], ["updated_at", "2016-08-03 00:30:59.178231"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:30:59.178231"], ["item_id", 4], ["item_type", "Bank"]]  (0.4ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 00:30:59.185510"], ["updated_at", "2016-08-03 00:30:59.185510"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 00:30:59.188769"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: 2016-08-03 00:30:59.178231000 Z\nupdated_at: 2016-08-03 00:30:59.178231000 Z\nuser_id: \n"], ["created_at", "2016-08-03 00:30:59.188769"], ["item_id", 4], ["item_type", "Bank"]]  (1.8ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 00:30:59.195047"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: 2016-08-03 00:30:59.178231000 Z\nupdated_at: 2016-08-03 00:30:59.188769000 Z\nuser_id: 1\n"], ["created_at", "2016-08-03 00:30:59.195047"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 4]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.6ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)   (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.5ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 00:33:24.329089"], ["updated_at", "2016-08-03 00:33:24.329089"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:33:24.329089"], ["item_id", 1], ["item_type", "Bank"]]  (2.4ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 00:33:24.364220"], ["updated_at", "2016-08-03 00:33:24.364220"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:33:24.364220"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 00:33:24.367919"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-03 00:33:24.364220000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 00:33:24.367919"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 2]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 00:33:24.377693"], ["updated_at", "2016-08-03 00:33:24.377693"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:33:24.377693"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 00:33:24.381084"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\ncreated_at: 2016-08-03 00:33:24.377693000 Z\nupdated_at: 2016-08-03 00:33:24.377693000 Z\nuser_id: \n"], ["created_at", "2016-08-03 00:33:24.381084"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 00:33:24.385182"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\ncreated_at: 2016-08-03 00:33:24.377693000 Z\nupdated_at: 2016-08-03 00:33:24.381084000 Z\nuser_id: \n"], ["created_at", "2016-08-03 00:33:24.385182"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 00:33:24.390466"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \ncreated_at: 2016-08-03 00:33:24.377693000 Z\nupdated_at: 2016-08-03 00:33:24.385182000 Z\nuser_id: \n"], ["created_at", "2016-08-03 00:33:24.390466"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 00:33:24.396736"], ["updated_at", "2016-08-03 00:33:24.396736"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:33:24.396736"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 00:33:24.405326"], ["updated_at", "2016-08-03 00:33:24.405326"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 00:33:24.409981"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: 2016-08-03 00:33:24.396736000 Z\nupdated_at: 2016-08-03 00:33:24.396736000 Z\nuser_id: \n"], ["created_at", "2016-08-03 00:33:24.409981"], ["item_id", 4], ["item_type", "Bank"]]  (0.4ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 00:33:24.414112"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: 2016-08-03 00:33:24.396736000 Z\nupdated_at: 2016-08-03 00:33:24.409981000 Z\nuser_id: 1\n"], ["created_at", "2016-08-03 00:33:24.414112"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.8ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)   (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.4ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.5ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 00:52:16.792563"], ["updated_at", "2016-08-03 00:52:16.792563"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:52:16.792563"], ["item_id", 1], ["item_type", "Bank"]]  (2.3ms) commit transaction Bank Load (0.2ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 00:52:16.825780"], ["updated_at", "2016-08-03 00:52:16.825780"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:52:16.825780"], ["item_id", 2], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 00:52:16.831444"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-03 00:52:16.825780000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 00:52:16.831444"], ["item_id", 2], ["item_type", "Bank"]]  (0.8ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 2]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 00:52:16.839619"], ["updated_at", "2016-08-03 00:52:16.839619"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:52:16.839619"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 00:52:16.843345"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\ncreated_at: 2016-08-03 00:52:16.839619000 Z\nupdated_at: 2016-08-03 00:52:16.839619000 Z\nuser_id: \n"], ["created_at", "2016-08-03 00:52:16.843345"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 00:52:16.847182"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\ncreated_at: 2016-08-03 00:52:16.839619000 Z\nupdated_at: 2016-08-03 00:52:16.843345000 Z\nuser_id: \n"], ["created_at", "2016-08-03 00:52:16.847182"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 00:52:16.851134"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \ncreated_at: 2016-08-03 00:52:16.839619000 Z\nupdated_at: 2016-08-03 00:52:16.847182000 Z\nuser_id: \n"], ["created_at", "2016-08-03 00:52:16.851134"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 00:52:16.859300"], ["updated_at", "2016-08-03 00:52:16.859300"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:52:16.859300"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 00:52:16.866332"], ["updated_at", "2016-08-03 00:52:16.866332"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 00:52:16.869566"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: 2016-08-03 00:52:16.859300000 Z\nupdated_at: 2016-08-03 00:52:16.859300000 Z\nuser_id: \n"], ["created_at", "2016-08-03 00:52:16.869566"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 00:52:16.874495"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: 2016-08-03 00:52:16.859300000 Z\nupdated_at: 2016-08-03 00:52:16.869566000 Z\nuser_id: 1\n"], ["created_at", "2016-08-03 00:52:16.874495"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.8ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)   (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.9ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.6ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 00:53:55.353791"], ["updated_at", "2016-08-03 00:53:55.353791"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:53:55.353791"], ["item_id", 1], ["item_type", "Bank"]]  (2.2ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 00:53:55.389306"], ["updated_at", "2016-08-03 00:53:55.389306"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:53:55.389306"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 00:53:55.393129"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-03 00:53:55.389306000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 00:53:55.393129"], ["item_id", 2], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 00:53:55.404552"], ["updated_at", "2016-08-03 00:53:55.404552"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:53:55.404552"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 00:53:55.408068"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\ncreated_at: &1 2016-08-03 00:53:55.404552000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 00:53:55.408068"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 00:53:55.412570"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\ncreated_at: 2016-08-03 00:53:55.404552000 Z\nupdated_at: 2016-08-03 00:53:55.408068000 Z\nuser_id: \n"], ["created_at", "2016-08-03 00:53:55.412570"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 00:53:55.416567"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \ncreated_at: 2016-08-03 00:53:55.404552000 Z\nupdated_at: 2016-08-03 00:53:55.412570000 Z\nuser_id: \n"], ["created_at", "2016-08-03 00:53:55.416567"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 00:53:55.423740"], ["updated_at", "2016-08-03 00:53:55.423740"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:53:55.423740"], ["item_id", 4], ["item_type", "Bank"]]  (1.0ms) commit transaction  (0.2ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 00:53:55.431913"], ["updated_at", "2016-08-03 00:53:55.431913"]]  (0.4ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 00:53:55.435906"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: &1 2016-08-03 00:53:55.423740000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 00:53:55.435906"], ["item_id", 4], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 00:53:55.440123"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: 2016-08-03 00:53:55.423740000 Z\nupdated_at: 2016-08-03 00:53:55.435906000 Z\nuser_id: 1\n"], ["created_at", "2016-08-03 00:53:55.440123"], ["item_id", 4], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 00:53:55.445585"], ["updated_at", "2016-08-03 00:53:55.445585"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 00:53:55.447075"], ["updated_at", "2016-08-03 00:53:55.447075"]]  (0.4ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 00:53:55.448791"], ["updated_at", "2016-08-03 00:53:55.448791"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:53:55.448791"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 00:53:55.452387"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: &1 2016-08-03 00:53:55.448791000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 00:53:55.452387"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.4ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)   (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 00:54:34.540981"], ["updated_at", "2016-08-03 00:54:34.540981"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:54:34.540981"], ["item_id", 1], ["item_type", "Bank"]]  (2.2ms) commit transaction Bank Load (0.2ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 00:54:34.573086"], ["updated_at", "2016-08-03 00:54:34.573086"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:54:34.573086"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 00:54:34.576601"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-03 00:54:34.573086000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 00:54:34.576601"], ["item_id", 2], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 00:54:34.586706"], ["updated_at", "2016-08-03 00:54:34.586706"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:54:34.586706"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 00:54:34.590644"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\ncreated_at: &1 2016-08-03 00:54:34.586706000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 00:54:34.590644"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 00:54:34.594632"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\ncreated_at: 2016-08-03 00:54:34.586706000 Z\nupdated_at: 2016-08-03 00:54:34.590644000 Z\nuser_id: \n"], ["created_at", "2016-08-03 00:54:34.594632"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 00:54:34.598459"], ["id", 3]] SQL (0.2ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \ncreated_at: 2016-08-03 00:54:34.586706000 Z\nupdated_at: 2016-08-03 00:54:34.594632000 Z\nuser_id: \n"], ["created_at", "2016-08-03 00:54:34.598459"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 00:54:34.605179"], ["updated_at", "2016-08-03 00:54:34.605179"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:54:34.605179"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 00:54:34.612963"], ["updated_at", "2016-08-03 00:54:34.612963"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 00:54:34.616507"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: &1 2016-08-03 00:54:34.605179000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 00:54:34.616507"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 00:54:34.620578"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: 2016-08-03 00:54:34.605179000 Z\nupdated_at: 2016-08-03 00:54:34.616507000 Z\nuser_id: 1\n"], ["created_at", "2016-08-03 00:54:34.620578"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 00:54:34.626125"], ["updated_at", "2016-08-03 00:54:34.626125"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 00:54:34.627673"], ["updated_at", "2016-08-03 00:54:34.627673"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 00:54:34.629490"], ["updated_at", "2016-08-03 00:54:34.629490"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:54:34.629490"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 00:54:34.633231"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: &1 2016-08-03 00:54:34.629490000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 00:54:34.633231"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 00:54:34.636754"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 00:54:34.629490000 Z\nupdated_at: 2016-08-03 00:54:34.633231000 Z\nuser_id: 2\n"], ["created_at", "2016-08-03 00:54:34.636754"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 00:54:34.640246"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 00:54:34.629490000 Z\nupdated_at: 2016-08-03 00:54:34.636754000 Z\nuser_id: 3\n"], ["created_at", "2016-08-03 00:54:34.640246"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.6ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)   (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.5ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.6ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 00:54:43.852546"], ["updated_at", "2016-08-03 00:54:43.852546"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:54:43.852546"], ["item_id", 1], ["item_type", "Bank"]]  (2.3ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.3ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 00:54:43.888733"], ["updated_at", "2016-08-03 00:54:43.888733"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:54:43.888733"], ["item_id", 2], ["item_type", "Bank"]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 00:54:43.894777"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-03 00:54:43.888733000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 00:54:43.894777"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 00:54:43.902492"], ["updated_at", "2016-08-03 00:54:43.902492"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:54:43.902492"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 00:54:43.905926"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\ncreated_at: &1 2016-08-03 00:54:43.902492000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 00:54:43.905926"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 00:54:43.909182"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\ncreated_at: 2016-08-03 00:54:43.902492000 Z\nupdated_at: 2016-08-03 00:54:43.905926000 Z\nuser_id: \n"], ["created_at", "2016-08-03 00:54:43.909182"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 00:54:43.912859"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \ncreated_at: 2016-08-03 00:54:43.902492000 Z\nupdated_at: 2016-08-03 00:54:43.909182000 Z\nuser_id: \n"], ["created_at", "2016-08-03 00:54:43.912859"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 00:54:43.919391"], ["updated_at", "2016-08-03 00:54:43.919391"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:54:43.919391"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 00:54:43.927060"], ["updated_at", "2016-08-03 00:54:43.927060"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 00:54:43.930697"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: &1 2016-08-03 00:54:43.919391000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 00:54:43.930697"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 00:54:43.934292"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: 2016-08-03 00:54:43.919391000 Z\nupdated_at: 2016-08-03 00:54:43.930697000 Z\nuser_id: 1\n"], ["created_at", "2016-08-03 00:54:43.934292"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 00:54:43.939828"], ["updated_at", "2016-08-03 00:54:43.939828"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 00:54:43.941500"], ["updated_at", "2016-08-03 00:54:43.941500"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 00:54:43.943148"], ["updated_at", "2016-08-03 00:54:43.943148"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 00:54:43.943148"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 00:54:43.946582"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: &1 2016-08-03 00:54:43.943148000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 00:54:43.946582"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 00:54:43.949746"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 00:54:43.943148000 Z\nupdated_at: 2016-08-03 00:54:43.946582000 Z\nuser_id: 2\n"], ["created_at", "2016-08-03 00:54:43.949746"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 00:54:43.954200"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 00:54:43.943148000 Z\nupdated_at: 2016-08-03 00:54:43.949746000 Z\nuser_id: 3\n"], ["created_at", "2016-08-03 00:54:43.954200"], ["item_id", 5], ["item_type", "Bank"]]  (1.0ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.5ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)   (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 01:11:14.020132"], ["updated_at", "2016-08-03 01:11:14.020132"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 01:11:14.020132"], ["item_id", 1], ["item_type", "Bank"]]  (2.2ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 01:11:14.047900"], ["updated_at", "2016-08-03 01:11:14.047900"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 01:11:14.047900"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 01:11:14.051907"], ["id", 2]] SQL (0.2ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-03 01:11:14.047900000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 01:11:14.051907"], ["item_id", 2], ["item_type", "Bank"]]  (0.8ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 01:11:14.062458"], ["updated_at", "2016-08-03 01:11:14.062458"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 01:11:14.062458"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 01:11:14.066159"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\ncreated_at: &1 2016-08-03 01:11:14.062458000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 01:11:14.066159"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 01:11:14.075895"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\ncreated_at: 2016-08-03 01:11:14.062458000 Z\nupdated_at: 2016-08-03 01:11:14.066159000 Z\nuser_id: \n"], ["created_at", "2016-08-03 01:11:14.075895"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 01:11:14.078989"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \ncreated_at: 2016-08-03 01:11:14.062458000 Z\nupdated_at: 2016-08-03 01:11:14.075895000 Z\nuser_id: \n"], ["created_at", "2016-08-03 01:11:14.078989"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 01:11:14.084691"], ["updated_at", "2016-08-03 01:11:14.084691"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 01:11:14.084691"], ["item_id", 4], ["item_type", "Bank"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 01:11:14.092877"], ["updated_at", "2016-08-03 01:11:14.092877"]]  (1.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 01:11:14.097446"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: &1 2016-08-03 01:11:14.084691000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 01:11:14.097446"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 01:11:14.101774"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: 2016-08-03 01:11:14.084691000 Z\nupdated_at: 2016-08-03 01:11:14.097446000 Z\nuser_id: 1\n"], ["created_at", "2016-08-03 01:11:14.101774"], ["item_id", 4], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 01:11:14.107195"], ["updated_at", "2016-08-03 01:11:14.107195"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 01:11:14.108403"], ["updated_at", "2016-08-03 01:11:14.108403"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 01:11:14.109809"], ["updated_at", "2016-08-03 01:11:14.109809"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 01:11:14.109809"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 01:11:14.112763"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: &1 2016-08-03 01:11:14.109809000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 01:11:14.112763"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 01:11:14.116022"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 01:11:14.109809000 Z\nupdated_at: 2016-08-03 01:11:14.112763000 Z\nuser_id: 2\n"], ["created_at", "2016-08-03 01:11:14.116022"], ["item_id", 5], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 01:11:14.119749"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 01:11:14.109809000 Z\nupdated_at: 2016-08-03 01:11:14.116022000 Z\nuser_id: 3\n"], ["created_at", "2016-08-03 01:11:14.119749"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 01:11:14.128194"], ["updated_at", "2016-08-03 01:11:14.128194"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 01:11:14.128194"], ["item_id", 6], ["item_type", "Bank"]]  (1.1ms) commit transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.8ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)   (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.9ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (1.2ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 02:21:11.382847"], ["updated_at", "2016-08-03 02:21:11.382847"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:21:11.382847"], ["item_id", 1], ["item_type", "Bank"]]  (2.2ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:21:11.431873"], ["updated_at", "2016-08-03 02:21:11.431873"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:21:11.431873"], ["item_id", 2], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 02:21:11.435743"], ["id", 2]] SQL (0.2ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-03 02:21:11.431873000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 02:21:11.435743"], ["item_id", 2], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 02:21:11.447421"], ["updated_at", "2016-08-03 02:21:11.447421"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:21:11.447421"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 02:21:11.450627"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\ncreated_at: &1 2016-08-03 02:21:11.447421000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 02:21:11.450627"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 02:21:11.454256"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\ncreated_at: 2016-08-03 02:21:11.447421000 Z\nupdated_at: 2016-08-03 02:21:11.450627000 Z\nuser_id: \n"], ["created_at", "2016-08-03 02:21:11.454256"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 02:21:11.458409"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \ncreated_at: 2016-08-03 02:21:11.447421000 Z\nupdated_at: 2016-08-03 02:21:11.454256000 Z\nuser_id: \n"], ["created_at", "2016-08-03 02:21:11.458409"], ["item_id", 3], ["item_type", "Bank"]]  (0.7ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 02:21:11.467000"], ["updated_at", "2016-08-03 02:21:11.467000"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:21:11.467000"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:21:11.474573"], ["updated_at", "2016-08-03 02:21:11.474573"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 02:21:11.479140"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: &1 2016-08-03 02:21:11.467000000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 02:21:11.479140"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 02:21:11.483284"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: 2016-08-03 02:21:11.467000000 Z\nupdated_at: 2016-08-03 02:21:11.479140000 Z\nuser_id: 1\n"], ["created_at", "2016-08-03 02:21:11.483284"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 9) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:21:11.492108"], ["updated_at", "2016-08-03 02:21:11.492108"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:21:11.493634"], ["updated_at", "2016-08-03 02:21:11.493634"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 02:21:11.495224"], ["updated_at", "2016-08-03 02:21:11.495224"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:21:11.495224"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 02:21:11.498342"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: &1 2016-08-03 02:21:11.495224000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 02:21:11.498342"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 02:21:11.501992"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 02:21:11.495224000 Z\nupdated_at: 2016-08-03 02:21:11.498342000 Z\nuser_id: 2\n"], ["created_at", "2016-08-03 02:21:11.501992"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 02:21:11.506107"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 02:21:11.495224000 Z\nupdated_at: 2016-08-03 02:21:11.501992000 Z\nuser_id: 3\n"], ["created_at", "2016-08-03 02:21:11.506107"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 12) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 13) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 14) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 02:21:11.515541"], ["updated_at", "2016-08-03 02:21:11.515541"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 02:21:11.515541"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.3ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)   (1.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.6ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (2.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 02:21:50.364185"], ["updated_at", "2016-08-03 02:21:50.364185"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:21:50.364185"], ["item_id", 1], ["item_type", "Bank"]]  (2.4ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:21:50.418057"], ["updated_at", "2016-08-03 02:21:50.418057"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:21:50.418057"], ["item_id", 2], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 02:21:50.423388"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-03 02:21:50.418057000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 02:21:50.423388"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 02:21:50.432609"], ["updated_at", "2016-08-03 02:21:50.432609"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:21:50.432609"], ["item_id", 3], ["item_type", "Bank"]]  (1.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 02:21:50.441923"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\ncreated_at: &1 2016-08-03 02:21:50.432609000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 02:21:50.441923"], ["item_id", 3], ["item_type", "Bank"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 02:21:50.446357"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\ncreated_at: 2016-08-03 02:21:50.432609000 Z\nupdated_at: 2016-08-03 02:21:50.441923000 Z\nuser_id: \n"], ["created_at", "2016-08-03 02:21:50.446357"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 02:21:50.451156"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \ncreated_at: 2016-08-03 02:21:50.432609000 Z\nupdated_at: 2016-08-03 02:21:50.446357000 Z\nuser_id: \n"], ["created_at", "2016-08-03 02:21:50.451156"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 02:21:50.459622"], ["updated_at", "2016-08-03 02:21:50.459622"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:21:50.459622"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:21:50.467718"], ["updated_at", "2016-08-03 02:21:50.467718"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 02:21:50.473134"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: &1 2016-08-03 02:21:50.459622000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 02:21:50.473134"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 02:21:50.477377"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: 2016-08-03 02:21:50.459622000 Z\nupdated_at: 2016-08-03 02:21:50.473134000 Z\nuser_id: 1\n"], ["created_at", "2016-08-03 02:21:50.477377"], ["item_id", 4], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 9) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:21:50.485653"], ["updated_at", "2016-08-03 02:21:50.485653"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:21:50.486913"], ["updated_at", "2016-08-03 02:21:50.486913"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 02:21:50.488233"], ["updated_at", "2016-08-03 02:21:50.488233"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:21:50.488233"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 02:21:50.491189"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: &1 2016-08-03 02:21:50.488233000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 02:21:50.491189"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 02:21:50.494783"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 02:21:50.488233000 Z\nupdated_at: 2016-08-03 02:21:50.491189000 Z\nuser_id: 2\n"], ["created_at", "2016-08-03 02:21:50.494783"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 02:21:50.497927"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 02:21:50.488233000 Z\nupdated_at: 2016-08-03 02:21:50.494783000 Z\nuser_id: 3\n"], ["created_at", "2016-08-03 02:21:50.497927"], ["item_id", 5], ["item_type", "Bank"]]  (0.7ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 12) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 13) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 14) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 02:21:50.511147"], ["updated_at", "2016-08-03 02:21:50.511147"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 02:21:50.511147"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.5ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)   (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.7ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.6ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 02:22:06.518301"], ["updated_at", "2016-08-03 02:22:06.518301"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:22:06.518301"], ["item_id", 1], ["item_type", "Bank"]]  (2.2ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:22:06.553896"], ["updated_at", "2016-08-03 02:22:06.553896"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:22:06.553896"], ["item_id", 2], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 02:22:06.557203"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-03 02:22:06.553896000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 02:22:06.557203"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 02:22:06.567466"], ["updated_at", "2016-08-03 02:22:06.567466"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:22:06.567466"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 02:22:06.571667"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\ncreated_at: &1 2016-08-03 02:22:06.567466000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 02:22:06.571667"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 02:22:06.575120"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\ncreated_at: 2016-08-03 02:22:06.567466000 Z\nupdated_at: 2016-08-03 02:22:06.571667000 Z\nuser_id: \n"], ["created_at", "2016-08-03 02:22:06.575120"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 02:22:06.579176"], ["id", 3]] SQL (0.2ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \ncreated_at: 2016-08-03 02:22:06.567466000 Z\nupdated_at: 2016-08-03 02:22:06.575120000 Z\nuser_id: \n"], ["created_at", "2016-08-03 02:22:06.579176"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 02:22:06.589195"], ["updated_at", "2016-08-03 02:22:06.589195"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:22:06.589195"], ["item_id", 4], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:22:06.596394"], ["updated_at", "2016-08-03 02:22:06.596394"]]  (0.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 02:22:06.600643"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: &1 2016-08-03 02:22:06.589195000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 02:22:06.600643"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 02:22:06.605075"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: 2016-08-03 02:22:06.589195000 Z\nupdated_at: 2016-08-03 02:22:06.600643000 Z\nuser_id: 1\n"], ["created_at", "2016-08-03 02:22:06.605075"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 9) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:22:06.612708"], ["updated_at", "2016-08-03 02:22:06.612708"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:22:06.614363"], ["updated_at", "2016-08-03 02:22:06.614363"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 02:22:06.615609"], ["updated_at", "2016-08-03 02:22:06.615609"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:22:06.615609"], ["item_id", 5], ["item_type", "Bank"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 02:22:06.618880"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: &1 2016-08-03 02:22:06.615609000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 02:22:06.618880"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 02:22:06.622426"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 02:22:06.615609000 Z\nupdated_at: 2016-08-03 02:22:06.618880000 Z\nuser_id: 2\n"], ["created_at", "2016-08-03 02:22:06.622426"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 02:22:06.626046"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 02:22:06.615609000 Z\nupdated_at: 2016-08-03 02:22:06.622426000 Z\nuser_id: 3\n"], ["created_at", "2016-08-03 02:22:06.626046"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 12) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 13) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 14) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 02:22:06.634493"], ["updated_at", "2016-08-03 02:22:06.634493"]] SQL (0.3ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 02:22:06.634493"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.6ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)   (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 02:22:24.678987"], ["updated_at", "2016-08-03 02:22:24.678987"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:22:24.678987"], ["item_id", 1], ["item_type", "Bank"]]  (2.2ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:22:24.711281"], ["updated_at", "2016-08-03 02:22:24.711281"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:22:24.711281"], ["item_id", 2], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 02:22:24.715033"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-03 02:22:24.711281000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 02:22:24.715033"], ["item_id", 2], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 02:22:24.725559"], ["updated_at", "2016-08-03 02:22:24.725559"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:22:24.725559"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 02:22:24.728688"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\ncreated_at: &1 2016-08-03 02:22:24.725559000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 02:22:24.728688"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 02:22:24.732059"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\ncreated_at: 2016-08-03 02:22:24.725559000 Z\nupdated_at: 2016-08-03 02:22:24.728688000 Z\nuser_id: \n"], ["created_at", "2016-08-03 02:22:24.732059"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 02:22:24.735174"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \ncreated_at: 2016-08-03 02:22:24.725559000 Z\nupdated_at: 2016-08-03 02:22:24.732059000 Z\nuser_id: \n"], ["created_at", "2016-08-03 02:22:24.735174"], ["item_id", 3], ["item_type", "Bank"]]  (0.9ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 02:22:24.745428"], ["updated_at", "2016-08-03 02:22:24.745428"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:22:24.745428"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:22:24.752598"], ["updated_at", "2016-08-03 02:22:24.752598"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 02:22:24.755760"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: &1 2016-08-03 02:22:24.745428000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 02:22:24.755760"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 02:22:24.760913"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: 2016-08-03 02:22:24.745428000 Z\nupdated_at: 2016-08-03 02:22:24.755760000 Z\nuser_id: 1\n"], ["created_at", "2016-08-03 02:22:24.760913"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 9) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:22:24.768180"], ["updated_at", "2016-08-03 02:22:24.768180"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:22:24.769863"], ["updated_at", "2016-08-03 02:22:24.769863"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 02:22:24.771921"], ["updated_at", "2016-08-03 02:22:24.771921"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:22:24.771921"], ["item_id", 5], ["item_type", "Bank"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 02:22:24.776926"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: &1 2016-08-03 02:22:24.771921000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 02:22:24.776926"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 02:22:24.781695"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 02:22:24.771921000 Z\nupdated_at: 2016-08-03 02:22:24.776926000 Z\nuser_id: 2\n"], ["created_at", "2016-08-03 02:22:24.781695"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 02:22:24.785349"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 02:22:24.771921000 Z\nupdated_at: 2016-08-03 02:22:24.781695000 Z\nuser_id: 3\n"], ["created_at", "2016-08-03 02:22:24.785349"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 12) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 13) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 14) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 02:22:24.797102"], ["updated_at", "2016-08-03 02:22:24.797102"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 02:22:24.797102"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 02:22:24.800247"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\ncreated_at: &1 2016-08-03 02:22:24.797102000 Z\nupdated_at: *1\nuser_id: \n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 02:22:24.800247"], ["item_id", 6], ["item_type", "Bank"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:22:24.803694"], ["updated_at", "2016-08-03 02:22:24.803694"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 02:22:24.805560"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 02:22:24.797102000 Z\nupdated_at: 2016-08-03 02:22:24.800247000 Z\nuser_id: \n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 02:22:24.805560"], ["item_id", 6], ["item_type", "Bank"]]  (1.7ms) commit transaction  (0.0ms) begin transaction SQL (3.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:22:24.810822"], ["updated_at", "2016-08-03 02:22:24.810822"]]  (1.7ms) commit transaction  (0.5ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 02:22:24.819950"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 02:22:24.797102000 Z\nupdated_at: 2016-08-03 02:22:24.805560000 Z\nuser_id: 4\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 02:22:24.819950"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:22:24.823931"], ["updated_at", "2016-08-03 02:22:24.823931"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-08-03 02:22:24.825542"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 02:22:24.797102000 Z\nupdated_at: 2016-08-03 02:22:24.819950000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 02:22:24.825542"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 02:22:24.830158"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 02:22:24.797102000 Z\nupdated_at: 2016-08-03 02:22:24.825542000 Z\nuser_id: 6\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 02:22:24.830158"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 18) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.5ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 20) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.4ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)   (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 02:23:19.508230"], ["updated_at", "2016-08-03 02:23:19.508230"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:23:19.508230"], ["item_id", 1], ["item_type", "Bank"]]  (2.3ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:23:19.544517"], ["updated_at", "2016-08-03 02:23:19.544517"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:23:19.544517"], ["item_id", 2], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 02:23:19.547840"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-03 02:23:19.544517000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 02:23:19.547840"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 02:23:19.557817"], ["updated_at", "2016-08-03 02:23:19.557817"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:23:19.557817"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 02:23:19.561135"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\ncreated_at: &1 2016-08-03 02:23:19.557817000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 02:23:19.561135"], ["item_id", 3], ["item_type", "Bank"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 02:23:19.564879"], ["id", 3]] SQL (0.2ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\ncreated_at: 2016-08-03 02:23:19.557817000 Z\nupdated_at: 2016-08-03 02:23:19.561135000 Z\nuser_id: \n"], ["created_at", "2016-08-03 02:23:19.564879"], ["item_id", 3], ["item_type", "Bank"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 02:23:19.570359"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \ncreated_at: 2016-08-03 02:23:19.557817000 Z\nupdated_at: 2016-08-03 02:23:19.564879000 Z\nuser_id: \n"], ["created_at", "2016-08-03 02:23:19.570359"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 02:23:19.578998"], ["updated_at", "2016-08-03 02:23:19.578998"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:23:19.578998"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:23:19.586102"], ["updated_at", "2016-08-03 02:23:19.586102"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 02:23:19.590454"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: &1 2016-08-03 02:23:19.578998000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 02:23:19.590454"], ["item_id", 4], ["item_type", "Bank"]]  (1.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 02:23:19.595722"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: 2016-08-03 02:23:19.578998000 Z\nupdated_at: 2016-08-03 02:23:19.590454000 Z\nuser_id: 1\n"], ["created_at", "2016-08-03 02:23:19.595722"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.3ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 9) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:23:19.605242"], ["updated_at", "2016-08-03 02:23:19.605242"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:23:19.606946"], ["updated_at", "2016-08-03 02:23:19.606946"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 02:23:19.608825"], ["updated_at", "2016-08-03 02:23:19.608825"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:23:19.608825"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 02:23:19.612078"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: &1 2016-08-03 02:23:19.608825000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 02:23:19.612078"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 02:23:19.615793"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 02:23:19.608825000 Z\nupdated_at: 2016-08-03 02:23:19.612078000 Z\nuser_id: 2\n"], ["created_at", "2016-08-03 02:23:19.615793"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 02:23:19.619974"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 02:23:19.608825000 Z\nupdated_at: 2016-08-03 02:23:19.615793000 Z\nuser_id: 3\n"], ["created_at", "2016-08-03 02:23:19.619974"], ["item_id", 5], ["item_type", "Bank"]]  (0.9ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 12) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 13) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 14) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 02:23:19.630807"], ["updated_at", "2016-08-03 02:23:19.630807"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 02:23:19.630807"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 02:23:19.634946"], ["id", 6]] SQL (0.2ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\ncreated_at: &1 2016-08-03 02:23:19.630807000 Z\nupdated_at: *1\nuser_id: \n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 02:23:19.634946"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:23:19.639803"], ["updated_at", "2016-08-03 02:23:19.639803"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 02:23:19.641252"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 02:23:19.630807000 Z\nupdated_at: 2016-08-03 02:23:19.634946000 Z\nuser_id: \n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 02:23:19.641252"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:23:19.645471"], ["updated_at", "2016-08-03 02:23:19.645471"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 02:23:19.647380"], ["id", 6]] SQL (0.2ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 02:23:19.630807000 Z\nupdated_at: 2016-08-03 02:23:19.641252000 Z\nuser_id: 4\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 02:23:19.647380"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 02:23:19.651926"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 02:23:19.630807000 Z\nupdated_at: 2016-08-03 02:23:19.647380000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 02:23:19.651926"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:23:19.655955"], ["updated_at", "2016-08-03 02:23:19.655955"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-08-03 02:23:19.658098"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\ncreated_at: 2016-08-03 02:23:19.630807000 Z\nupdated_at: 2016-08-03 02:23:19.651926000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 02:23:19.658098"], ["item_id", 6], ["item_type", "Bank"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 02:23:19.662359"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\ncreated_at: 2016-08-03 02:23:19.630807000 Z\nupdated_at: 2016-08-03 02:23:19.658098000 Z\nuser_id: 6\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 02:23:19.662359"], ["item_id", 6], ["item_type", "Bank"]]  (0.7ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 18) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 20) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.5ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)   (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555') ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 02:23:52.962274"], ["updated_at", "2016-08-03 02:23:52.962274"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:23:52.962274"], ["item_id", 1], ["item_type", "Bank"]]  (2.4ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:23:52.997346"], ["updated_at", "2016-08-03 02:23:52.997346"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:23:52.997346"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 02:23:53.001276"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-03 02:23:52.997346000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 02:23:53.001276"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 02:23:53.012100"], ["updated_at", "2016-08-03 02:23:53.012100"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:23:53.012100"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 02:23:53.015126"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\ncreated_at: &1 2016-08-03 02:23:53.012100000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 02:23:53.015126"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 02:23:53.018335"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\ncreated_at: 2016-08-03 02:23:53.012100000 Z\nupdated_at: 2016-08-03 02:23:53.015126000 Z\nuser_id: \n"], ["created_at", "2016-08-03 02:23:53.018335"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 02:23:53.021958"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \ncreated_at: 2016-08-03 02:23:53.012100000 Z\nupdated_at: 2016-08-03 02:23:53.018335000 Z\nuser_id: \n"], ["created_at", "2016-08-03 02:23:53.021958"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 02:23:53.031489"], ["updated_at", "2016-08-03 02:23:53.031489"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:23:53.031489"], ["item_id", 4], ["item_type", "Bank"]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:23:53.041726"], ["updated_at", "2016-08-03 02:23:53.041726"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 02:23:53.045590"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: &1 2016-08-03 02:23:53.031489000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 02:23:53.045590"], ["item_id", 4], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 02:23:53.049822"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: 2016-08-03 02:23:53.031489000 Z\nupdated_at: 2016-08-03 02:23:53.045590000 Z\nuser_id: 1\n"], ["created_at", "2016-08-03 02:23:53.049822"], ["item_id", 4], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 9) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:23:53.057703"], ["updated_at", "2016-08-03 02:23:53.057703"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:23:53.058985"], ["updated_at", "2016-08-03 02:23:53.058985"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 02:23:53.060512"], ["updated_at", "2016-08-03 02:23:53.060512"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:23:53.060512"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 02:23:53.063659"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: &1 2016-08-03 02:23:53.060512000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 02:23:53.063659"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 02:23:53.067000"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 02:23:53.060512000 Z\nupdated_at: 2016-08-03 02:23:53.063659000 Z\nuser_id: 2\n"], ["created_at", "2016-08-03 02:23:53.067000"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 02:23:53.070886"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 02:23:53.060512000 Z\nupdated_at: 2016-08-03 02:23:53.067000000 Z\nuser_id: 3\n"], ["created_at", "2016-08-03 02:23:53.070886"], ["item_id", 5], ["item_type", "Bank"]]  (1.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 12) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 13) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 14) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 02:23:53.085869"], ["updated_at", "2016-08-03 02:23:53.085869"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 02:23:53.085869"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 02:23:53.089702"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\ncreated_at: &1 2016-08-03 02:23:53.085869000 Z\nupdated_at: *1\nuser_id: \n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 02:23:53.089702"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:23:53.093627"], ["updated_at", "2016-08-03 02:23:53.093627"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 02:23:53.095712"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 02:23:53.085869000 Z\nupdated_at: 2016-08-03 02:23:53.089702000 Z\nuser_id: \n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 02:23:53.095712"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:23:53.099911"], ["updated_at", "2016-08-03 02:23:53.099911"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 02:23:53.101485"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 02:23:53.085869000 Z\nupdated_at: 2016-08-03 02:23:53.095712000 Z\nuser_id: 4\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 02:23:53.101485"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 02:23:53.105780"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 02:23:53.085869000 Z\nupdated_at: 2016-08-03 02:23:53.101485000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 02:23:53.105780"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:23:53.109949"], ["updated_at", "2016-08-03 02:23:53.109949"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-08-03 02:23:53.112104"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\ncreated_at: 2016-08-03 02:23:53.085869000 Z\nupdated_at: 2016-08-03 02:23:53.105780000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 02:23:53.112104"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 02:23:53.116051"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\ncreated_at: 2016-08-03 02:23:53.085869000 Z\nupdated_at: 2016-08-03 02:23:53.112104000 Z\nuser_id: 6\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 02:23:53.116051"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 18) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 20) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.5ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)   (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.6ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 02:24:11.511392"], ["updated_at", "2016-08-03 02:24:11.511392"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:24:11.511392"], ["item_id", 1], ["item_type", "Bank"]]  (2.1ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:24:11.546988"], ["updated_at", "2016-08-03 02:24:11.546988"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:24:11.546988"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 02:24:11.551041"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-03 02:24:11.546988000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 02:24:11.551041"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 02:24:11.562017"], ["updated_at", "2016-08-03 02:24:11.562017"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:24:11.562017"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 02:24:11.565418"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\ncreated_at: &1 2016-08-03 02:24:11.562017000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 02:24:11.565418"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 02:24:11.568783"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\ncreated_at: 2016-08-03 02:24:11.562017000 Z\nupdated_at: 2016-08-03 02:24:11.565418000 Z\nuser_id: \n"], ["created_at", "2016-08-03 02:24:11.568783"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 02:24:11.572488"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \ncreated_at: 2016-08-03 02:24:11.562017000 Z\nupdated_at: 2016-08-03 02:24:11.568783000 Z\nuser_id: \n"], ["created_at", "2016-08-03 02:24:11.572488"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.3ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 02:24:11.582958"], ["updated_at", "2016-08-03 02:24:11.582958"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:24:11.582958"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:24:11.590664"], ["updated_at", "2016-08-03 02:24:11.590664"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 02:24:11.594688"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: &1 2016-08-03 02:24:11.582958000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 02:24:11.594688"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 02:24:11.598552"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: 2016-08-03 02:24:11.582958000 Z\nupdated_at: 2016-08-03 02:24:11.594688000 Z\nuser_id: 1\n"], ["created_at", "2016-08-03 02:24:11.598552"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 9) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:24:11.605937"], ["updated_at", "2016-08-03 02:24:11.605937"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:24:11.607622"], ["updated_at", "2016-08-03 02:24:11.607622"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 02:24:11.609287"], ["updated_at", "2016-08-03 02:24:11.609287"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:24:11.609287"], ["item_id", 5], ["item_type", "Bank"]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (1.8ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 02:24:11.613024"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: &1 2016-08-03 02:24:11.609287000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 02:24:11.613024"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 02:24:11.619440"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 02:24:11.609287000 Z\nupdated_at: 2016-08-03 02:24:11.613024000 Z\nuser_id: 2\n"], ["created_at", "2016-08-03 02:24:11.619440"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 02:24:11.623463"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 02:24:11.609287000 Z\nupdated_at: 2016-08-03 02:24:11.619440000 Z\nuser_id: 3\n"], ["created_at", "2016-08-03 02:24:11.623463"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 12) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 13) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 14) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 02:24:11.633726"], ["updated_at", "2016-08-03 02:24:11.633726"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 02:24:11.633726"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 02:24:11.637003"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\ncreated_at: &1 2016-08-03 02:24:11.633726000 Z\nupdated_at: *1\nuser_id: \n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 02:24:11.637003"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:24:11.640790"], ["updated_at", "2016-08-03 02:24:11.640790"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 02:24:11.642340"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 02:24:11.633726000 Z\nupdated_at: 2016-08-03 02:24:11.637003000 Z\nuser_id: \n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 02:24:11.642340"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:24:11.647037"], ["updated_at", "2016-08-03 02:24:11.647037"]]  (0.4ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 02:24:11.648561"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 02:24:11.633726000 Z\nupdated_at: 2016-08-03 02:24:11.642340000 Z\nuser_id: 4\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 02:24:11.648561"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 02:24:11.651802"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 02:24:11.633726000 Z\nupdated_at: 2016-08-03 02:24:11.648561000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 02:24:11.651802"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:24:11.656041"], ["updated_at", "2016-08-03 02:24:11.656041"]]  (1.3ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-08-03 02:24:11.658798"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\ncreated_at: 2016-08-03 02:24:11.633726000 Z\nupdated_at: 2016-08-03 02:24:11.651802000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 02:24:11.658798"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 02:24:11.663652"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\ncreated_at: 2016-08-03 02:24:11.633726000 Z\nupdated_at: 2016-08-03 02:24:11.658798000 Z\nuser_id: 6\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 02:24:11.663652"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 18) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 20) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.3ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)   (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.5ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.6ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 02:39:16.440754"], ["updated_at", "2016-08-03 02:39:16.440754"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:39:16.440754"], ["item_id", 1], ["item_type", "Bank"]]  (2.5ms) commit transaction Bank Load (0.2ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:39:16.473788"], ["updated_at", "2016-08-03 02:39:16.473788"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:39:16.473788"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 02:39:16.478383"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-03 02:39:16.473788000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 02:39:16.478383"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 02:39:16.488543"], ["updated_at", "2016-08-03 02:39:16.488543"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:39:16.488543"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 02:39:16.492184"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\ncreated_at: &1 2016-08-03 02:39:16.488543000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 02:39:16.492184"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 02:39:16.495633"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\ncreated_at: 2016-08-03 02:39:16.488543000 Z\nupdated_at: 2016-08-03 02:39:16.492184000 Z\nuser_id: \n"], ["created_at", "2016-08-03 02:39:16.495633"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 02:39:16.498789"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \ncreated_at: 2016-08-03 02:39:16.488543000 Z\nupdated_at: 2016-08-03 02:39:16.495633000 Z\nuser_id: \n"], ["created_at", "2016-08-03 02:39:16.498789"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 02:43:31.073103"], ["updated_at", "2016-08-03 02:43:31.073103"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:43:31.073103"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:43:31.080619"], ["updated_at", "2016-08-03 02:43:31.080619"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 02:43:31.084073"], ["id", 4]] SQL (0.6ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: &1 2016-08-03 02:43:31.073103000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 02:43:31.084073"], ["item_id", 4], ["item_type", "Bank"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 02:43:31.095289"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: 2016-08-03 02:43:31.073103000 Z\nupdated_at: 2016-08-03 02:43:31.084073000 Z\nuser_id: 1\n"], ["created_at", "2016-08-03 02:43:31.095289"], ["item_id", 4], ["item_type", "Bank"]]  (1.2ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 9) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:43:31.104312"], ["updated_at", "2016-08-03 02:43:31.104312"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:43:31.105906"], ["updated_at", "2016-08-03 02:43:31.105906"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 02:43:31.107696"], ["updated_at", "2016-08-03 02:43:31.107696"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:43:31.107696"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 02:43:31.111265"], ["id", 5]] SQL (0.2ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: &1 2016-08-03 02:43:31.107696000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 02:43:31.111265"], ["item_id", 5], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 02:43:31.117305"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 02:43:31.107696000 Z\nupdated_at: 2016-08-03 02:43:31.111265000 Z\nuser_id: 2\n"], ["created_at", "2016-08-03 02:43:31.117305"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 02:43:31.120887"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 02:43:31.107696000 Z\nupdated_at: 2016-08-03 02:43:31.117305000 Z\nuser_id: 3\n"], ["created_at", "2016-08-03 02:43:31.120887"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 12) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 13) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 14) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 02:43:31.130946"], ["updated_at", "2016-08-03 02:43:31.130946"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 02:43:31.130946"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 02:43:31.135314"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\ncreated_at: &1 2016-08-03 02:43:31.130946000 Z\nupdated_at: *1\nuser_id: \n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 02:43:31.135314"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:43:31.139595"], ["updated_at", "2016-08-03 02:43:31.139595"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 02:43:31.141881"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 02:43:31.130946000 Z\nupdated_at: 2016-08-03 02:43:31.135314000 Z\nuser_id: \n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 02:43:31.141881"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:43:31.145017"], ["updated_at", "2016-08-03 02:43:31.145017"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 02:43:31.147002"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 02:43:31.130946000 Z\nupdated_at: 2016-08-03 02:43:31.141881000 Z\nuser_id: 4\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 02:43:31.147002"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 02:43:31.151213"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 02:43:31.130946000 Z\nupdated_at: 2016-08-03 02:43:31.147002000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 02:43:31.151213"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:43:31.155374"], ["updated_at", "2016-08-03 02:43:31.155374"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-08-03 02:43:31.156735"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\ncreated_at: 2016-08-03 02:43:31.130946000 Z\nupdated_at: 2016-08-03 02:43:31.151213000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 02:43:31.156735"], ["item_id", 6], ["item_type", "Bank"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 02:43:31.160274"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\ncreated_at: 2016-08-03 02:43:31.130946000 Z\nupdated_at: 2016-08-03 02:43:31.156735000 Z\nuser_id: 6\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 02:43:31.160274"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 18) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 20) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.5ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)   (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555') ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 02:43:34.743820"], ["updated_at", "2016-08-03 02:43:34.743820"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:43:34.743820"], ["item_id", 1], ["item_type", "Bank"]]  (2.3ms) commit transaction Bank Load (0.2ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:43:34.779345"], ["updated_at", "2016-08-03 02:43:34.779345"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:43:34.779345"], ["item_id", 2], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 02:43:34.783817"], ["id", 2]] SQL (0.2ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-03 02:43:34.779345000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 02:43:34.783817"], ["item_id", 2], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 02:43:34.793789"], ["updated_at", "2016-08-03 02:43:34.793789"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:43:34.793789"], ["item_id", 3], ["item_type", "Bank"]]  (2.0ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 02:43:34.799046"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\ncreated_at: &1 2016-08-03 02:43:34.793789000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 02:43:34.799046"], ["item_id", 3], ["item_type", "Bank"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 02:43:34.804451"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\ncreated_at: 2016-08-03 02:43:34.793789000 Z\nupdated_at: 2016-08-03 02:43:34.799046000 Z\nuser_id: \n"], ["created_at", "2016-08-03 02:43:34.804451"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.3ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 02:43:34.810188"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \ncreated_at: 2016-08-03 02:43:34.793789000 Z\nupdated_at: 2016-08-03 02:43:34.804451000 Z\nuser_id: \n"], ["created_at", "2016-08-03 02:43:34.810188"], ["item_id", 3], ["item_type", "Bank"]]  (2.1ms) commit transaction PaperTrail::Version Load (0.5ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 02:43:34.824748"], ["updated_at", "2016-08-03 02:43:34.824748"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:43:34.824748"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:43:34.834156"], ["updated_at", "2016-08-03 02:43:34.834156"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 02:43:34.841489"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: &1 2016-08-03 02:43:34.824748000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 02:43:34.841489"], ["item_id", 4], ["item_type", "Bank"]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 02:43:34.846215"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: 2016-08-03 02:43:34.824748000 Z\nupdated_at: 2016-08-03 02:43:34.841489000 Z\nuser_id: 1\n"], ["created_at", "2016-08-03 02:43:34.846215"], ["item_id", 4], ["item_type", "Bank"]]  (0.7ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 9) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:43:34.855697"], ["updated_at", "2016-08-03 02:43:34.855697"]]  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (1.9ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 02:43:34.858648"], ["updated_at", "2016-08-03 02:43:34.858648"]]  (1.2ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 02:43:34.868507"], ["updated_at", "2016-08-03 02:43:34.868507"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 02:43:34.868507"], ["item_id", 5], ["item_type", "Bank"]]  (2.0ms) commit transaction  (0.5ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 02:43:34.875377"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: &1 2016-08-03 02:43:34.868507000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 02:43:34.875377"], ["item_id", 5], ["item_type", "Bank"]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 02:43:34.882306"], ["id", 5]] SQL (3.2ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 02:43:34.868507000 Z\nupdated_at: 2016-08-03 02:43:34.875377000 Z\nuser_id: 2\n"], ["created_at", "2016-08-03 02:43:34.882306"], ["item_id", 5], ["item_type", "Bank"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 02:43:34.892237"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 02:43:34.868507000 Z\nupdated_at: 2016-08-03 02:43:34.882306000 Z\nuser_id: 3\n"], ["created_at", "2016-08-03 02:43:34.892237"], ["item_id", 5], ["item_type", "Bank"]]  (1.0ms) commit transaction PaperTrail::Version Load (0.3ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 12) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 13) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 14) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.6ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)   (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.5ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 03:00:17.578399"], ["updated_at", "2016-08-03 03:00:17.578399"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 03:00:17.578399"], ["item_id", 1], ["item_type", "Bank"]]  (2.2ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 03:00:17.609900"], ["updated_at", "2016-08-03 03:00:17.609900"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 03:00:17.609900"], ["item_id", 2], ["item_type", "Bank"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 03:00:17.613686"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-03 03:00:17.609900000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 03:00:17.613686"], ["item_id", 2], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 03:00:17.623984"], ["updated_at", "2016-08-03 03:00:17.623984"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 03:00:17.623984"], ["item_id", 3], ["item_type", "Bank"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 03:00:17.627941"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\ncreated_at: &1 2016-08-03 03:00:17.623984000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 03:00:17.627941"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 03:00:17.632120"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\ncreated_at: 2016-08-03 03:00:17.623984000 Z\nupdated_at: 2016-08-03 03:00:17.627941000 Z\nuser_id: \n"], ["created_at", "2016-08-03 03:00:17.632120"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 03:00:17.635119"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \ncreated_at: 2016-08-03 03:00:17.623984000 Z\nupdated_at: 2016-08-03 03:00:17.632120000 Z\nuser_id: \n"], ["created_at", "2016-08-03 03:00:17.635119"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 03:00:17.643791"], ["updated_at", "2016-08-03 03:00:17.643791"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 03:00:17.643791"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 03:00:17.651490"], ["updated_at", "2016-08-03 03:00:17.651490"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 03:00:17.655193"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: &1 2016-08-03 03:00:17.643791000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 03:00:17.655193"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 03:00:17.659397"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: 2016-08-03 03:00:17.643791000 Z\nupdated_at: 2016-08-03 03:00:17.655193000 Z\nuser_id: 1\n"], ["created_at", "2016-08-03 03:00:17.659397"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 9) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 03:00:17.667405"], ["updated_at", "2016-08-03 03:00:17.667405"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 03:00:17.668705"], ["updated_at", "2016-08-03 03:00:17.668705"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 03:00:17.670034"], ["updated_at", "2016-08-03 03:00:17.670034"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 03:00:17.670034"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 03:00:17.673293"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: &1 2016-08-03 03:00:17.670034000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 03:00:17.673293"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 03:00:17.676687"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 03:00:17.670034000 Z\nupdated_at: 2016-08-03 03:00:17.673293000 Z\nuser_id: 2\n"], ["created_at", "2016-08-03 03:00:17.676687"], ["item_id", 5], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 03:00:17.680585"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 03:00:17.670034000 Z\nupdated_at: 2016-08-03 03:00:17.676687000 Z\nuser_id: 3\n"], ["created_at", "2016-08-03 03:00:17.680585"], ["item_id", 5], ["item_type", "Bank"]]  (0.8ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 12) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 13) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 14) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 03:00:17.691910"], ["updated_at", "2016-08-03 03:00:17.691910"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 03:00:17.691910"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 03:00:17.695389"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\ncreated_at: &1 2016-08-03 03:00:17.691910000 Z\nupdated_at: *1\nuser_id: \n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 03:00:17.695389"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 03:00:17.698685"], ["updated_at", "2016-08-03 03:00:17.698685"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 03:00:17.700365"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 03:00:17.691910000 Z\nupdated_at: 2016-08-03 03:00:17.695389000 Z\nuser_id: \n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 03:00:17.700365"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 03:00:17.703525"], ["updated_at", "2016-08-03 03:00:17.703525"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 03:00:17.705038"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 03:00:17.691910000 Z\nupdated_at: 2016-08-03 03:00:17.700365000 Z\nuser_id: 4\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 03:00:17.705038"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 03:00:17.709643"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 03:00:17.691910000 Z\nupdated_at: 2016-08-03 03:00:17.705038000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 03:00:17.709643"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 03:00:17.713818"], ["updated_at", "2016-08-03 03:00:17.713818"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-08-03 03:00:17.715439"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\ncreated_at: 2016-08-03 03:00:17.691910000 Z\nupdated_at: 2016-08-03 03:00:17.709643000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 03:00:17.715439"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 03:00:17.719062"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\ncreated_at: 2016-08-03 03:00:17.691910000 Z\nupdated_at: 2016-08-03 03:00:17.715439000 Z\nuser_id: 6\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 03:00:17.719062"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 18) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 20) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.5ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)   (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 03:00:25.787456"], ["updated_at", "2016-08-03 03:00:25.787456"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 03:00:25.787456"], ["item_id", 1], ["item_type", "Bank"]]  (2.1ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 03:00:25.814480"], ["updated_at", "2016-08-03 03:00:25.814480"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 03:00:25.814480"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 03:00:25.817900"], ["id", 2]] SQL (0.2ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-03 03:00:25.814480000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 03:00:25.817900"], ["item_id", 2], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 03:00:25.833845"], ["updated_at", "2016-08-03 03:00:25.833845"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 03:00:25.833845"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 03:00:25.836984"], ["id", 3]] SQL (0.2ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\ncreated_at: &1 2016-08-03 03:00:25.833845000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 03:00:25.836984"], ["item_id", 3], ["item_type", "Bank"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 03:00:25.840884"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\ncreated_at: 2016-08-03 03:00:25.833845000 Z\nupdated_at: 2016-08-03 03:00:25.836984000 Z\nuser_id: \n"], ["created_at", "2016-08-03 03:00:25.840884"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 03:00:25.844730"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \ncreated_at: 2016-08-03 03:00:25.833845000 Z\nupdated_at: 2016-08-03 03:00:25.840884000 Z\nuser_id: \n"], ["created_at", "2016-08-03 03:00:25.844730"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 03:00:25.853034"], ["updated_at", "2016-08-03 03:00:25.853034"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 03:00:25.853034"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 03:00:25.860760"], ["updated_at", "2016-08-03 03:00:25.860760"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 03:00:25.864583"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: &1 2016-08-03 03:00:25.853034000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 03:00:25.864583"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 03:00:25.868394"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: 2016-08-03 03:00:25.853034000 Z\nupdated_at: 2016-08-03 03:00:25.864583000 Z\nuser_id: 1\n"], ["created_at", "2016-08-03 03:00:25.868394"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 9) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 03:00:25.875812"], ["updated_at", "2016-08-03 03:00:25.875812"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 03:00:25.877092"], ["updated_at", "2016-08-03 03:00:25.877092"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 03:00:25.879376"], ["updated_at", "2016-08-03 03:00:25.879376"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 03:00:25.879376"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 03:00:25.883441"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: &1 2016-08-03 03:00:25.879376000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 03:00:25.883441"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 03:00:25.887101"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 03:00:25.879376000 Z\nupdated_at: 2016-08-03 03:00:25.883441000 Z\nuser_id: 2\n"], ["created_at", "2016-08-03 03:00:25.887101"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 03:00:25.890440"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 03:00:25.879376000 Z\nupdated_at: 2016-08-03 03:00:25.887101000 Z\nuser_id: 3\n"], ["created_at", "2016-08-03 03:00:25.890440"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 12) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 13) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 14) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 03:00:25.900787"], ["updated_at", "2016-08-03 03:00:25.900787"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 03:00:25.900787"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 03:00:25.904377"], ["id", 6]] SQL (0.2ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\ncreated_at: &1 2016-08-03 03:00:25.900787000 Z\nupdated_at: *1\nuser_id: \n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 03:00:25.904377"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 03:00:25.908443"], ["updated_at", "2016-08-03 03:00:25.908443"]]  (0.4ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 03:00:25.910500"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 03:00:25.900787000 Z\nupdated_at: 2016-08-03 03:00:25.904377000 Z\nuser_id: \n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 03:00:25.910500"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 03:00:25.914689"], ["updated_at", "2016-08-03 03:00:25.914689"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 03:00:25.916284"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 03:00:25.900787000 Z\nupdated_at: 2016-08-03 03:00:25.910500000 Z\nuser_id: 4\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 03:00:25.916284"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 03:00:25.919416"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 03:00:25.900787000 Z\nupdated_at: 2016-08-03 03:00:25.916284000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 03:00:25.919416"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 03:00:25.922678"], ["updated_at", "2016-08-03 03:00:25.922678"]]  (1.2ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-08-03 03:00:25.925055"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\ncreated_at: 2016-08-03 03:00:25.900787000 Z\nupdated_at: 2016-08-03 03:00:25.919416000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 03:00:25.925055"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 03:00:25.930025"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\ncreated_at: 2016-08-03 03:00:25.900787000 Z\nupdated_at: 2016-08-03 03:00:25.925055000 Z\nuser_id: 6\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 03:00:25.930025"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 18) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 20) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)   (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555') ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.6ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)   (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.8ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 18:21:32.543192"], ["updated_at", "2016-08-03 18:21:32.543192"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:21:32.543192"], ["item_id", 1], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:21:32.576930"], ["updated_at", "2016-08-03 18:21:32.576930"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:21:32.576930"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 18:21:32.580434"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-03 18:21:32.576930000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 18:21:32.580434"], ["item_id", 2], ["item_type", "Bank"]]  (0.7ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.3ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 18:21:32.591464"], ["updated_at", "2016-08-03 18:21:32.591464"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:21:32.591464"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 18:21:32.594780"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\ncreated_at: &1 2016-08-03 18:21:32.591464000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 18:21:32.594780"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 18:21:32.599279"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\ncreated_at: 2016-08-03 18:21:32.591464000 Z\nupdated_at: 2016-08-03 18:21:32.594780000 Z\nuser_id: \n"], ["created_at", "2016-08-03 18:21:32.599279"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 18:21:32.603312"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \ncreated_at: 2016-08-03 18:21:32.591464000 Z\nupdated_at: 2016-08-03 18:21:32.599279000 Z\nuser_id: \n"], ["created_at", "2016-08-03 18:21:32.603312"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 18:21:32.610742"], ["updated_at", "2016-08-03 18:21:32.610742"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:21:32.610742"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:21:32.617959"], ["updated_at", "2016-08-03 18:21:32.617959"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 18:21:32.622311"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: &1 2016-08-03 18:21:32.610742000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 18:21:32.622311"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 18:21:32.626380"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: 2016-08-03 18:21:32.610742000 Z\nupdated_at: 2016-08-03 18:21:32.622311000 Z\nuser_id: 1\n"], ["created_at", "2016-08-03 18:21:32.626380"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 9) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:21:32.633977"], ["updated_at", "2016-08-03 18:21:32.633977"]]  (0.4ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:21:32.635220"], ["updated_at", "2016-08-03 18:21:32.635220"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 18:21:32.636546"], ["updated_at", "2016-08-03 18:21:32.636546"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:21:32.636546"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 18:21:32.640122"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: &1 2016-08-03 18:21:32.636546000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 18:21:32.640122"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 18:21:32.644741"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 18:21:32.636546000 Z\nupdated_at: 2016-08-03 18:21:32.640122000 Z\nuser_id: 2\n"], ["created_at", "2016-08-03 18:21:32.644741"], ["item_id", 5], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 18:21:32.648554"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 18:21:32.636546000 Z\nupdated_at: 2016-08-03 18:21:32.644741000 Z\nuser_id: 3\n"], ["created_at", "2016-08-03 18:21:32.648554"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 12) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 13) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 14) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 18:21:32.659090"], ["updated_at", "2016-08-03 18:21:32.659090"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 18:21:32.659090"], ["item_id", 6], ["item_type", "Bank"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 18:21:32.662889"], ["id", 6]] SQL (0.2ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\ncreated_at: &1 2016-08-03 18:21:32.659090000 Z\nupdated_at: *1\nuser_id: \n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 18:21:32.662889"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:21:32.668224"], ["updated_at", "2016-08-03 18:21:32.668224"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 18:21:32.669555"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 18:21:32.659090000 Z\nupdated_at: 2016-08-03 18:21:32.662889000 Z\nuser_id: \n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 18:21:32.669555"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:21:32.672945"], ["updated_at", "2016-08-03 18:21:32.672945"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 18:21:32.674422"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 18:21:32.659090000 Z\nupdated_at: 2016-08-03 18:21:32.669555000 Z\nuser_id: 4\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 18:21:32.674422"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 18:21:32.677881"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 18:21:32.659090000 Z\nupdated_at: 2016-08-03 18:21:32.674422000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 18:21:32.677881"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:21:32.680943"], ["updated_at", "2016-08-03 18:21:32.680943"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-08-03 18:21:32.682417"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\ncreated_at: 2016-08-03 18:21:32.659090000 Z\nupdated_at: 2016-08-03 18:21:32.677881000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 18:21:32.682417"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 18:21:32.687109"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\ncreated_at: 2016-08-03 18:21:32.659090000 Z\nupdated_at: 2016-08-03 18:21:32.682417000 Z\nuser_id: 6\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 18:21:32.687109"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 18) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 20) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.5ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)   (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.7ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 18:22:04.945589"], ["updated_at", "2016-08-03 18:22:04.945589"]] SQL (0.3ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:22:04.945589"], ["item_id", 1], ["item_type", "Bank"]]  (2.4ms) commit transaction Bank Load (0.2ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:22:04.977554"], ["updated_at", "2016-08-03 18:22:04.977554"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:22:04.977554"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 18:22:04.980627"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-03 18:22:04.977554000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 18:22:04.980627"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 18:22:04.989768"], ["updated_at", "2016-08-03 18:22:04.989768"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:22:04.989768"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 18:22:04.993020"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\ncreated_at: &1 2016-08-03 18:22:04.989768000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 18:22:04.993020"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 18:22:04.996884"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\ncreated_at: 2016-08-03 18:22:04.989768000 Z\nupdated_at: 2016-08-03 18:22:04.993020000 Z\nuser_id: \n"], ["created_at", "2016-08-03 18:22:04.996884"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 18:22:05.000396"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \ncreated_at: 2016-08-03 18:22:04.989768000 Z\nupdated_at: 2016-08-03 18:22:04.996884000 Z\nuser_id: \n"], ["created_at", "2016-08-03 18:22:05.000396"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 18:22:05.009432"], ["updated_at", "2016-08-03 18:22:05.009432"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:22:05.009432"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:22:05.016643"], ["updated_at", "2016-08-03 18:22:05.016643"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 18:22:05.020484"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: &1 2016-08-03 18:22:05.009432000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 18:22:05.020484"], ["item_id", 4], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 18:22:05.024227"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: 2016-08-03 18:22:05.009432000 Z\nupdated_at: 2016-08-03 18:22:05.020484000 Z\nuser_id: 1\n"], ["created_at", "2016-08-03 18:22:05.024227"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 9) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:22:05.031239"], ["updated_at", "2016-08-03 18:22:05.031239"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:22:05.032753"], ["updated_at", "2016-08-03 18:22:05.032753"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 18:22:05.034421"], ["updated_at", "2016-08-03 18:22:05.034421"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:22:05.034421"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 18:22:05.037929"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: &1 2016-08-03 18:22:05.034421000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 18:22:05.037929"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 18:22:05.041790"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 18:22:05.034421000 Z\nupdated_at: 2016-08-03 18:22:05.037929000 Z\nuser_id: 2\n"], ["created_at", "2016-08-03 18:22:05.041790"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 18:22:05.045842"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 18:22:05.034421000 Z\nupdated_at: 2016-08-03 18:22:05.041790000 Z\nuser_id: 3\n"], ["created_at", "2016-08-03 18:22:05.045842"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 12) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 13) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 14) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 18:22:05.055824"], ["updated_at", "2016-08-03 18:22:05.055824"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 18:22:05.055824"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 18:22:05.059266"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\ncreated_at: &1 2016-08-03 18:22:05.055824000 Z\nupdated_at: *1\nuser_id: \n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 18:22:05.059266"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:22:05.062618"], ["updated_at", "2016-08-03 18:22:05.062618"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 18:22:05.064300"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 18:22:05.055824000 Z\nupdated_at: 2016-08-03 18:22:05.059266000 Z\nuser_id: \n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 18:22:05.064300"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:22:05.068004"], ["updated_at", "2016-08-03 18:22:05.068004"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 18:22:05.069625"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 18:22:05.055824000 Z\nupdated_at: 2016-08-03 18:22:05.064300000 Z\nuser_id: 4\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 18:22:05.069625"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 18:22:05.073711"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 18:22:05.055824000 Z\nupdated_at: 2016-08-03 18:22:05.069625000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 18:22:05.073711"], ["item_id", 6], ["item_type", "Bank"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:22:05.078584"], ["updated_at", "2016-08-03 18:22:05.078584"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-08-03 18:22:05.080085"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\ncreated_at: 2016-08-03 18:22:05.055824000 Z\nupdated_at: 2016-08-03 18:22:05.073711000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 18:22:05.080085"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 18:22:05.084007"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\ncreated_at: 2016-08-03 18:22:05.055824000 Z\nupdated_at: 2016-08-03 18:22:05.080085000 Z\nuser_id: 6\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 18:22:05.084007"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 18) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 20) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.9ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)   (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.8ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.8ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 18:38:30.621082"], ["updated_at", "2016-08-03 18:38:30.621082"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:38:30.621082"], ["item_id", 1], ["item_type", "Bank"]]  (2.7ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:38:30.656553"], ["updated_at", "2016-08-03 18:38:30.656553"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:38:30.656553"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 18:38:30.660302"], ["id", 2]] SQL (0.2ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-03 18:38:30.656553000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 18:38:30.660302"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.3ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 18:38:30.671197"], ["updated_at", "2016-08-03 18:38:30.671197"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:38:30.671197"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 18:38:30.674702"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\ncreated_at: &1 2016-08-03 18:38:30.671197000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 18:38:30.674702"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 18:38:30.678028"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\ncreated_at: 2016-08-03 18:38:30.671197000 Z\nupdated_at: 2016-08-03 18:38:30.674702000 Z\nuser_id: \n"], ["created_at", "2016-08-03 18:38:30.678028"], ["item_id", 3], ["item_type", "Bank"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 18:38:30.681198"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \ncreated_at: 2016-08-03 18:38:30.671197000 Z\nupdated_at: 2016-08-03 18:38:30.678028000 Z\nuser_id: \n"], ["created_at", "2016-08-03 18:38:30.681198"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 18:38:30.689664"], ["updated_at", "2016-08-03 18:38:30.689664"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:38:30.689664"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:38:30.697087"], ["updated_at", "2016-08-03 18:38:30.697087"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 18:38:30.701276"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: &1 2016-08-03 18:38:30.689664000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 18:38:30.701276"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 18:38:30.705352"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: 2016-08-03 18:38:30.689664000 Z\nupdated_at: 2016-08-03 18:38:30.701276000 Z\nuser_id: 1\n"], ["created_at", "2016-08-03 18:38:30.705352"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 9) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:38:30.712447"], ["updated_at", "2016-08-03 18:38:30.712447"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:38:30.713943"], ["updated_at", "2016-08-03 18:38:30.713943"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 18:38:30.715334"], ["updated_at", "2016-08-03 18:38:30.715334"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:38:30.715334"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 18:38:30.719415"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: &1 2016-08-03 18:38:30.715334000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 18:38:30.719415"], ["item_id", 5], ["item_type", "Bank"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 18:38:30.723785"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 18:38:30.715334000 Z\nupdated_at: 2016-08-03 18:38:30.719415000 Z\nuser_id: 2\n"], ["created_at", "2016-08-03 18:38:30.723785"], ["item_id", 5], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 18:38:30.727638"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 18:38:30.715334000 Z\nupdated_at: 2016-08-03 18:38:30.723785000 Z\nuser_id: 3\n"], ["created_at", "2016-08-03 18:38:30.727638"], ["item_id", 5], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 12) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 13) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 14) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 18:38:30.739219"], ["updated_at", "2016-08-03 18:38:30.739219"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 18:38:30.739219"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 18:38:30.743021"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\ncreated_at: &1 2016-08-03 18:38:30.739219000 Z\nupdated_at: *1\nuser_id: \n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 18:38:30.743021"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:38:30.746179"], ["updated_at", "2016-08-03 18:38:30.746179"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 18:38:30.747707"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 18:38:30.739219000 Z\nupdated_at: 2016-08-03 18:38:30.743021000 Z\nuser_id: \n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 18:38:30.747707"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:38:30.750837"], ["updated_at", "2016-08-03 18:38:30.750837"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 18:38:30.752389"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 18:38:30.739219000 Z\nupdated_at: 2016-08-03 18:38:30.747707000 Z\nuser_id: 4\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 18:38:30.752389"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 18:38:30.756110"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 18:38:30.739219000 Z\nupdated_at: 2016-08-03 18:38:30.752389000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 18:38:30.756110"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:38:30.759722"], ["updated_at", "2016-08-03 18:38:30.759722"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-08-03 18:38:30.761366"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\ncreated_at: 2016-08-03 18:38:30.739219000 Z\nupdated_at: 2016-08-03 18:38:30.756110000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 18:38:30.761366"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 18:38:30.765873"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\ncreated_at: 2016-08-03 18:38:30.739219000 Z\nupdated_at: 2016-08-03 18:38:30.761366000 Z\nuser_id: 6\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 18:38:30.765873"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 18) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 20) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.7ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)   (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.5ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 18:39:12.853441"], ["updated_at", "2016-08-03 18:39:12.853441"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:39:12.853441"], ["item_id", 1], ["item_type", "Bank"]]  (2.3ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:39:12.885582"], ["updated_at", "2016-08-03 18:39:12.885582"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:39:12.885582"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 18:39:12.889687"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-03 18:39:12.885582000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 18:39:12.889687"], ["item_id", 2], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 18:39:12.899028"], ["updated_at", "2016-08-03 18:39:12.899028"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:39:12.899028"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 18:39:12.902296"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\ncreated_at: &1 2016-08-03 18:39:12.899028000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 18:39:12.902296"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 18:39:12.905969"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\ncreated_at: 2016-08-03 18:39:12.899028000 Z\nupdated_at: 2016-08-03 18:39:12.902296000 Z\nuser_id: \n"], ["created_at", "2016-08-03 18:39:12.905969"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 18:39:12.909788"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \ncreated_at: 2016-08-03 18:39:12.899028000 Z\nupdated_at: 2016-08-03 18:39:12.905969000 Z\nuser_id: \n"], ["created_at", "2016-08-03 18:39:12.909788"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 18:39:12.919035"], ["updated_at", "2016-08-03 18:39:12.919035"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:39:12.919035"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:39:12.926116"], ["updated_at", "2016-08-03 18:39:12.926116"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 18:39:12.929451"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: &1 2016-08-03 18:39:12.919035000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 18:39:12.929451"], ["item_id", 4], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 18:39:12.933221"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: 2016-08-03 18:39:12.919035000 Z\nupdated_at: 2016-08-03 18:39:12.929451000 Z\nuser_id: 1\n"], ["created_at", "2016-08-03 18:39:12.933221"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 9) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:39:12.940461"], ["updated_at", "2016-08-03 18:39:12.940461"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:39:12.942397"], ["updated_at", "2016-08-03 18:39:12.942397"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 18:39:12.944094"], ["updated_at", "2016-08-03 18:39:12.944094"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:39:12.944094"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 18:39:12.947855"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: &1 2016-08-03 18:39:12.944094000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 18:39:12.947855"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 18:39:12.951838"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 18:39:12.944094000 Z\nupdated_at: 2016-08-03 18:39:12.947855000 Z\nuser_id: 2\n"], ["created_at", "2016-08-03 18:39:12.951838"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 18:39:12.955773"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 18:39:12.944094000 Z\nupdated_at: 2016-08-03 18:39:12.951838000 Z\nuser_id: 3\n"], ["created_at", "2016-08-03 18:39:12.955773"], ["item_id", 5], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 12) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 13) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 14) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 18:39:12.965862"], ["updated_at", "2016-08-03 18:39:12.965862"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 18:39:12.965862"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 18:39:12.969137"], ["id", 6]] SQL (0.3ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\ncreated_at: &1 2016-08-03 18:39:12.965862000 Z\nupdated_at: *1\nuser_id: \n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 18:39:12.969137"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:39:12.973288"], ["updated_at", "2016-08-03 18:39:12.973288"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 18:39:12.975078"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 18:39:12.965862000 Z\nupdated_at: 2016-08-03 18:39:12.969137000 Z\nuser_id: \n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 18:39:12.975078"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:39:12.979291"], ["updated_at", "2016-08-03 18:39:12.979291"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 18:39:12.980850"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 18:39:12.965862000 Z\nupdated_at: 2016-08-03 18:39:12.975078000 Z\nuser_id: 4\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 18:39:12.980850"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 18:39:12.984823"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 18:39:12.965862000 Z\nupdated_at: 2016-08-03 18:39:12.980850000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 18:39:12.984823"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:39:12.988190"], ["updated_at", "2016-08-03 18:39:12.988190"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-08-03 18:39:12.989753"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\ncreated_at: 2016-08-03 18:39:12.965862000 Z\nupdated_at: 2016-08-03 18:39:12.984823000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 18:39:12.989753"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 18:39:12.993559"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\ncreated_at: 2016-08-03 18:39:12.965862000 Z\nupdated_at: 2016-08-03 18:39:12.989753000 Z\nuser_id: 6\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 18:39:12.993559"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 18) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 20) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.8ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)   (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 18:40:01.845188"], ["updated_at", "2016-08-03 18:40:01.845188"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:40:01.845188"], ["item_id", 1], ["item_type", "Bank"]]  (2.7ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:40:01.879380"], ["updated_at", "2016-08-03 18:40:01.879380"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:40:01.879380"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 18:40:01.883311"], ["id", 2]] SQL (0.2ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-03 18:40:01.879380000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 18:40:01.883311"], ["item_id", 2], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 18:40:01.893125"], ["updated_at", "2016-08-03 18:40:01.893125"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:40:01.893125"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 18:40:01.896168"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\ncreated_at: &1 2016-08-03 18:40:01.893125000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 18:40:01.896168"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 18:40:01.899415"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\ncreated_at: 2016-08-03 18:40:01.893125000 Z\nupdated_at: 2016-08-03 18:40:01.896168000 Z\nuser_id: \n"], ["created_at", "2016-08-03 18:40:01.899415"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 18:40:01.902808"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \ncreated_at: 2016-08-03 18:40:01.893125000 Z\nupdated_at: 2016-08-03 18:40:01.899415000 Z\nuser_id: \n"], ["created_at", "2016-08-03 18:40:01.902808"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 18:40:01.910259"], ["updated_at", "2016-08-03 18:40:01.910259"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:40:01.910259"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:40:01.917162"], ["updated_at", "2016-08-03 18:40:01.917162"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 18:40:01.921051"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: &1 2016-08-03 18:40:01.910259000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 18:40:01.921051"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 18:40:01.925275"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: 2016-08-03 18:40:01.910259000 Z\nupdated_at: 2016-08-03 18:40:01.921051000 Z\nuser_id: 1\n"], ["created_at", "2016-08-03 18:40:01.925275"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 9) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:40:01.932149"], ["updated_at", "2016-08-03 18:40:01.932149"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:40:01.933756"], ["updated_at", "2016-08-03 18:40:01.933756"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 18:40:01.935237"], ["updated_at", "2016-08-03 18:40:01.935237"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:40:01.935237"], ["item_id", 5], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 18:40:01.938278"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: &1 2016-08-03 18:40:01.935237000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 18:40:01.938278"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 18:40:01.942007"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 18:40:01.935237000 Z\nupdated_at: 2016-08-03 18:40:01.938278000 Z\nuser_id: 2\n"], ["created_at", "2016-08-03 18:40:01.942007"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 18:40:01.945268"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 18:40:01.935237000 Z\nupdated_at: 2016-08-03 18:40:01.942007000 Z\nuser_id: 3\n"], ["created_at", "2016-08-03 18:40:01.945268"], ["item_id", 5], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 12) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 13) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 14) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 18:40:01.955820"], ["updated_at", "2016-08-03 18:40:01.955820"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 18:40:01.955820"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 18:40:01.959064"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\ncreated_at: &1 2016-08-03 18:40:01.955820000 Z\nupdated_at: *1\nuser_id: \n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 18:40:01.959064"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:40:01.962180"], ["updated_at", "2016-08-03 18:40:01.962180"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 18:40:01.963778"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 18:40:01.955820000 Z\nupdated_at: 2016-08-03 18:40:01.959064000 Z\nuser_id: \n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 18:40:01.963778"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:40:01.966891"], ["updated_at", "2016-08-03 18:40:01.966891"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 18:40:01.968388"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 18:40:01.955820000 Z\nupdated_at: 2016-08-03 18:40:01.963778000 Z\nuser_id: 4\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 18:40:01.968388"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 18:40:01.971949"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 18:40:01.955820000 Z\nupdated_at: 2016-08-03 18:40:01.968388000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 18:40:01.971949"], ["item_id", 6], ["item_type", "Bank"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:40:01.975170"], ["updated_at", "2016-08-03 18:40:01.975170"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-08-03 18:40:01.976777"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\ncreated_at: 2016-08-03 18:40:01.955820000 Z\nupdated_at: 2016-08-03 18:40:01.971949000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 18:40:01.976777"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 18:40:01.980117"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\ncreated_at: 2016-08-03 18:40:01.955820000 Z\nupdated_at: 2016-08-03 18:40:01.976777000 Z\nuser_id: 6\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 18:40:01.980117"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 18) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 20) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.5ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)   (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.5ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 18:43:53.721691"], ["updated_at", "2016-08-03 18:43:53.721691"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:43:53.721691"], ["item_id", 1], ["item_type", "Bank"]]  (2.4ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:43:53.753814"], ["updated_at", "2016-08-03 18:43:53.753814"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:43:53.753814"], ["item_id", 2], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 18:43:53.757145"], ["id", 2]] SQL (0.2ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-03 18:43:53.753814000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 18:43:53.757145"], ["item_id", 2], ["item_type", "Bank"]]  (0.8ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 18:43:53.767603"], ["updated_at", "2016-08-03 18:43:53.767603"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:43:53.767603"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 18:43:53.770815"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\ncreated_at: &1 2016-08-03 18:43:53.767603000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 18:43:53.770815"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 18:43:53.774285"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\ncreated_at: 2016-08-03 18:43:53.767603000 Z\nupdated_at: 2016-08-03 18:43:53.770815000 Z\nuser_id: \n"], ["created_at", "2016-08-03 18:43:53.774285"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 18:43:53.777310"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \ncreated_at: 2016-08-03 18:43:53.767603000 Z\nupdated_at: 2016-08-03 18:43:53.774285000 Z\nuser_id: \n"], ["created_at", "2016-08-03 18:43:53.777310"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 18:43:53.785372"], ["updated_at", "2016-08-03 18:43:53.785372"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:43:53.785372"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:43:53.792513"], ["updated_at", "2016-08-03 18:43:53.792513"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 18:43:53.796955"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: &1 2016-08-03 18:43:53.785372000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 18:43:53.796955"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 18:43:53.800826"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: 2016-08-03 18:43:53.785372000 Z\nupdated_at: 2016-08-03 18:43:53.796955000 Z\nuser_id: 1\n"], ["created_at", "2016-08-03 18:43:53.800826"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 9) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:43:53.807853"], ["updated_at", "2016-08-03 18:43:53.807853"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:43:53.809395"], ["updated_at", "2016-08-03 18:43:53.809395"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 18:43:53.810824"], ["updated_at", "2016-08-03 18:43:53.810824"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:43:53.810824"], ["item_id", 5], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 18:43:53.814678"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: &1 2016-08-03 18:43:53.810824000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 18:43:53.814678"], ["item_id", 5], ["item_type", "Bank"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 18:43:53.818763"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 18:43:53.810824000 Z\nupdated_at: 2016-08-03 18:43:53.814678000 Z\nuser_id: 2\n"], ["created_at", "2016-08-03 18:43:53.818763"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 18:43:53.822465"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 18:43:53.810824000 Z\nupdated_at: 2016-08-03 18:43:53.818763000 Z\nuser_id: 3\n"], ["created_at", "2016-08-03 18:43:53.822465"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 12) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 13) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 14) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 18:43:53.833281"], ["updated_at", "2016-08-03 18:43:53.833281"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 18:43:53.833281"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 18:43:53.836850"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\ncreated_at: &1 2016-08-03 18:43:53.833281000 Z\nupdated_at: *1\nuser_id: \n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 18:43:53.836850"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:43:53.840120"], ["updated_at", "2016-08-03 18:43:53.840120"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 18:43:53.841668"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 18:43:53.833281000 Z\nupdated_at: 2016-08-03 18:43:53.836850000 Z\nuser_id: \n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 18:43:53.841668"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:43:53.845461"], ["updated_at", "2016-08-03 18:43:53.845461"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 18:43:53.847018"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 18:43:53.833281000 Z\nupdated_at: 2016-08-03 18:43:53.841668000 Z\nuser_id: 4\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 18:43:53.847018"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 18:43:53.850761"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 18:43:53.833281000 Z\nupdated_at: 2016-08-03 18:43:53.847018000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 18:43:53.850761"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:43:53.854152"], ["updated_at", "2016-08-03 18:43:53.854152"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-08-03 18:43:53.855730"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\ncreated_at: 2016-08-03 18:43:53.833281000 Z\nupdated_at: 2016-08-03 18:43:53.850761000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 18:43:53.855730"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 18:43:53.859049"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\ncreated_at: 2016-08-03 18:43:53.833281000 Z\nupdated_at: 2016-08-03 18:43:53.855730000 Z\nuser_id: 6\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 18:43:53.859049"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 18) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 20) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.3ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)   (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.8ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 19:10:50.181705"], ["updated_at", "2016-08-03 19:10:50.181705"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:10:50.181705"], ["item_id", 1], ["item_type", "Bank"]]  (2.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:10:50.211002"], ["updated_at", "2016-08-03 19:10:50.211002"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:10:50.211002"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:10:50.214173"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-03 19:10:50.211002000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 19:10:50.214173"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 2]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:10:50.227640"], ["updated_at", "2016-08-03 19:10:50.227640"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:10:50.227640"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:10:50.231362"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\ncreated_at: &1 2016-08-03 19:10:50.227640000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 19:10:50.231362"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:10:50.234983"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\ncreated_at: 2016-08-03 19:10:50.227640000 Z\nupdated_at: 2016-08-03 19:10:50.231362000 Z\nuser_id: \n"], ["created_at", "2016-08-03 19:10:50.234983"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 19:10:50.238178"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \ncreated_at: 2016-08-03 19:10:50.227640000 Z\nupdated_at: 2016-08-03 19:10:50.234983000 Z\nuser_id: \n"], ["created_at", "2016-08-03 19:10:50.238178"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] Bank Load (0.0ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] Bank Load (0.0ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:10:50.248670"], ["updated_at", "2016-08-03 19:10:50.248670"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:10:50.248670"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:10:50.255314"], ["updated_at", "2016-08-03 19:10:50.255314"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 19:10:50.257561"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: &1 2016-08-03 19:10:50.248670000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 19:10:50.257561"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:10:50.261563"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: 2016-08-03 19:10:50.248670000 Z\nupdated_at: 2016-08-03 19:10:50.257561000 Z\nuser_id: 1\n"], ["created_at", "2016-08-03 19:10:50.261563"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 4]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 9) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] Bank Load (0.0ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:10:50.271201"], ["updated_at", "2016-08-03 19:10:50.271201"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:10:50.273198"], ["updated_at", "2016-08-03 19:10:50.273198"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:10:50.274716"], ["updated_at", "2016-08-03 19:10:50.274716"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:10:50.274716"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 19:10:50.278077"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: &1 2016-08-03 19:10:50.274716000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 19:10:50.278077"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 19:10:50.282072"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 19:10:50.274716000 Z\nupdated_at: 2016-08-03 19:10:50.278077000 Z\nuser_id: 2\n"], ["created_at", "2016-08-03 19:10:50.282072"], ["item_id", 5], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 19:10:50.285429"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 19:10:50.274716000 Z\nupdated_at: 2016-08-03 19:10:50.282072000 Z\nuser_id: 3\n"], ["created_at", "2016-08-03 19:10:50.285429"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 12) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] Bank Load (0.0ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 13) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] Bank Load (0.0ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 14) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:10:50.296486"], ["updated_at", "2016-08-03 19:10:50.296486"]] SQL (0.2ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:10:50.296486"], ["item_id", 6], ["item_type", "Bank"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:10:50.300425"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\ncreated_at: &1 2016-08-03 19:10:50.296486000 Z\nupdated_at: *1\nuser_id: \n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 19:10:50.300425"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:10:50.304247"], ["updated_at", "2016-08-03 19:10:50.304247"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 19:10:50.305850"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 19:10:50.296486000 Z\nupdated_at: 2016-08-03 19:10:50.300425000 Z\nuser_id: \n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:10:50.305850"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:10:50.309434"], ["updated_at", "2016-08-03 19:10:50.309434"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 19:10:50.311103"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 19:10:50.296486000 Z\nupdated_at: 2016-08-03 19:10:50.305850000 Z\nuser_id: 4\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:10:50.311103"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 19:10:50.315150"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 19:10:50.296486000 Z\nupdated_at: 2016-08-03 19:10:50.311103000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:10:50.315150"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:10:50.319446"], ["updated_at", "2016-08-03 19:10:50.319446"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-08-03 19:10:50.321330"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\ncreated_at: 2016-08-03 19:10:50.296486000 Z\nupdated_at: 2016-08-03 19:10:50.315150000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:10:50.321330"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:10:50.324766"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\ncreated_at: 2016-08-03 19:10:50.296486000 Z\nupdated_at: 2016-08-03 19:10:50.321330000 Z\nuser_id: 6\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:10:50.324766"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] Bank Load (0.0ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] Bank Load (0.0ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 18) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] Bank Load (0.0ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] Bank Load (0.0ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 20) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] Bank Load (0.0ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.7ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)   (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 19:11:19.375170"], ["updated_at", "2016-08-03 19:11:19.375170"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:11:19.375170"], ["item_id", 1], ["item_type", "Bank"]]  (2.4ms) commit transaction Bank Load (0.2ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:11:19.400362"], ["updated_at", "2016-08-03 19:11:19.400362"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:11:19.400362"], ["item_id", 2], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:11:19.404133"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-03 19:11:19.400362000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 19:11:19.404133"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 2]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:11:19.418744"], ["updated_at", "2016-08-03 19:11:19.418744"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:11:19.418744"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:11:19.422384"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\ncreated_at: &1 2016-08-03 19:11:19.418744000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 19:11:19.422384"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:11:19.426764"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\ncreated_at: 2016-08-03 19:11:19.418744000 Z\nupdated_at: 2016-08-03 19:11:19.422384000 Z\nuser_id: \n"], ["created_at", "2016-08-03 19:11:19.426764"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 19:11:19.430069"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \ncreated_at: 2016-08-03 19:11:19.418744000 Z\nupdated_at: 2016-08-03 19:11:19.426764000 Z\nuser_id: \n"], ["created_at", "2016-08-03 19:11:19.430069"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] Bank Load (0.0ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] Bank Load (0.0ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:11:19.446097"], ["updated_at", "2016-08-03 19:11:19.446097"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:11:19.446097"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:11:19.453231"], ["updated_at", "2016-08-03 19:11:19.453231"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 19:11:19.455799"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: &1 2016-08-03 19:11:19.446097000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 19:11:19.455799"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:11:19.459619"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: 2016-08-03 19:11:19.446097000 Z\nupdated_at: 2016-08-03 19:11:19.455799000 Z\nuser_id: 1\n"], ["created_at", "2016-08-03 19:11:19.459619"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 4]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 9) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:11:19.468306"], ["updated_at", "2016-08-03 19:11:19.468306"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:11:19.469809"], ["updated_at", "2016-08-03 19:11:19.469809"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:11:19.471310"], ["updated_at", "2016-08-03 19:11:19.471310"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:11:19.471310"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 19:11:19.474546"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: &1 2016-08-03 19:11:19.471310000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 19:11:19.474546"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 19:11:19.478001"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 19:11:19.471310000 Z\nupdated_at: 2016-08-03 19:11:19.474546000 Z\nuser_id: 2\n"], ["created_at", "2016-08-03 19:11:19.478001"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 19:11:19.481431"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 19:11:19.471310000 Z\nupdated_at: 2016-08-03 19:11:19.478001000 Z\nuser_id: 3\n"], ["created_at", "2016-08-03 19:11:19.481431"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] Bank Load (0.0ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 12) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] Bank Load (0.0ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 13) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] Bank Load (0.0ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 14) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:11:19.493304"], ["updated_at", "2016-08-03 19:11:19.493304"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:11:19.493304"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:11:19.496440"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\ncreated_at: &1 2016-08-03 19:11:19.493304000 Z\nupdated_at: *1\nuser_id: \n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 19:11:19.496440"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:11:19.499701"], ["updated_at", "2016-08-03 19:11:19.499701"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 19:11:19.501534"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 19:11:19.493304000 Z\nupdated_at: 2016-08-03 19:11:19.496440000 Z\nuser_id: \n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:11:19.501534"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:11:19.504975"], ["updated_at", "2016-08-03 19:11:19.504975"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 19:11:19.506459"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 19:11:19.493304000 Z\nupdated_at: 2016-08-03 19:11:19.501534000 Z\nuser_id: 4\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:11:19.506459"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 19:11:19.509880"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 19:11:19.493304000 Z\nupdated_at: 2016-08-03 19:11:19.506459000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:11:19.509880"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:11:19.513524"], ["updated_at", "2016-08-03 19:11:19.513524"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-08-03 19:11:19.515225"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\ncreated_at: 2016-08-03 19:11:19.493304000 Z\nupdated_at: 2016-08-03 19:11:19.509880000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:11:19.515225"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:11:19.518995"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\ncreated_at: 2016-08-03 19:11:19.493304000 Z\nupdated_at: 2016-08-03 19:11:19.515225000 Z\nuser_id: 6\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:11:19.518995"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] Bank Load (0.0ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] Bank Load (0.0ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 6]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 18) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] Bank Load (0.0ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 20) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] Bank Load (0.0ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.6ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)   (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.6ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 19:32:51.971284"], ["updated_at", "2016-08-03 19:32:51.971284"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:32:51.971284"], ["item_id", 1], ["item_type", "Bank"]]  (2.3ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.2ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:32:52.003428"], ["updated_at", "2016-08-03 19:32:52.003428"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:32:52.003428"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:32:52.006493"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-03 19:32:52.003428000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 19:32:52.006493"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:32:52.015713"], ["updated_at", "2016-08-03 19:32:52.015713"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:32:52.015713"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:32:52.019279"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\ncreated_at: &1 2016-08-03 19:32:52.015713000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 19:32:52.019279"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:32:52.022726"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\ncreated_at: 2016-08-03 19:32:52.015713000 Z\nupdated_at: 2016-08-03 19:32:52.019279000 Z\nuser_id: \n"], ["created_at", "2016-08-03 19:32:52.022726"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 19:32:52.027320"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \ncreated_at: 2016-08-03 19:32:52.015713000 Z\nupdated_at: 2016-08-03 19:32:52.022726000 Z\nuser_id: \n"], ["created_at", "2016-08-03 19:32:52.027320"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:32:52.035600"], ["updated_at", "2016-08-03 19:32:52.035600"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:32:52.035600"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:32:52.042610"], ["updated_at", "2016-08-03 19:32:52.042610"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 19:32:52.046710"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: &1 2016-08-03 19:32:52.035600000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 19:32:52.046710"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:32:52.051304"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: 2016-08-03 19:32:52.035600000 Z\nupdated_at: 2016-08-03 19:32:52.046710000 Z\nuser_id: 1\n"], ["created_at", "2016-08-03 19:32:52.051304"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 9) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:32:52.058776"], ["updated_at", "2016-08-03 19:32:52.058776"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:32:52.060590"], ["updated_at", "2016-08-03 19:32:52.060590"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:32:52.062033"], ["updated_at", "2016-08-03 19:32:52.062033"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:32:52.062033"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 19:32:52.065559"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: &1 2016-08-03 19:32:52.062033000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 19:32:52.065559"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 19:32:52.069103"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 19:32:52.062033000 Z\nupdated_at: 2016-08-03 19:32:52.065559000 Z\nuser_id: 2\n"], ["created_at", "2016-08-03 19:32:52.069103"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 19:32:52.072651"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 19:32:52.062033000 Z\nupdated_at: 2016-08-03 19:32:52.069103000 Z\nuser_id: 3\n"], ["created_at", "2016-08-03 19:32:52.072651"], ["item_id", 5], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 12) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 13) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 14) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:32:52.082884"], ["updated_at", "2016-08-03 19:32:52.082884"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:32:52.082884"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:32:52.086336"], ["id", 6]] SQL (0.2ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\ncreated_at: &1 2016-08-03 19:32:52.082884000 Z\nupdated_at: *1\nuser_id: \n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 19:32:52.086336"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:32:52.089872"], ["updated_at", "2016-08-03 19:32:52.089872"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 19:32:52.091701"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 19:32:52.082884000 Z\nupdated_at: 2016-08-03 19:32:52.086336000 Z\nuser_id: \n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:32:52.091701"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:32:52.095438"], ["updated_at", "2016-08-03 19:32:52.095438"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 19:32:52.096975"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 19:32:52.082884000 Z\nupdated_at: 2016-08-03 19:32:52.091701000 Z\nuser_id: 4\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:32:52.096975"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 19:32:52.100324"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 19:32:52.082884000 Z\nupdated_at: 2016-08-03 19:32:52.096975000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:32:52.100324"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:32:52.103243"], ["updated_at", "2016-08-03 19:32:52.103243"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-08-03 19:32:52.104793"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\ncreated_at: 2016-08-03 19:32:52.082884000 Z\nupdated_at: 2016-08-03 19:32:52.100324000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:32:52.104793"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:32:52.108383"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\ncreated_at: 2016-08-03 19:32:52.082884000 Z\nupdated_at: 2016-08-03 19:32:52.104793000 Z\nuser_id: 6\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:32:52.108383"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 18) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 20) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.9ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)   (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 19:35:03.207884"], ["updated_at", "2016-08-03 19:35:03.207884"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:35:03.207884"], ["item_id", 1], ["item_type", "Bank"]]  (2.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:35:03.238990"], ["updated_at", "2016-08-03 19:35:03.238990"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:35:03.238990"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:35:03.242431"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-03 19:35:03.238990000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 19:35:03.242431"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:35:03.251178"], ["updated_at", "2016-08-03 19:35:03.251178"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:35:03.251178"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:35:03.254704"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\ncreated_at: &1 2016-08-03 19:35:03.251178000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 19:35:03.254704"], ["item_id", 3], ["item_type", "Bank"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:35:03.259025"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\ncreated_at: 2016-08-03 19:35:03.251178000 Z\nupdated_at: 2016-08-03 19:35:03.254704000 Z\nuser_id: \n"], ["created_at", "2016-08-03 19:35:03.259025"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 19:35:03.263292"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \ncreated_at: 2016-08-03 19:35:03.251178000 Z\nupdated_at: 2016-08-03 19:35:03.259025000 Z\nuser_id: \n"], ["created_at", "2016-08-03 19:35:03.263292"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:35:03.272877"], ["updated_at", "2016-08-03 19:35:03.272877"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:35:03.272877"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:35:03.281497"], ["updated_at", "2016-08-03 19:35:03.281497"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:35:03.281497"], ["item_id", 1], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:35:03.285313"], ["updated_at", "2016-08-03 19:35:03.285313"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:35:03.285313"], ["item_id", 2], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:35:03.288163"], ["updated_at", "2016-08-03 19:35:03.288163"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:35:03.288163"], ["item_id", 5], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 19:35:03.293729"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: &1 2016-08-03 19:35:03.288163000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 19:35:03.293729"], ["item_id", 5], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 19:35:03.297857"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 19:35:03.288163000 Z\nupdated_at: 2016-08-03 19:35:03.293729000 Z\nuser_id: 1\n"], ["created_at", "2016-08-03 19:35:03.297857"], ["item_id", 5], ["item_type", "Bank"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 19:35:03.302014"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 19:35:03.288163000 Z\nupdated_at: 2016-08-03 19:35:03.297857000 Z\nuser_id: 2\n"], ["created_at", "2016-08-03 19:35:03.302014"], ["item_id", 5], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 12) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 13) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 14) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:35:03.313451"], ["updated_at", "2016-08-03 19:35:03.313451"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:35:03.313451"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:35:03.316743"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\ncreated_at: &1 2016-08-03 19:35:03.313451000 Z\nupdated_at: *1\nuser_id: \n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 19:35:03.316743"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:35:03.320371"], ["updated_at", "2016-08-03 19:35:03.320371"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:35:03.320371"], ["item_id", 3], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 19:35:03.323347"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 19:35:03.313451000 Z\nupdated_at: 2016-08-03 19:35:03.316743000 Z\nuser_id: \n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:35:03.323347"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:35:03.326640"], ["updated_at", "2016-08-03 19:35:03.326640"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:35:03.326640"], ["item_id", 4], ["item_type", "User"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 19:35:03.329877"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 19:35:03.313451000 Z\nupdated_at: 2016-08-03 19:35:03.323347000 Z\nuser_id: 3\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:35:03.329877"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 19:35:03.333528"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 19:35:03.313451000 Z\nupdated_at: 2016-08-03 19:35:03.329877000 Z\nuser_id: 4\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:35:03.333528"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:35:03.337078"], ["updated_at", "2016-08-03 19:35:03.337078"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:35:03.337078"], ["item_id", 5], ["item_type", "User"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 19:35:03.340592"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\ncreated_at: 2016-08-03 19:35:03.313451000 Z\nupdated_at: 2016-08-03 19:35:03.333528000 Z\nuser_id: 4\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:35:03.340592"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:35:03.344576"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\ncreated_at: 2016-08-03 19:35:03.313451000 Z\nupdated_at: 2016-08-03 19:35:03.340592000 Z\nuser_id: 5\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:35:03.344576"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 18) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 20) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 23) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 24) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]  (2.5ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 19:37:45.066485"], ["updated_at", "2016-08-03 19:37:45.066485"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:37:45.066485"], ["item_id", 1], ["item_type", "Bank"]]  (2.3ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:37:45.096909"], ["updated_at", "2016-08-03 19:37:45.096909"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:37:45.096909"], ["item_id", 2], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:37:45.101072"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \nuser_id: \ncreated_at: &1 2016-08-03 19:37:45.096909000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 19:37:45.101072"], ["item_id", 2], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:37:45.110400"], ["updated_at", "2016-08-03 19:37:45.110400"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:37:45.110400"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:37:45.114022"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 19:37:45.110400000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 19:37:45.114022"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:37:45.117623"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\nuser_id: \ncreated_at: 2016-08-03 19:37:45.110400000 Z\nupdated_at: 2016-08-03 19:37:45.114022000 Z\n"], ["created_at", "2016-08-03 19:37:45.117623"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 19:37:45.121195"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \nuser_id: \ncreated_at: 2016-08-03 19:37:45.110400000 Z\nupdated_at: 2016-08-03 19:37:45.117623000 Z\n"], ["created_at", "2016-08-03 19:37:45.121195"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:37:45.129509"], ["updated_at", "2016-08-03 19:37:45.129509"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:37:45.129509"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:37:45.139582"], ["updated_at", "2016-08-03 19:37:45.139582"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:37:45.139582"], ["item_id", 1], ["item_type", "User"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 19:37:45.145740"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 19:37:45.129509000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 19:37:45.145740"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:37:45.149095"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: 1\ncreated_at: 2016-08-03 19:37:45.129509000 Z\nupdated_at: 2016-08-03 19:37:45.145740000 Z\n"], ["created_at", "2016-08-03 19:37:45.149095"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 11) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:37:45.156372"], ["updated_at", "2016-08-03 19:37:45.156372"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:37:45.156372"], ["item_id", 2], ["item_type", "User"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:37:45.159934"], ["updated_at", "2016-08-03 19:37:45.159934"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:37:45.159934"], ["item_id", 3], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:37:45.163152"], ["updated_at", "2016-08-03 19:37:45.163152"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:37:45.163152"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 19:37:45.166254"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 19:37:45.163152000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 19:37:45.166254"], ["item_id", 5], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 19:37:45.169904"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 2\ncreated_at: 2016-08-03 19:37:45.163152000 Z\nupdated_at: 2016-08-03 19:37:45.166254000 Z\n"], ["created_at", "2016-08-03 19:37:45.169904"], ["item_id", 5], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 19:37:45.173081"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 3\ncreated_at: 2016-08-03 19:37:45.163152000 Z\nupdated_at: 2016-08-03 19:37:45.169904000 Z\n"], ["created_at", "2016-08-03 19:37:45.173081"], ["item_id", 5], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 15) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:37:45.182906"], ["updated_at", "2016-08-03 19:37:45.182906"]] SQL (0.2ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:37:45.182906"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:37:45.186804"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 19:37:45.182906000 Z\nupdated_at: *1\n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 19:37:45.186804"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:37:45.190339"], ["updated_at", "2016-08-03 19:37:45.190339"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:37:45.190339"], ["item_id", 4], ["item_type", "User"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 19:37:45.193973"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: \ncreated_at: 2016-08-03 19:37:45.182906000 Z\nupdated_at: 2016-08-03 19:37:45.186804000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:37:45.193973"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:37:45.197801"], ["updated_at", "2016-08-03 19:37:45.197801"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:37:45.197801"], ["item_id", 5], ["item_type", "User"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 19:37:45.201832"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 4\ncreated_at: 2016-08-03 19:37:45.182906000 Z\nupdated_at: 2016-08-03 19:37:45.193973000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:37:45.201832"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 19:37:45.205608"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 5\ncreated_at: 2016-08-03 19:37:45.182906000 Z\nupdated_at: 2016-08-03 19:37:45.201832000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:37:45.205608"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:37:45.208841"], ["updated_at", "2016-08-03 19:37:45.208841"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:37:45.208841"], ["item_id", 6], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-08-03 19:37:45.211579"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 5\ncreated_at: 2016-08-03 19:37:45.182906000 Z\nupdated_at: 2016-08-03 19:37:45.205608000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:37:45.211579"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:37:45.214873"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 6\ncreated_at: 2016-08-03 19:37:45.182906000 Z\nupdated_at: 2016-08-03 19:37:45.211579000 Z\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:37:45.214873"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 23) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 24) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 26) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 27) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2016-08-03 19:37:45.226476"], ["updated_at", "2016-08-03 19:37:45.226476"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:37:45.226476"], ["item_id", 7], ["item_type", "User"]]  (0.7ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.7ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.7ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.6ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 19:38:17.023809"], ["updated_at", "2016-08-03 19:38:17.023809"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:38:17.023809"], ["item_id", 1], ["item_type", "Bank"]]  (2.6ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:38:17.056087"], ["updated_at", "2016-08-03 19:38:17.056087"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:38:17.056087"], ["item_id", 2], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:38:17.059445"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \nuser_id: \ncreated_at: &1 2016-08-03 19:38:17.056087000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 19:38:17.059445"], ["item_id", 2], ["item_type", "Bank"]]  (0.7ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:38:17.068959"], ["updated_at", "2016-08-03 19:38:17.068959"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:38:17.068959"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:38:17.072360"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 19:38:17.068959000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 19:38:17.072360"], ["item_id", 3], ["item_type", "Bank"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:38:17.077246"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\nuser_id: \ncreated_at: 2016-08-03 19:38:17.068959000 Z\nupdated_at: 2016-08-03 19:38:17.072360000 Z\n"], ["created_at", "2016-08-03 19:38:17.077246"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 19:38:17.080755"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \nuser_id: \ncreated_at: 2016-08-03 19:38:17.068959000 Z\nupdated_at: 2016-08-03 19:38:17.077246000 Z\n"], ["created_at", "2016-08-03 19:38:17.080755"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:38:17.089105"], ["updated_at", "2016-08-03 19:38:17.089105"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:38:17.089105"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:38:17.098382"], ["updated_at", "2016-08-03 19:38:17.098382"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:38:17.098382"], ["item_id", 1], ["item_type", "User"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 19:38:17.104722"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 19:38:17.089105000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 19:38:17.104722"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:38:17.109697"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: 1\ncreated_at: 2016-08-03 19:38:17.089105000 Z\nupdated_at: 2016-08-03 19:38:17.104722000 Z\n"], ["created_at", "2016-08-03 19:38:17.109697"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 11) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:38:17.117042"], ["updated_at", "2016-08-03 19:38:17.117042"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:38:17.117042"], ["item_id", 2], ["item_type", "User"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:38:17.120201"], ["updated_at", "2016-08-03 19:38:17.120201"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:38:17.120201"], ["item_id", 3], ["item_type", "User"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:38:17.123294"], ["updated_at", "2016-08-03 19:38:17.123294"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:38:17.123294"], ["item_id", 5], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 19:38:17.126748"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 19:38:17.123294000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 19:38:17.126748"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 19:38:17.130595"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 2\ncreated_at: 2016-08-03 19:38:17.123294000 Z\nupdated_at: 2016-08-03 19:38:17.126748000 Z\n"], ["created_at", "2016-08-03 19:38:17.130595"], ["item_id", 5], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 19:38:17.134283"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 3\ncreated_at: 2016-08-03 19:38:17.123294000 Z\nupdated_at: 2016-08-03 19:38:17.130595000 Z\n"], ["created_at", "2016-08-03 19:38:17.134283"], ["item_id", 5], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 15) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:38:17.145511"], ["updated_at", "2016-08-03 19:38:17.145511"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:38:17.145511"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:38:17.149854"], ["id", 6]] SQL (0.2ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 19:38:17.145511000 Z\nupdated_at: *1\n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 19:38:17.149854"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:38:17.154568"], ["updated_at", "2016-08-03 19:38:17.154568"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:38:17.154568"], ["item_id", 4], ["item_type", "User"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 19:38:17.158502"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: \ncreated_at: 2016-08-03 19:38:17.145511000 Z\nupdated_at: 2016-08-03 19:38:17.149854000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:38:17.158502"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:38:17.161940"], ["updated_at", "2016-08-03 19:38:17.161940"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:38:17.161940"], ["item_id", 5], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 19:38:17.165017"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 4\ncreated_at: 2016-08-03 19:38:17.145511000 Z\nupdated_at: 2016-08-03 19:38:17.158502000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:38:17.165017"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 19:38:17.168201"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 5\ncreated_at: 2016-08-03 19:38:17.145511000 Z\nupdated_at: 2016-08-03 19:38:17.165017000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:38:17.168201"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:38:17.172888"], ["updated_at", "2016-08-03 19:38:17.172888"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:38:17.172888"], ["item_id", 6], ["item_type", "User"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-08-03 19:38:17.177021"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 5\ncreated_at: 2016-08-03 19:38:17.145511000 Z\nupdated_at: 2016-08-03 19:38:17.168201000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:38:17.177021"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:38:17.180235"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 6\ncreated_at: 2016-08-03 19:38:17.145511000 Z\nupdated_at: 2016-08-03 19:38:17.177021000 Z\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:38:17.180235"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 23) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 24) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 26) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 27) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2016-08-03 19:38:17.191018"], ["updated_at", "2016-08-03 19:38:17.191018"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:38:17.191018"], ["item_id", 7], ["item_type", "User"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 7], ["item_type", "User"]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.9ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 19:38:55.863579"], ["updated_at", "2016-08-03 19:38:55.863579"]] SQL (0.3ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:38:55.863579"], ["item_id", 1], ["item_type", "Bank"]]  (2.5ms) commit transaction Bank Load (0.2ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:38:55.895193"], ["updated_at", "2016-08-03 19:38:55.895193"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:38:55.895193"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:38:55.898654"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \nuser_id: \ncreated_at: &1 2016-08-03 19:38:55.895193000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 19:38:55.898654"], ["item_id", 2], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:38:55.907541"], ["updated_at", "2016-08-03 19:38:55.907541"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:38:55.907541"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:38:55.910429"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 19:38:55.907541000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 19:38:55.910429"], ["item_id", 3], ["item_type", "Bank"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:38:55.914798"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\nuser_id: \ncreated_at: 2016-08-03 19:38:55.907541000 Z\nupdated_at: 2016-08-03 19:38:55.910429000 Z\n"], ["created_at", "2016-08-03 19:38:55.914798"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 19:38:55.918975"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \nuser_id: \ncreated_at: 2016-08-03 19:38:55.907541000 Z\nupdated_at: 2016-08-03 19:38:55.914798000 Z\n"], ["created_at", "2016-08-03 19:38:55.918975"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.3ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:38:55.927693"], ["updated_at", "2016-08-03 19:38:55.927693"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:38:55.927693"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:38:55.936365"], ["updated_at", "2016-08-03 19:38:55.936365"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:38:55.936365"], ["item_id", 1], ["item_type", "User"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 19:38:55.942977"], ["id", 4]] SQL (0.2ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 19:38:55.927693000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 19:38:55.942977"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:38:55.947049"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: 1\ncreated_at: 2016-08-03 19:38:55.927693000 Z\nupdated_at: 2016-08-03 19:38:55.942977000 Z\n"], ["created_at", "2016-08-03 19:38:55.947049"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 11) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:38:55.954822"], ["updated_at", "2016-08-03 19:38:55.954822"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:38:55.954822"], ["item_id", 2], ["item_type", "User"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:38:55.958304"], ["updated_at", "2016-08-03 19:38:55.958304"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:38:55.958304"], ["item_id", 3], ["item_type", "User"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:38:55.962174"], ["updated_at", "2016-08-03 19:38:55.962174"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:38:55.962174"], ["item_id", 5], ["item_type", "Bank"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 19:38:55.966128"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 19:38:55.962174000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 19:38:55.966128"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 19:38:55.969298"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 2\ncreated_at: 2016-08-03 19:38:55.962174000 Z\nupdated_at: 2016-08-03 19:38:55.966128000 Z\n"], ["created_at", "2016-08-03 19:38:55.969298"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 19:38:55.972287"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 3\ncreated_at: 2016-08-03 19:38:55.962174000 Z\nupdated_at: 2016-08-03 19:38:55.969298000 Z\n"], ["created_at", "2016-08-03 19:38:55.972287"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 15) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:38:55.982204"], ["updated_at", "2016-08-03 19:38:55.982204"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:38:55.982204"], ["item_id", 6], ["item_type", "Bank"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:38:55.985847"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 19:38:55.982204000 Z\nupdated_at: *1\n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 19:38:55.985847"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:38:55.989646"], ["updated_at", "2016-08-03 19:38:55.989646"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:38:55.989646"], ["item_id", 4], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 19:38:55.993414"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: \ncreated_at: 2016-08-03 19:38:55.982204000 Z\nupdated_at: 2016-08-03 19:38:55.985847000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:38:55.993414"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:38:55.997690"], ["updated_at", "2016-08-03 19:38:55.997690"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:38:55.997690"], ["item_id", 5], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 19:38:56.001388"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 4\ncreated_at: 2016-08-03 19:38:55.982204000 Z\nupdated_at: 2016-08-03 19:38:55.993414000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:38:56.001388"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 19:38:56.004758"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 5\ncreated_at: 2016-08-03 19:38:55.982204000 Z\nupdated_at: 2016-08-03 19:38:56.001388000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:38:56.004758"], ["item_id", 6], ["item_type", "Bank"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:38:56.008023"], ["updated_at", "2016-08-03 19:38:56.008023"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:38:56.008023"], ["item_id", 6], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-08-03 19:38:56.011038"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 5\ncreated_at: 2016-08-03 19:38:55.982204000 Z\nupdated_at: 2016-08-03 19:38:56.004758000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:38:56.011038"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:38:56.014544"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 6\ncreated_at: 2016-08-03 19:38:55.982204000 Z\nupdated_at: 2016-08-03 19:38:56.011038000 Z\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:38:56.014544"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 23) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 24) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 26) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 27) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2016-08-03 19:38:56.025857"], ["updated_at", "2016-08-03 19:38:56.025857"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:38:56.025857"], ["item_id", 7], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 2], ["created_at", "2016-08-03 19:38:56.029199"], ["updated_at", "2016-08-03 19:38:56.029199"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:38:56.029199"], ["item_id", 8], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:38:56.032260"], ["updated_at", "2016-08-03 19:38:56.032260"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:38:56.032260"], ["item_id", 9], ["item_type", "User"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 9], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 9], ["item_type", "User"]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.8ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 19:39:39.382838"], ["updated_at", "2016-08-03 19:39:39.382838"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:39:39.382838"], ["item_id", 1], ["item_type", "Bank"]]  (2.6ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:39:39.408160"], ["updated_at", "2016-08-03 19:39:39.408160"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:39:39.408160"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:39:39.411511"], ["id", 2]] SQL (0.2ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \nuser_id: \ncreated_at: &1 2016-08-03 19:39:39.408160000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 19:39:39.411511"], ["item_id", 2], ["item_type", "Bank"]]  (0.7ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:39:39.422262"], ["updated_at", "2016-08-03 19:39:39.422262"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:39:39.422262"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:39:39.426208"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 19:39:39.422262000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 19:39:39.426208"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:39:39.429758"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\nuser_id: \ncreated_at: 2016-08-03 19:39:39.422262000 Z\nupdated_at: 2016-08-03 19:39:39.426208000 Z\n"], ["created_at", "2016-08-03 19:39:39.429758"], ["item_id", 3], ["item_type", "Bank"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 19:39:39.433386"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \nuser_id: \ncreated_at: 2016-08-03 19:39:39.422262000 Z\nupdated_at: 2016-08-03 19:39:39.429758000 Z\n"], ["created_at", "2016-08-03 19:39:39.433386"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:39:39.442420"], ["updated_at", "2016-08-03 19:39:39.442420"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:39:39.442420"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:39:39.457564"], ["updated_at", "2016-08-03 19:39:39.457564"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:39:39.457564"], ["item_id", 1], ["item_type", "User"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 19:39:39.464167"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 19:39:39.442420000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 19:39:39.464167"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:39:39.468212"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: 1\ncreated_at: 2016-08-03 19:39:39.442420000 Z\nupdated_at: 2016-08-03 19:39:39.464167000 Z\n"], ["created_at", "2016-08-03 19:39:39.468212"], ["item_id", 4], ["item_type", "Bank"]]  (0.7ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 11) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:39:39.476267"], ["updated_at", "2016-08-03 19:39:39.476267"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:39:39.476267"], ["item_id", 2], ["item_type", "User"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:39:39.479387"], ["updated_at", "2016-08-03 19:39:39.479387"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:39:39.479387"], ["item_id", 3], ["item_type", "User"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:39:39.482806"], ["updated_at", "2016-08-03 19:39:39.482806"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:39:39.482806"], ["item_id", 5], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 19:39:39.486262"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 19:39:39.482806000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 19:39:39.486262"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 19:39:39.489867"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 2\ncreated_at: 2016-08-03 19:39:39.482806000 Z\nupdated_at: 2016-08-03 19:39:39.486262000 Z\n"], ["created_at", "2016-08-03 19:39:39.489867"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 19:39:39.493475"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 3\ncreated_at: 2016-08-03 19:39:39.482806000 Z\nupdated_at: 2016-08-03 19:39:39.489867000 Z\n"], ["created_at", "2016-08-03 19:39:39.493475"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 15) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:39:39.503188"], ["updated_at", "2016-08-03 19:39:39.503188"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:39:39.503188"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:39:39.507101"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 19:39:39.503188000 Z\nupdated_at: *1\n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 19:39:39.507101"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:39:39.510933"], ["updated_at", "2016-08-03 19:39:39.510933"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:39:39.510933"], ["item_id", 4], ["item_type", "User"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 19:39:39.514406"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: \ncreated_at: 2016-08-03 19:39:39.503188000 Z\nupdated_at: 2016-08-03 19:39:39.507101000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:39:39.514406"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:39:39.518499"], ["updated_at", "2016-08-03 19:39:39.518499"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:39:39.518499"], ["item_id", 5], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 19:39:39.521882"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 4\ncreated_at: 2016-08-03 19:39:39.503188000 Z\nupdated_at: 2016-08-03 19:39:39.514406000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:39:39.521882"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 19:39:39.525327"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 5\ncreated_at: 2016-08-03 19:39:39.503188000 Z\nupdated_at: 2016-08-03 19:39:39.521882000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:39:39.525327"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:39:39.528517"], ["updated_at", "2016-08-03 19:39:39.528517"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:39:39.528517"], ["item_id", 6], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-08-03 19:39:39.531552"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 5\ncreated_at: 2016-08-03 19:39:39.503188000 Z\nupdated_at: 2016-08-03 19:39:39.525327000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:39:39.531552"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:39:39.535320"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 6\ncreated_at: 2016-08-03 19:39:39.503188000 Z\nupdated_at: 2016-08-03 19:39:39.531552000 Z\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:39:39.535320"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 23) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 24) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 26) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 27) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2016-08-03 19:39:39.546702"], ["updated_at", "2016-08-03 19:39:39.546702"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:39:39.546702"], ["item_id", 7], ["item_type", "User"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 2], ["created_at", "2016-08-03 19:39:39.550265"], ["updated_at", "2016-08-03 19:39:39.550265"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:39:39.550265"], ["item_id", 8], ["item_type", "User"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:39:39.554083"], ["updated_at", "2016-08-03 19:39:39.554083"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:39:39.554083"], ["item_id", 9], ["item_type", "User"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 9], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 9], ["item_type", "User"]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.6ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.5ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.8ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2016-08-03 19:41:10.065333"], ["updated_at", "2016-08-03 19:41:10.065333"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:41:10.065333"], ["item_id", 1], ["item_type", "User"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 2], ["created_at", "2016-08-03 19:41:10.083508"], ["updated_at", "2016-08-03 19:41:10.083508"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:41:10.083508"], ["item_id", 2], ["item_type", "User"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:41:10.086809"], ["updated_at", "2016-08-03 19:41:10.086809"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:41:10.086809"], ["item_id", 3], ["item_type", "User"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "User"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "User"]] ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.5ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2016-08-03 19:41:25.530591"], ["updated_at", "2016-08-03 19:41:25.530591"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:41:25.530591"], ["item_id", 1], ["item_type", "User"]]  (2.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 2], ["created_at", "2016-08-03 19:41:25.552234"], ["updated_at", "2016-08-03 19:41:25.552234"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:41:25.552234"], ["item_id", 2], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:41:25.556427"], ["updated_at", "2016-08-03 19:41:25.556427"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:41:25.556427"], ["item_id", 3], ["item_type", "User"]]  (0.7ms) commit transaction PaperTrail::Version Load (0.3ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "User"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "User"]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.8ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.5ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.6ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 20:52:49.688138"], ["updated_at", "2016-08-03 20:52:49.688138"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:52:49.688138"], ["item_id", 1], ["item_type", "Bank"]]  (2.3ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:52:49.713220"], ["updated_at", "2016-08-03 20:52:49.713220"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:52:49.713220"], ["item_id", 2], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 20:52:49.717385"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \nuser_id: \ncreated_at: &1 2016-08-03 20:52:49.713220000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:52:49.717385"], ["item_id", 2], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:52:49.732549"], ["updated_at", "2016-08-03 20:52:49.732549"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:52:49.732549"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 20:52:49.735765"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:52:49.732549000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:52:49.735765"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 20:52:49.739408"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\nuser_id: \ncreated_at: 2016-08-03 20:52:49.732549000 Z\nupdated_at: 2016-08-03 20:52:49.735765000 Z\n"], ["created_at", "2016-08-03 20:52:49.739408"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 20:52:49.743469"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \nuser_id: \ncreated_at: 2016-08-03 20:52:49.732549000 Z\nupdated_at: 2016-08-03 20:52:49.739408000 Z\n"], ["created_at", "2016-08-03 20:52:49.743469"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:52:49.752439"], ["updated_at", "2016-08-03 20:52:49.752439"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:52:49.752439"], ["item_id", 4], ["item_type", "Bank"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:52:49.762137"], ["updated_at", "2016-08-03 20:52:49.762137"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:52:49.762137"], ["item_id", 1], ["item_type", "User"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 20:52:49.768248"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:52:49.752439000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:52:49.768248"], ["item_id", 4], ["item_type", "Bank"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 20:52:49.772838"], ["id", 4]] SQL (0.2ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: 1\ncreated_at: 2016-08-03 20:52:49.752439000 Z\nupdated_at: 2016-08-03 20:52:49.768248000 Z\n"], ["created_at", "2016-08-03 20:52:49.772838"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 11) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:52:49.780927"], ["updated_at", "2016-08-03 20:52:49.780927"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:52:49.780927"], ["item_id", 2], ["item_type", "User"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:52:49.784883"], ["updated_at", "2016-08-03 20:52:49.784883"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:52:49.784883"], ["item_id", 3], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:52:49.788187"], ["updated_at", "2016-08-03 20:52:49.788187"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:52:49.788187"], ["item_id", 5], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 20:52:49.791903"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:52:49.788187000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:52:49.791903"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 20:52:49.795141"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 2\ncreated_at: 2016-08-03 20:52:49.788187000 Z\nupdated_at: 2016-08-03 20:52:49.791903000 Z\n"], ["created_at", "2016-08-03 20:52:49.795141"], ["item_id", 5], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 20:52:49.798494"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 3\ncreated_at: 2016-08-03 20:52:49.788187000 Z\nupdated_at: 2016-08-03 20:52:49.795141000 Z\n"], ["created_at", "2016-08-03 20:52:49.798494"], ["item_id", 5], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 15) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:52:49.808128"], ["updated_at", "2016-08-03 20:52:49.808128"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 20:52:49.808128"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 20:52:49.812015"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:52:49.808128000 Z\nupdated_at: *1\n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 20:52:49.812015"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:52:49.815824"], ["updated_at", "2016-08-03 20:52:49.815824"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:52:49.815824"], ["item_id", 4], ["item_type", "User"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 20:52:49.819351"], ["id", 6]] SQL (0.2ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: \ncreated_at: 2016-08-03 20:52:49.808128000 Z\nupdated_at: 2016-08-03 20:52:49.812015000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:52:49.819351"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:52:49.823455"], ["updated_at", "2016-08-03 20:52:49.823455"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:52:49.823455"], ["item_id", 5], ["item_type", "User"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 20:52:49.827139"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 4\ncreated_at: 2016-08-03 20:52:49.808128000 Z\nupdated_at: 2016-08-03 20:52:49.819351000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:52:49.827139"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 20:52:49.830772"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 5\ncreated_at: 2016-08-03 20:52:49.808128000 Z\nupdated_at: 2016-08-03 20:52:49.827139000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:52:49.830772"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:52:49.834264"], ["updated_at", "2016-08-03 20:52:49.834264"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:52:49.834264"], ["item_id", 6], ["item_type", "User"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-08-03 20:52:49.837653"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 5\ncreated_at: 2016-08-03 20:52:49.808128000 Z\nupdated_at: 2016-08-03 20:52:49.830772000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:52:49.837653"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 20:52:49.840947"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 6\ncreated_at: 2016-08-03 20:52:49.808128000 Z\nupdated_at: 2016-08-03 20:52:49.837653000 Z\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 20:52:49.840947"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 23) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 24) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 26) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 27) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2016-08-03 20:52:49.852446"], ["updated_at", "2016-08-03 20:52:49.852446"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 20:52:49.852446"], ["item_id", 7], ["item_type", "User"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", 2], ["updated_at", "2016-08-03 20:52:49.855815"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 0\ncreated_at: &1 2016-08-03 20:52:49.852446000 Z\nupdated_at: *1\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 20:52:49.855815"], ["item_id", 7], ["item_type", "User"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", nil], ["updated_at", "2016-08-03 20:52:49.858934"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 2\ncreated_at: 2016-08-03 20:52:49.852446000 Z\nupdated_at: 2016-08-03 20:52:49.855815000 Z\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 20:52:49.858934"], ["item_id", 7], ["item_type", "User"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 29) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 30) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.0ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.5ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 20:56:20.773671"], ["updated_at", "2016-08-03 20:56:20.773671"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:56:20.773671"], ["item_id", 1], ["item_type", "Bank"]]  (2.3ms) commit transaction Bank Load (0.2ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (5.3ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:56:20.805212"], ["updated_at", "2016-08-03 20:56:20.805212"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:56:20.805212"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 20:56:20.809062"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \nuser_id: \ncreated_at: &1 2016-08-03 20:56:20.805212000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:56:20.809062"], ["item_id", 2], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:56:20.818149"], ["updated_at", "2016-08-03 20:56:20.818149"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:56:20.818149"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 20:56:20.821447"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:56:20.818149000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:56:20.821447"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 20:56:20.825523"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\nuser_id: \ncreated_at: 2016-08-03 20:56:20.818149000 Z\nupdated_at: 2016-08-03 20:56:20.821447000 Z\n"], ["created_at", "2016-08-03 20:56:20.825523"], ["item_id", 3], ["item_type", "Bank"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 20:56:20.829582"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \nuser_id: \ncreated_at: 2016-08-03 20:56:20.818149000 Z\nupdated_at: 2016-08-03 20:56:20.825523000 Z\n"], ["created_at", "2016-08-03 20:56:20.829582"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:56:20.838131"], ["updated_at", "2016-08-03 20:56:20.838131"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:56:20.838131"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:56:20.846971"], ["updated_at", "2016-08-03 20:56:20.846971"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:56:20.846971"], ["item_id", 1], ["item_type", "User"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 20:56:20.853165"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:56:20.838131000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:56:20.853165"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 20:56:20.857410"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: 1\ncreated_at: 2016-08-03 20:56:20.838131000 Z\nupdated_at: 2016-08-03 20:56:20.853165000 Z\n"], ["created_at", "2016-08-03 20:56:20.857410"], ["item_id", 4], ["item_type", "Bank"]]  (0.7ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 11) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:56:20.865977"], ["updated_at", "2016-08-03 20:56:20.865977"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:56:20.865977"], ["item_id", 2], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:56:20.869113"], ["updated_at", "2016-08-03 20:56:20.869113"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:56:20.869113"], ["item_id", 3], ["item_type", "User"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:56:20.872533"], ["updated_at", "2016-08-03 20:56:20.872533"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:56:20.872533"], ["item_id", 5], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 20:56:20.876127"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:56:20.872533000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:56:20.876127"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 20:56:20.880131"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 2\ncreated_at: 2016-08-03 20:56:20.872533000 Z\nupdated_at: 2016-08-03 20:56:20.876127000 Z\n"], ["created_at", "2016-08-03 20:56:20.880131"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 20:56:20.884030"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 3\ncreated_at: 2016-08-03 20:56:20.872533000 Z\nupdated_at: 2016-08-03 20:56:20.880131000 Z\n"], ["created_at", "2016-08-03 20:56:20.884030"], ["item_id", 5], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 15) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:56:20.893745"], ["updated_at", "2016-08-03 20:56:20.893745"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 20:56:20.893745"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 20:56:20.897262"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:56:20.893745000 Z\nupdated_at: *1\n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 20:56:20.897262"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:56:20.901352"], ["updated_at", "2016-08-03 20:56:20.901352"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:56:20.901352"], ["item_id", 4], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 20:56:20.904674"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: \ncreated_at: 2016-08-03 20:56:20.893745000 Z\nupdated_at: 2016-08-03 20:56:20.897262000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:56:20.904674"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:56:20.908482"], ["updated_at", "2016-08-03 20:56:20.908482"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:56:20.908482"], ["item_id", 5], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 20:56:20.911714"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 4\ncreated_at: 2016-08-03 20:56:20.893745000 Z\nupdated_at: 2016-08-03 20:56:20.904674000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:56:20.911714"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 20:56:20.915210"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 5\ncreated_at: 2016-08-03 20:56:20.893745000 Z\nupdated_at: 2016-08-03 20:56:20.911714000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:56:20.915210"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:56:20.918922"], ["updated_at", "2016-08-03 20:56:20.918922"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:56:20.918922"], ["item_id", 6], ["item_type", "User"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-08-03 20:56:20.922345"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 5\ncreated_at: 2016-08-03 20:56:20.893745000 Z\nupdated_at: 2016-08-03 20:56:20.915210000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:56:20.922345"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 20:56:20.926410"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 6\ncreated_at: 2016-08-03 20:56:20.893745000 Z\nupdated_at: 2016-08-03 20:56:20.922345000 Z\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 20:56:20.926410"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 23) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 24) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 26) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 27) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2016-08-03 20:56:20.937583"], ["updated_at", "2016-08-03 20:56:20.937583"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 20:56:20.937583"], ["item_id", 7], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", 2], ["updated_at", "2016-08-03 20:56:20.940614"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 0\ncreated_at: &1 2016-08-03 20:56:20.937583000 Z\nupdated_at: *1\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 20:56:20.940614"], ["item_id", 7], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", nil], ["updated_at", "2016-08-03 20:56:20.943925"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 2\ncreated_at: 2016-08-03 20:56:20.937583000 Z\nupdated_at: 2016-08-03 20:56:20.940614000 Z\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 20:56:20.943925"], ["item_id", 7], ["item_type", "User"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 29) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 30) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.7ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.7ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 20:57:53.117389"], ["updated_at", "2016-08-03 20:57:53.117389"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:57:53.117389"], ["item_id", 1], ["item_type", "Bank"]]  (2.4ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:57:53.143591"], ["updated_at", "2016-08-03 20:57:53.143591"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:57:53.143591"], ["item_id", 2], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 20:57:53.147136"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \nuser_id: \ncreated_at: &1 2016-08-03 20:57:53.143591000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:57:53.147136"], ["item_id", 2], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:57:53.162224"], ["updated_at", "2016-08-03 20:57:53.162224"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:57:53.162224"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 20:57:53.165187"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:57:53.162224000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:57:53.165187"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 20:57:53.168862"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\nuser_id: \ncreated_at: 2016-08-03 20:57:53.162224000 Z\nupdated_at: 2016-08-03 20:57:53.165187000 Z\n"], ["created_at", "2016-08-03 20:57:53.168862"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 20:57:53.173093"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \nuser_id: \ncreated_at: 2016-08-03 20:57:53.162224000 Z\nupdated_at: 2016-08-03 20:57:53.168862000 Z\n"], ["created_at", "2016-08-03 20:57:53.173093"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:57:53.181086"], ["updated_at", "2016-08-03 20:57:53.181086"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:57:53.181086"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:57:53.189866"], ["updated_at", "2016-08-03 20:57:53.189866"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:57:53.189866"], ["item_id", 1], ["item_type", "User"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 20:57:53.196252"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:57:53.181086000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:57:53.196252"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 20:57:53.200330"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: 1\ncreated_at: 2016-08-03 20:57:53.181086000 Z\nupdated_at: 2016-08-03 20:57:53.196252000 Z\n"], ["created_at", "2016-08-03 20:57:53.200330"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 11) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:57:53.208864"], ["updated_at", "2016-08-03 20:57:53.208864"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:57:53.208864"], ["item_id", 2], ["item_type", "User"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:57:53.212216"], ["updated_at", "2016-08-03 20:57:53.212216"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:57:53.212216"], ["item_id", 3], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:57:53.215258"], ["updated_at", "2016-08-03 20:57:53.215258"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:57:53.215258"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 20:57:53.218382"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:57:53.215258000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:57:53.218382"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 20:57:53.221709"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 2\ncreated_at: 2016-08-03 20:57:53.215258000 Z\nupdated_at: 2016-08-03 20:57:53.218382000 Z\n"], ["created_at", "2016-08-03 20:57:53.221709"], ["item_id", 5], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 20:57:53.225228"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 3\ncreated_at: 2016-08-03 20:57:53.215258000 Z\nupdated_at: 2016-08-03 20:57:53.221709000 Z\n"], ["created_at", "2016-08-03 20:57:53.225228"], ["item_id", 5], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 15) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:57:53.235433"], ["updated_at", "2016-08-03 20:57:53.235433"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 20:57:53.235433"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 20:57:53.239421"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:57:53.235433000 Z\nupdated_at: *1\n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 20:57:53.239421"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:57:53.243646"], ["updated_at", "2016-08-03 20:57:53.243646"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:57:53.243646"], ["item_id", 4], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 20:57:53.246756"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: \ncreated_at: 2016-08-03 20:57:53.235433000 Z\nupdated_at: 2016-08-03 20:57:53.239421000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:57:53.246756"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:57:53.250200"], ["updated_at", "2016-08-03 20:57:53.250200"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:57:53.250200"], ["item_id", 5], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 20:57:53.253472"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 4\ncreated_at: 2016-08-03 20:57:53.235433000 Z\nupdated_at: 2016-08-03 20:57:53.246756000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:57:53.253472"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 20:57:53.256418"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 5\ncreated_at: 2016-08-03 20:57:53.235433000 Z\nupdated_at: 2016-08-03 20:57:53.253472000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:57:53.256418"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:57:53.259722"], ["updated_at", "2016-08-03 20:57:53.259722"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:57:53.259722"], ["item_id", 6], ["item_type", "User"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-08-03 20:57:53.263567"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 5\ncreated_at: 2016-08-03 20:57:53.235433000 Z\nupdated_at: 2016-08-03 20:57:53.256418000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:57:53.263567"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 20:57:53.267511"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 6\ncreated_at: 2016-08-03 20:57:53.235433000 Z\nupdated_at: 2016-08-03 20:57:53.263567000 Z\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 20:57:53.267511"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 23) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 24) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 26) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 27) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2016-08-03 20:57:53.279191"], ["updated_at", "2016-08-03 20:57:53.279191"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 20:57:53.279191"], ["item_id", 7], ["item_type", "User"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", 2], ["updated_at", "2016-08-03 20:57:53.282653"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 0\ncreated_at: &1 2016-08-03 20:57:53.279191000 Z\nupdated_at: *1\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 20:57:53.282653"], ["item_id", 7], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", nil], ["updated_at", "2016-08-03 20:57:53.286233"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 2\ncreated_at: 2016-08-03 20:57:53.279191000 Z\nupdated_at: 2016-08-03 20:57:53.282653000 Z\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 20:57:53.286233"], ["item_id", 7], ["item_type", "User"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 29) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 30) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.6ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.5ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 20:58:31.888969"], ["updated_at", "2016-08-03 20:58:31.888969"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:58:31.888969"], ["item_id", 1], ["item_type", "Bank"]]  (2.4ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:58:31.916846"], ["updated_at", "2016-08-03 20:58:31.916846"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:58:31.916846"], ["item_id", 2], ["item_type", "Bank"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 20:58:31.921022"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \nuser_id: \ncreated_at: &1 2016-08-03 20:58:31.916846000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:58:31.921022"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:58:31.935332"], ["updated_at", "2016-08-03 20:58:31.935332"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:58:31.935332"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 20:58:31.938472"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:58:31.935332000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:58:31.938472"], ["item_id", 3], ["item_type", "Bank"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 20:58:31.942646"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\nuser_id: \ncreated_at: 2016-08-03 20:58:31.935332000 Z\nupdated_at: 2016-08-03 20:58:31.938472000 Z\n"], ["created_at", "2016-08-03 20:58:31.942646"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 20:58:31.946622"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \nuser_id: \ncreated_at: 2016-08-03 20:58:31.935332000 Z\nupdated_at: 2016-08-03 20:58:31.942646000 Z\n"], ["created_at", "2016-08-03 20:58:31.946622"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:58:31.955447"], ["updated_at", "2016-08-03 20:58:31.955447"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:58:31.955447"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:58:31.964175"], ["updated_at", "2016-08-03 20:58:31.964175"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:58:31.964175"], ["item_id", 1], ["item_type", "User"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 20:58:31.970698"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:58:31.955447000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:58:31.970698"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 20:58:31.975331"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: 1\ncreated_at: 2016-08-03 20:58:31.955447000 Z\nupdated_at: 2016-08-03 20:58:31.970698000 Z\n"], ["created_at", "2016-08-03 20:58:31.975331"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 11) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:58:31.983262"], ["updated_at", "2016-08-03 20:58:31.983262"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:58:31.983262"], ["item_id", 2], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:58:31.986116"], ["updated_at", "2016-08-03 20:58:31.986116"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:58:31.986116"], ["item_id", 3], ["item_type", "User"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:58:31.989096"], ["updated_at", "2016-08-03 20:58:31.989096"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:58:31.989096"], ["item_id", 5], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 20:58:31.992235"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:58:31.989096000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:58:31.992235"], ["item_id", 5], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 20:58:31.996064"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 2\ncreated_at: 2016-08-03 20:58:31.989096000 Z\nupdated_at: 2016-08-03 20:58:31.992235000 Z\n"], ["created_at", "2016-08-03 20:58:31.996064"], ["item_id", 5], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 20:58:32.000256"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 3\ncreated_at: 2016-08-03 20:58:31.989096000 Z\nupdated_at: 2016-08-03 20:58:31.996064000 Z\n"], ["created_at", "2016-08-03 20:58:32.000256"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 15) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:58:32.010806"], ["updated_at", "2016-08-03 20:58:32.010806"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 20:58:32.010806"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 20:58:32.014199"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:58:32.010806000 Z\nupdated_at: *1\n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 20:58:32.014199"], ["item_id", 6], ["item_type", "Bank"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:58:32.018104"], ["updated_at", "2016-08-03 20:58:32.018104"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:58:32.018104"], ["item_id", 4], ["item_type", "User"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 20:58:32.021812"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: \ncreated_at: 2016-08-03 20:58:32.010806000 Z\nupdated_at: 2016-08-03 20:58:32.014199000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:58:32.021812"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:58:32.025333"], ["updated_at", "2016-08-03 20:58:32.025333"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:58:32.025333"], ["item_id", 5], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 20:58:32.028240"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 4\ncreated_at: 2016-08-03 20:58:32.010806000 Z\nupdated_at: 2016-08-03 20:58:32.021812000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:58:32.028240"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 20:58:32.031722"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 5\ncreated_at: 2016-08-03 20:58:32.010806000 Z\nupdated_at: 2016-08-03 20:58:32.028240000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:58:32.031722"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:58:32.034961"], ["updated_at", "2016-08-03 20:58:32.034961"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:58:32.034961"], ["item_id", 6], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-08-03 20:58:32.038162"], ["id", 6]] SQL (0.2ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 5\ncreated_at: 2016-08-03 20:58:32.010806000 Z\nupdated_at: 2016-08-03 20:58:32.031722000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:58:32.038162"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 20:58:32.042250"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 6\ncreated_at: 2016-08-03 20:58:32.010806000 Z\nupdated_at: 2016-08-03 20:58:32.038162000 Z\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 20:58:32.042250"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 23) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 24) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 26) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 27) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2016-08-03 20:58:32.053632"], ["updated_at", "2016-08-03 20:58:32.053632"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", ""], ["created_at", "2016-08-03 20:58:32.053632"], ["item_id", 7], ["item_type", "User"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", 2], ["updated_at", "2016-08-03 20:58:32.057003"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 0\ncreated_at: &1 2016-08-03 20:58:32.053632000 Z\nupdated_at: *1\n"], ["whodunnit", ""], ["created_at", "2016-08-03 20:58:32.057003"], ["item_id", 7], ["item_type", "User"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", nil], ["updated_at", "2016-08-03 20:58:32.060996"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 2\ncreated_at: 2016-08-03 20:58:32.053632000 Z\nupdated_at: 2016-08-03 20:58:32.057003000 Z\n"], ["whodunnit", ""], ["created_at", "2016-08-03 20:58:32.060996"], ["item_id", 7], ["item_type", "User"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 29) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 30) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.4ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.5ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.8ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 20:58:40.902721"], ["updated_at", "2016-08-03 20:58:40.902721"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:58:40.902721"], ["item_id", 1], ["item_type", "Bank"]]  (2.3ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:58:40.928843"], ["updated_at", "2016-08-03 20:58:40.928843"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:58:40.928843"], ["item_id", 2], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 20:58:40.932847"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \nuser_id: \ncreated_at: &1 2016-08-03 20:58:40.928843000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:58:40.932847"], ["item_id", 2], ["item_type", "Bank"]]  (0.7ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:58:40.948763"], ["updated_at", "2016-08-03 20:58:40.948763"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:58:40.948763"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 20:58:40.952892"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:58:40.948763000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:58:40.952892"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 20:58:40.956987"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\nuser_id: \ncreated_at: 2016-08-03 20:58:40.948763000 Z\nupdated_at: 2016-08-03 20:58:40.952892000 Z\n"], ["created_at", "2016-08-03 20:58:40.956987"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 20:58:40.960550"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \nuser_id: \ncreated_at: 2016-08-03 20:58:40.948763000 Z\nupdated_at: 2016-08-03 20:58:40.956987000 Z\n"], ["created_at", "2016-08-03 20:58:40.960550"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:58:40.969299"], ["updated_at", "2016-08-03 20:58:40.969299"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:58:40.969299"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:58:40.977948"], ["updated_at", "2016-08-03 20:58:40.977948"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:58:40.977948"], ["item_id", 1], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 20:58:40.984486"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:58:40.969299000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:58:40.984486"], ["item_id", 4], ["item_type", "Bank"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 20:58:40.989025"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: 1\ncreated_at: 2016-08-03 20:58:40.969299000 Z\nupdated_at: 2016-08-03 20:58:40.984486000 Z\n"], ["created_at", "2016-08-03 20:58:40.989025"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 11) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:58:40.997991"], ["updated_at", "2016-08-03 20:58:40.997991"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:58:40.997991"], ["item_id", 2], ["item_type", "User"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:58:41.001493"], ["updated_at", "2016-08-03 20:58:41.001493"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:58:41.001493"], ["item_id", 3], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:58:41.004720"], ["updated_at", "2016-08-03 20:58:41.004720"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:58:41.004720"], ["item_id", 5], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 20:58:41.007965"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:58:41.004720000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:58:41.007965"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 20:58:41.011381"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 2\ncreated_at: 2016-08-03 20:58:41.004720000 Z\nupdated_at: 2016-08-03 20:58:41.007965000 Z\n"], ["created_at", "2016-08-03 20:58:41.011381"], ["item_id", 5], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 20:58:41.014735"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 3\ncreated_at: 2016-08-03 20:58:41.004720000 Z\nupdated_at: 2016-08-03 20:58:41.011381000 Z\n"], ["created_at", "2016-08-03 20:58:41.014735"], ["item_id", 5], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 15) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:58:41.027132"], ["updated_at", "2016-08-03 20:58:41.027132"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 20:58:41.027132"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 20:58:41.030844"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:58:41.027132000 Z\nupdated_at: *1\n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 20:58:41.030844"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:58:41.034397"], ["updated_at", "2016-08-03 20:58:41.034397"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:58:41.034397"], ["item_id", 4], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 20:58:41.037384"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: \ncreated_at: 2016-08-03 20:58:41.027132000 Z\nupdated_at: 2016-08-03 20:58:41.030844000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:58:41.037384"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:58:41.041388"], ["updated_at", "2016-08-03 20:58:41.041388"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:58:41.041388"], ["item_id", 5], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 20:58:41.044800"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 4\ncreated_at: 2016-08-03 20:58:41.027132000 Z\nupdated_at: 2016-08-03 20:58:41.037384000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:58:41.044800"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 20:58:41.048321"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 5\ncreated_at: 2016-08-03 20:58:41.027132000 Z\nupdated_at: 2016-08-03 20:58:41.044800000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:58:41.048321"], ["item_id", 6], ["item_type", "Bank"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:58:41.052739"], ["updated_at", "2016-08-03 20:58:41.052739"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:58:41.052739"], ["item_id", 6], ["item_type", "User"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-08-03 20:58:41.056725"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 5\ncreated_at: 2016-08-03 20:58:41.027132000 Z\nupdated_at: 2016-08-03 20:58:41.048321000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:58:41.056725"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 20:58:41.060849"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 6\ncreated_at: 2016-08-03 20:58:41.027132000 Z\nupdated_at: 2016-08-03 20:58:41.056725000 Z\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 20:58:41.060849"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 23) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 24) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 26) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 27) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2016-08-03 20:58:41.072826"], ["updated_at", "2016-08-03 20:58:41.072826"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:58:41.072826"], ["item_id", 7], ["item_type", "User"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", 2], ["updated_at", "2016-08-03 20:58:41.075996"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 0\ncreated_at: &1 2016-08-03 20:58:41.072826000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:58:41.075996"], ["item_id", 7], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", nil], ["updated_at", "2016-08-03 20:58:41.079303"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 2\ncreated_at: 2016-08-03 20:58:41.072826000 Z\nupdated_at: 2016-08-03 20:58:41.075996000 Z\n"], ["created_at", "2016-08-03 20:58:41.079303"], ["item_id", 7], ["item_type", "User"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 29) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 30) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.3ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 20:59:07.908500"], ["updated_at", "2016-08-03 20:59:07.908500"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:59:07.908500"], ["item_id", 1], ["item_type", "Bank"]]  (2.2ms) commit transaction Bank Load (0.2ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:59:07.935321"], ["updated_at", "2016-08-03 20:59:07.935321"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:59:07.935321"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 20:59:07.939308"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \nuser_id: \ncreated_at: &1 2016-08-03 20:59:07.935321000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:59:07.939308"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:59:07.953981"], ["updated_at", "2016-08-03 20:59:07.953981"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:59:07.953981"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 20:59:07.957362"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:59:07.953981000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:59:07.957362"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 20:59:07.961461"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\nuser_id: \ncreated_at: 2016-08-03 20:59:07.953981000 Z\nupdated_at: 2016-08-03 20:59:07.957362000 Z\n"], ["created_at", "2016-08-03 20:59:07.961461"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.2ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 20:59:07.965133"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \nuser_id: \ncreated_at: 2016-08-03 20:59:07.953981000 Z\nupdated_at: 2016-08-03 20:59:07.961461000 Z\n"], ["created_at", "2016-08-03 20:59:07.965133"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:59:07.973671"], ["updated_at", "2016-08-03 20:59:07.973671"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:59:07.973671"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:59:07.982673"], ["updated_at", "2016-08-03 20:59:07.982673"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:59:07.982673"], ["item_id", 1], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 20:59:07.988238"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:59:07.973671000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:59:07.988238"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 20:59:07.992213"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: 1\ncreated_at: 2016-08-03 20:59:07.973671000 Z\nupdated_at: 2016-08-03 20:59:07.988238000 Z\n"], ["created_at", "2016-08-03 20:59:07.992213"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 11) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:59:07.999483"], ["updated_at", "2016-08-03 20:59:07.999483"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:59:07.999483"], ["item_id", 2], ["item_type", "User"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:59:08.003312"], ["updated_at", "2016-08-03 20:59:08.003312"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:59:08.003312"], ["item_id", 3], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:59:08.006688"], ["updated_at", "2016-08-03 20:59:08.006688"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:59:08.006688"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 20:59:08.010643"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:59:08.006688000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:59:08.010643"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 20:59:08.014126"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 2\ncreated_at: 2016-08-03 20:59:08.006688000 Z\nupdated_at: 2016-08-03 20:59:08.010643000 Z\n"], ["created_at", "2016-08-03 20:59:08.014126"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 20:59:08.017373"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 3\ncreated_at: 2016-08-03 20:59:08.006688000 Z\nupdated_at: 2016-08-03 20:59:08.014126000 Z\n"], ["created_at", "2016-08-03 20:59:08.017373"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 15) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:59:08.027724"], ["updated_at", "2016-08-03 20:59:08.027724"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 20:59:08.027724"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 20:59:08.031088"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:59:08.027724000 Z\nupdated_at: *1\n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 20:59:08.031088"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:59:08.034807"], ["updated_at", "2016-08-03 20:59:08.034807"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:59:08.034807"], ["item_id", 4], ["item_type", "User"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 20:59:08.039647"], ["id", 6]] SQL (0.2ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: \ncreated_at: 2016-08-03 20:59:08.027724000 Z\nupdated_at: 2016-08-03 20:59:08.031088000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:59:08.039647"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:59:08.043718"], ["updated_at", "2016-08-03 20:59:08.043718"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:59:08.043718"], ["item_id", 5], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 20:59:08.047485"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 4\ncreated_at: 2016-08-03 20:59:08.027724000 Z\nupdated_at: 2016-08-03 20:59:08.039647000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:59:08.047485"], ["item_id", 6], ["item_type", "Bank"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 20:59:08.052630"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 5\ncreated_at: 2016-08-03 20:59:08.027724000 Z\nupdated_at: 2016-08-03 20:59:08.047485000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:59:08.052630"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:59:08.057806"], ["updated_at", "2016-08-03 20:59:08.057806"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:59:08.057806"], ["item_id", 6], ["item_type", "User"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-08-03 20:59:08.062749"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 5\ncreated_at: 2016-08-03 20:59:08.027724000 Z\nupdated_at: 2016-08-03 20:59:08.052630000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:59:08.062749"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 20:59:08.067060"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 6\ncreated_at: 2016-08-03 20:59:08.027724000 Z\nupdated_at: 2016-08-03 20:59:08.062749000 Z\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 20:59:08.067060"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 23) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 24) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 26) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 27) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2016-08-03 20:59:08.079744"], ["updated_at", "2016-08-03 20:59:08.079744"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:59:08.079744"], ["item_id", 7], ["item_type", "User"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", 2], ["updated_at", "2016-08-03 20:59:08.083474"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 0\ncreated_at: &1 2016-08-03 20:59:08.079744000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:59:08.083474"], ["item_id", 7], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", nil], ["updated_at", "2016-08-03 20:59:08.087308"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 2\ncreated_at: 2016-08-03 20:59:08.079744000 Z\nupdated_at: 2016-08-03 20:59:08.083474000 Z\n"], ["created_at", "2016-08-03 20:59:08.087308"], ["item_id", 7], ["item_type", "User"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 29) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 30) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.4ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-09-27 18:23:26.904946"], ["updated_at", "2016-09-27 18:23:26.904946"]] SQL (0.5ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-09-27 18:23:26.904946"], ["item_id", 1], ["item_type", "Bank"]]  (2.1ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-09-27 18:23:26.934956"], ["updated_at", "2016-09-27 18:23:26.934956"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-09-27 18:23:26.934956"], ["item_id", 2], ["item_type", "Bank"]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-09-27 18:23:26.939029"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \nuser_id: \ncreated_at: &1 2016-09-27 18:23:26.934956000 Z\nupdated_at: *1\n"], ["created_at", "2016-09-27 18:23:26.939029"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-09-27 18:23:26.948371"], ["updated_at", "2016-09-27 18:23:26.948371"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-09-27 18:23:26.948371"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-09-27 18:23:26.951260"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\nuser_id: \ncreated_at: &1 2016-09-27 18:23:26.948371000 Z\nupdated_at: *1\n"], ["created_at", "2016-09-27 18:23:26.951260"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-09-27 18:23:26.954411"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\nuser_id: \ncreated_at: 2016-09-27 18:23:26.948371000 Z\nupdated_at: 2016-09-27 18:23:26.951260000 Z\n"], ["created_at", "2016-09-27 18:23:26.954411"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-09-27 18:23:26.957519"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \nuser_id: \ncreated_at: 2016-09-27 18:23:26.948371000 Z\nupdated_at: 2016-09-27 18:23:26.954411000 Z\n"], ["created_at", "2016-09-27 18:23:26.957519"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-09-27 18:23:26.964936"], ["updated_at", "2016-09-27 18:23:26.964936"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-09-27 18:23:26.964936"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-09-27 18:23:26.973549"], ["updated_at", "2016-09-27 18:23:26.973549"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-09-27 18:23:26.973549"], ["item_id", 1], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-09-27 18:23:26.979641"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: \ncreated_at: &1 2016-09-27 18:23:26.964936000 Z\nupdated_at: *1\n"], ["created_at", "2016-09-27 18:23:26.979641"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-09-27 18:23:26.983153"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: 1\ncreated_at: 2016-09-27 18:23:26.964936000 Z\nupdated_at: 2016-09-27 18:23:26.979641000 Z\n"], ["created_at", "2016-09-27 18:23:26.983153"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 11) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-09-27 18:23:26.989594"], ["updated_at", "2016-09-27 18:23:26.989594"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-09-27 18:23:26.989594"], ["item_id", 2], ["item_type", "User"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-09-27 18:23:26.992570"], ["updated_at", "2016-09-27 18:23:26.992570"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-09-27 18:23:26.992570"], ["item_id", 3], ["item_type", "User"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-09-27 18:23:26.995714"], ["updated_at", "2016-09-27 18:23:26.995714"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-09-27 18:23:26.995714"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-09-27 18:23:26.998738"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: \ncreated_at: &1 2016-09-27 18:23:26.995714000 Z\nupdated_at: *1\n"], ["created_at", "2016-09-27 18:23:26.998738"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-09-27 18:23:27.001909"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 2\ncreated_at: 2016-09-27 18:23:26.995714000 Z\nupdated_at: 2016-09-27 18:23:26.998738000 Z\n"], ["created_at", "2016-09-27 18:23:27.001909"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-09-27 18:23:27.004537"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 3\ncreated_at: 2016-09-27 18:23:26.995714000 Z\nupdated_at: 2016-09-27 18:23:27.001909000 Z\n"], ["created_at", "2016-09-27 18:23:27.004537"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 15) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-09-27 18:23:27.013263"], ["updated_at", "2016-09-27 18:23:27.013263"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-09-27 18:23:27.013263"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-09-27 18:23:27.016292"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\nuser_id: \ncreated_at: &1 2016-09-27 18:23:27.013263000 Z\nupdated_at: *1\n"], ["whodunnit", "user2"], ["created_at", "2016-09-27 18:23:27.016292"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-09-27 18:23:27.020015"], ["updated_at", "2016-09-27 18:23:27.020015"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-09-27 18:23:27.020015"], ["item_id", 4], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-09-27 18:23:27.023263"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: \ncreated_at: 2016-09-27 18:23:27.013263000 Z\nupdated_at: 2016-09-27 18:23:27.016292000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-09-27 18:23:27.023263"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-09-27 18:23:27.026841"], ["updated_at", "2016-09-27 18:23:27.026841"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-09-27 18:23:27.026841"], ["item_id", 5], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-09-27 18:23:27.029524"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 4\ncreated_at: 2016-09-27 18:23:27.013263000 Z\nupdated_at: 2016-09-27 18:23:27.023263000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-09-27 18:23:27.029524"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-09-27 18:23:27.032298"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 5\ncreated_at: 2016-09-27 18:23:27.013263000 Z\nupdated_at: 2016-09-27 18:23:27.029524000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-09-27 18:23:27.032298"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-09-27 18:23:27.035196"], ["updated_at", "2016-09-27 18:23:27.035196"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-09-27 18:23:27.035196"], ["item_id", 6], ["item_type", "User"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-09-27 18:23:27.038628"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 5\ncreated_at: 2016-09-27 18:23:27.013263000 Z\nupdated_at: 2016-09-27 18:23:27.032298000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-09-27 18:23:27.038628"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-09-27 18:23:27.042269"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 6\ncreated_at: 2016-09-27 18:23:27.013263000 Z\nupdated_at: 2016-09-27 18:23:27.038628000 Z\n"], ["whodunnit", "user1"], ["created_at", "2016-09-27 18:23:27.042269"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 23) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 24) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 26) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 27) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2016-09-27 18:23:27.053710"], ["updated_at", "2016-09-27 18:23:27.053710"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-09-27 18:23:27.053710"], ["item_id", 7], ["item_type", "User"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", 2], ["updated_at", "2016-09-27 18:23:27.056744"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 0\ncreated_at: &1 2016-09-27 18:23:27.053710000 Z\nupdated_at: *1\n"], ["created_at", "2016-09-27 18:23:27.056744"], ["item_id", 7], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", nil], ["updated_at", "2016-09-27 18:23:27.059760"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 2\ncreated_at: 2016-09-27 18:23:27.053710000 Z\nupdated_at: 2016-09-27 18:23:27.056744000 Z\n"], ["created_at", "2016-09-27 18:23:27.059760"], ["item_id", 7], ["item_type", "User"]]  (0.8ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 29) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 30) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.6ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.4ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.4ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2017-04-08 19:19:57.067429"], ["updated_at", "2017-04-08 19:19:57.067429"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:19:57.067429"], ["item_id", 1], ["item_type", "Bank"]]  (0.7ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:19:57.093803"], ["updated_at", "2017-04-08 19:19:57.093803"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:19:57.093803"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:19:57.097046"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \nuser_id: \ncreated_at: &1 2017-04-08 19:19:57.093803000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:19:57.097046"], ["item_id", 2], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:19:57.108154"], ["updated_at", "2017-04-08 19:19:57.108154"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:19:57.108154"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:19:57.110974"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:19:57.108154000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:19:57.110974"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:19:57.114449"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\nuser_id: \ncreated_at: 2017-04-08 19:19:57.108154000 Z\nupdated_at: 2017-04-08 19:19:57.110974000 Z\n"], ["created_at", "2017-04-08 19:19:57.114449"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2017-04-08 19:19:57.117141"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \nuser_id: \ncreated_at: 2017-04-08 19:19:57.108154000 Z\nupdated_at: 2017-04-08 19:19:57.114449000 Z\n"], ["created_at", "2017-04-08 19:19:57.117141"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:19:57.125798"], ["updated_at", "2017-04-08 19:19:57.125798"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:19:57.125798"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:19:57.134325"], ["updated_at", "2017-04-08 19:19:57.134325"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:19:57.134325"], ["item_id", 1], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2017-04-08 19:19:57.140859"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:19:57.125798000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:19:57.140859"], ["item_id", 4], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:19:57.144213"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: 1\ncreated_at: 2017-04-08 19:19:57.125798000 Z\nupdated_at: 2017-04-08 19:19:57.140859000 Z\n"], ["created_at", "2017-04-08 19:19:57.144213"], ["item_id", 4], ["item_type", "Bank"]]  (0.3ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 11) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:19:57.150058"], ["updated_at", "2017-04-08 19:19:57.150058"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:19:57.150058"], ["item_id", 2], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:19:57.152838"], ["updated_at", "2017-04-08 19:19:57.152838"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:19:57.152838"], ["item_id", 3], ["item_type", "User"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:19:57.155485"], ["updated_at", "2017-04-08 19:19:57.155485"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:19:57.155485"], ["item_id", 5], ["item_type", "Bank"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2017-04-08 19:19:57.158116"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:19:57.155485000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:19:57.158116"], ["item_id", 5], ["item_type", "Bank"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2017-04-08 19:19:57.161201"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 2\ncreated_at: 2017-04-08 19:19:57.155485000 Z\nupdated_at: 2017-04-08 19:19:57.158116000 Z\n"], ["created_at", "2017-04-08 19:19:57.161201"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2017-04-08 19:19:57.164678"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 3\ncreated_at: 2017-04-08 19:19:57.155485000 Z\nupdated_at: 2017-04-08 19:19:57.161201000 Z\n"], ["created_at", "2017-04-08 19:19:57.164678"], ["item_id", 5], ["item_type", "Bank"]]  (0.3ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 15) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:19:57.173628"], ["updated_at", "2017-04-08 19:19:57.173628"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2017-04-08 19:19:57.173628"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:19:57.177345"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:19:57.173628000 Z\nupdated_at: *1\n"], ["whodunnit", "user2"], ["created_at", "2017-04-08 19:19:57.177345"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:19:57.180718"], ["updated_at", "2017-04-08 19:19:57.180718"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:19:57.180718"], ["item_id", 4], ["item_type", "User"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2017-04-08 19:19:57.184222"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: \ncreated_at: 2017-04-08 19:19:57.173628000 Z\nupdated_at: 2017-04-08 19:19:57.177345000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:19:57.184222"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:19:57.187536"], ["updated_at", "2017-04-08 19:19:57.187536"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:19:57.187536"], ["item_id", 5], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2017-04-08 19:19:57.190658"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 4\ncreated_at: 2017-04-08 19:19:57.173628000 Z\nupdated_at: 2017-04-08 19:19:57.184222000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:19:57.190658"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2017-04-08 19:19:57.194411"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 5\ncreated_at: 2017-04-08 19:19:57.173628000 Z\nupdated_at: 2017-04-08 19:19:57.190658000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:19:57.194411"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:19:57.197569"], ["updated_at", "2017-04-08 19:19:57.197569"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:19:57.197569"], ["item_id", 6], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2017-04-08 19:19:57.200870"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 5\ncreated_at: 2017-04-08 19:19:57.173628000 Z\nupdated_at: 2017-04-08 19:19:57.194411000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:19:57.200870"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:19:57.203794"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 6\ncreated_at: 2017-04-08 19:19:57.173628000 Z\nupdated_at: 2017-04-08 19:19:57.200870000 Z\n"], ["whodunnit", "user1"], ["created_at", "2017-04-08 19:19:57.203794"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 23) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 24) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 26) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 27) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2017-04-08 19:19:57.218080"], ["updated_at", "2017-04-08 19:19:57.218080"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:19:57.218080"], ["item_id", 7], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", 2], ["updated_at", "2017-04-08 19:19:57.221552"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 0\ncreated_at: &1 2017-04-08 19:19:57.218080000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:19:57.221552"], ["item_id", 7], ["item_type", "User"]]  (0.4ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", nil], ["updated_at", "2017-04-08 19:19:57.224847"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 2\ncreated_at: 2017-04-08 19:19:57.218080000 Z\nupdated_at: 2017-04-08 19:19:57.221552000 Z\n"], ["created_at", "2017-04-08 19:19:57.224847"], ["item_id", 7], ["item_type", "User"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 29) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 30) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.9ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.8ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.5ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2017-04-08 19:25:43.665729"], ["updated_at", "2017-04-08 19:25:43.665729"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:25:43.665729"], ["item_id", 1], ["item_type", "Bank"]]  (2.0ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:25:43.684515"], ["updated_at", "2017-04-08 19:25:43.684515"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:25:43.684515"], ["item_id", 2], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:25:43.687439"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \nuser_id: \ncreated_at: &1 2017-04-08 19:25:43.684515000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:25:43.687439"], ["item_id", 2], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:25:43.694108"], ["updated_at", "2017-04-08 19:25:43.694108"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:25:43.694108"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:25:43.697060"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:25:43.694108000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:25:43.697060"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:25:43.700455"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\nuser_id: \ncreated_at: 2017-04-08 19:25:43.694108000 Z\nupdated_at: 2017-04-08 19:25:43.697060000 Z\n"], ["created_at", "2017-04-08 19:25:43.700455"], ["item_id", 3], ["item_type", "Bank"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2017-04-08 19:25:43.703293"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \nuser_id: \ncreated_at: 2017-04-08 19:25:43.694108000 Z\nupdated_at: 2017-04-08 19:25:43.700455000 Z\n"], ["created_at", "2017-04-08 19:25:43.703293"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:25:43.706488"], ["updated_at", "2017-04-08 19:25:43.706488"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:25:43.706488"], ["item_id", 4], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:25:43.713745"], ["updated_at", "2017-04-08 19:25:43.713745"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:25:43.713745"], ["item_id", 1], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2017-04-08 19:25:43.719063"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:25:43.706488000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:25:43.719063"], ["item_id", 4], ["item_type", "Bank"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:25:43.722937"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: 1\ncreated_at: 2017-04-08 19:25:43.706488000 Z\nupdated_at: 2017-04-08 19:25:43.719063000 Z\n"], ["created_at", "2017-04-08 19:25:43.722937"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:25:43.727176"], ["updated_at", "2017-04-08 19:25:43.727176"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:25:43.727176"], ["item_id", 2], ["item_type", "User"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:25:43.730307"], ["updated_at", "2017-04-08 19:25:43.730307"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:25:43.730307"], ["item_id", 3], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:25:43.733136"], ["updated_at", "2017-04-08 19:25:43.733136"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:25:43.733136"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2017-04-08 19:25:43.735861"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:25:43.733136000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:25:43.735861"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2017-04-08 19:25:43.738770"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 2\ncreated_at: 2017-04-08 19:25:43.733136000 Z\nupdated_at: 2017-04-08 19:25:43.735861000 Z\n"], ["created_at", "2017-04-08 19:25:43.738770"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2017-04-08 19:25:43.741452"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 3\ncreated_at: 2017-04-08 19:25:43.733136000 Z\nupdated_at: 2017-04-08 19:25:43.738770000 Z\n"], ["created_at", "2017-04-08 19:25:43.741452"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:25:43.744670"], ["updated_at", "2017-04-08 19:25:43.744670"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2017-04-08 19:25:43.744670"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:25:43.747411"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:25:43.744670000 Z\nupdated_at: *1\n"], ["whodunnit", "user2"], ["created_at", "2017-04-08 19:25:43.747411"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:25:43.750698"], ["updated_at", "2017-04-08 19:25:43.750698"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:25:43.750698"], ["item_id", 4], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2017-04-08 19:25:43.753471"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: \ncreated_at: 2017-04-08 19:25:43.744670000 Z\nupdated_at: 2017-04-08 19:25:43.747411000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:25:43.753471"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:25:43.756233"], ["updated_at", "2017-04-08 19:25:43.756233"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:25:43.756233"], ["item_id", 5], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2017-04-08 19:25:43.758829"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 4\ncreated_at: 2017-04-08 19:25:43.744670000 Z\nupdated_at: 2017-04-08 19:25:43.753471000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:25:43.758829"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2017-04-08 19:25:43.762115"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 5\ncreated_at: 2017-04-08 19:25:43.744670000 Z\nupdated_at: 2017-04-08 19:25:43.758829000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:25:43.762115"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:25:43.765482"], ["updated_at", "2017-04-08 19:25:43.765482"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:25:43.765482"], ["item_id", 6], ["item_type", "User"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2017-04-08 19:25:43.769249"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 5\ncreated_at: 2017-04-08 19:25:43.744670000 Z\nupdated_at: 2017-04-08 19:25:43.762115000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:25:43.769249"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:25:43.773396"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 6\ncreated_at: 2017-04-08 19:25:43.744670000 Z\nupdated_at: 2017-04-08 19:25:43.769249000 Z\n"], ["whodunnit", "user1"], ["created_at", "2017-04-08 19:25:43.773396"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2017-04-08 19:25:43.777362"], ["updated_at", "2017-04-08 19:25:43.777362"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:25:43.777362"], ["item_id", 7], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", 2], ["updated_at", "2017-04-08 19:25:43.780506"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 0\ncreated_at: &1 2017-04-08 19:25:43.777362000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:25:43.780506"], ["item_id", 7], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", nil], ["updated_at", "2017-04-08 19:25:43.783683"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 2\ncreated_at: 2017-04-08 19:25:43.777362000 Z\nupdated_at: 2017-04-08 19:25:43.780506000 Z\n"], ["created_at", "2017-04-08 19:25:43.783683"], ["item_id", 7], ["item_type", "User"]]  (0.4ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.8ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.8ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.6ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2017-04-08 19:26:45.391287"], ["updated_at", "2017-04-08 19:26:45.391287"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:26:45.391287"], ["item_id", 1], ["item_type", "Bank"]]  (2.0ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:26:45.411795"], ["updated_at", "2017-04-08 19:26:45.411795"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:26:45.411795"], ["item_id", 2], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:26:45.414979"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \nuser_id: \ncreated_at: &1 2017-04-08 19:26:45.411795000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:26:45.414979"], ["item_id", 2], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:26:45.422665"], ["updated_at", "2017-04-08 19:26:45.422665"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:26:45.422665"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:26:45.425390"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:26:45.422665000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:26:45.425390"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:26:45.428842"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\nuser_id: \ncreated_at: 2017-04-08 19:26:45.422665000 Z\nupdated_at: 2017-04-08 19:26:45.425390000 Z\n"], ["created_at", "2017-04-08 19:26:45.428842"], ["item_id", 3], ["item_type", "Bank"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2017-04-08 19:26:45.431640"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \nuser_id: \ncreated_at: 2017-04-08 19:26:45.422665000 Z\nupdated_at: 2017-04-08 19:26:45.428842000 Z\n"], ["created_at", "2017-04-08 19:26:45.431640"], ["item_id", 3], ["item_type", "Bank"]]  (0.3ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:26:45.436984"], ["updated_at", "2017-04-08 19:26:45.436984"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:26:45.436984"], ["item_id", 4], ["item_type", "Bank"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:26:45.444564"], ["updated_at", "2017-04-08 19:26:45.444564"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:26:45.444564"], ["item_id", 1], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2017-04-08 19:26:45.450151"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:26:45.436984000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:26:45.450151"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:26:45.453583"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: 1\ncreated_at: 2017-04-08 19:26:45.436984000 Z\nupdated_at: 2017-04-08 19:26:45.450151000 Z\n"], ["created_at", "2017-04-08 19:26:45.453583"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:26:45.458596"], ["updated_at", "2017-04-08 19:26:45.458596"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:26:45.458596"], ["item_id", 2], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:26:45.461355"], ["updated_at", "2017-04-08 19:26:45.461355"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:26:45.461355"], ["item_id", 3], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:26:45.464152"], ["updated_at", "2017-04-08 19:26:45.464152"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:26:45.464152"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2017-04-08 19:26:45.467075"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:26:45.464152000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:26:45.467075"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2017-04-08 19:26:45.470664"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 2\ncreated_at: 2017-04-08 19:26:45.464152000 Z\nupdated_at: 2017-04-08 19:26:45.467075000 Z\n"], ["created_at", "2017-04-08 19:26:45.470664"], ["item_id", 5], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2017-04-08 19:26:45.474126"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 3\ncreated_at: 2017-04-08 19:26:45.464152000 Z\nupdated_at: 2017-04-08 19:26:45.470664000 Z\n"], ["created_at", "2017-04-08 19:26:45.474126"], ["item_id", 5], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:26:45.481392"], ["updated_at", "2017-04-08 19:26:45.481392"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2017-04-08 19:26:45.481392"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:26:45.484688"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:26:45.481392000 Z\nupdated_at: *1\n"], ["whodunnit", "user2"], ["created_at", "2017-04-08 19:26:45.484688"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:26:45.488100"], ["updated_at", "2017-04-08 19:26:45.488100"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:26:45.488100"], ["item_id", 4], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2017-04-08 19:26:45.491405"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: \ncreated_at: 2017-04-08 19:26:45.481392000 Z\nupdated_at: 2017-04-08 19:26:45.484688000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:26:45.491405"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:26:45.495254"], ["updated_at", "2017-04-08 19:26:45.495254"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:26:45.495254"], ["item_id", 5], ["item_type", "User"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2017-04-08 19:26:45.500010"], ["id", 6]] SQL (0.2ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 4\ncreated_at: 2017-04-08 19:26:45.481392000 Z\nupdated_at: 2017-04-08 19:26:45.491405000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:26:45.500010"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2017-04-08 19:26:45.504892"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 5\ncreated_at: 2017-04-08 19:26:45.481392000 Z\nupdated_at: 2017-04-08 19:26:45.500010000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:26:45.504892"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:26:45.508418"], ["updated_at", "2017-04-08 19:26:45.508418"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:26:45.508418"], ["item_id", 6], ["item_type", "User"]]  (0.4ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2017-04-08 19:26:45.511499"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 5\ncreated_at: 2017-04-08 19:26:45.481392000 Z\nupdated_at: 2017-04-08 19:26:45.504892000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:26:45.511499"], ["item_id", 6], ["item_type", "Bank"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:26:45.514642"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 6\ncreated_at: 2017-04-08 19:26:45.481392000 Z\nupdated_at: 2017-04-08 19:26:45.511499000 Z\n"], ["whodunnit", "user1"], ["created_at", "2017-04-08 19:26:45.514642"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2017-04-08 19:26:45.520641"], ["updated_at", "2017-04-08 19:26:45.520641"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:26:45.520641"], ["item_id", 7], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", 2], ["updated_at", "2017-04-08 19:26:45.523351"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 0\ncreated_at: &1 2017-04-08 19:26:45.520641000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:26:45.523351"], ["item_id", 7], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", nil], ["updated_at", "2017-04-08 19:26:45.526324"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 2\ncreated_at: 2017-04-08 19:26:45.520641000 Z\nupdated_at: 2017-04-08 19:26:45.523351000 Z\n"], ["created_at", "2017-04-08 19:26:45.526324"], ["item_id", 7], ["item_type", "User"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 7], ["item_type", "User"]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.3ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.4ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.5ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2017-04-08 19:27:19.744860"], ["updated_at", "2017-04-08 19:27:19.744860"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:27:19.744860"], ["item_id", 1], ["item_type", "Bank"]]  (2.1ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:27:19.765775"], ["updated_at", "2017-04-08 19:27:19.765775"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:27:19.765775"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:27:19.768794"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \nuser_id: \ncreated_at: &1 2017-04-08 19:27:19.765775000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:27:19.768794"], ["item_id", 2], ["item_type", "Bank"]]  (0.7ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:27:19.780994"], ["updated_at", "2017-04-08 19:27:19.780994"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:27:19.780994"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:27:19.784357"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:27:19.780994000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:27:19.784357"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:27:19.787563"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\nuser_id: \ncreated_at: 2017-04-08 19:27:19.780994000 Z\nupdated_at: 2017-04-08 19:27:19.784357000 Z\n"], ["created_at", "2017-04-08 19:27:19.787563"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2017-04-08 19:27:19.790430"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \nuser_id: \ncreated_at: 2017-04-08 19:27:19.780994000 Z\nupdated_at: 2017-04-08 19:27:19.787563000 Z\n"], ["created_at", "2017-04-08 19:27:19.790430"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:27:19.797147"], ["updated_at", "2017-04-08 19:27:19.797147"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:27:19.797147"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:27:19.804115"], ["updated_at", "2017-04-08 19:27:19.804115"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:27:19.804115"], ["item_id", 1], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2017-04-08 19:27:19.808992"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:27:19.797147000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:27:19.808992"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:27:19.812479"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: 1\ncreated_at: 2017-04-08 19:27:19.797147000 Z\nupdated_at: 2017-04-08 19:27:19.808992000 Z\n"], ["created_at", "2017-04-08 19:27:19.812479"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 11) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:27:19.818687"], ["updated_at", "2017-04-08 19:27:19.818687"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:27:19.818687"], ["item_id", 2], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:27:19.821514"], ["updated_at", "2017-04-08 19:27:19.821514"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:27:19.821514"], ["item_id", 3], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:27:19.824577"], ["updated_at", "2017-04-08 19:27:19.824577"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:27:19.824577"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2017-04-08 19:27:19.827746"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:27:19.824577000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:27:19.827746"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2017-04-08 19:27:19.830697"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 2\ncreated_at: 2017-04-08 19:27:19.824577000 Z\nupdated_at: 2017-04-08 19:27:19.827746000 Z\n"], ["created_at", "2017-04-08 19:27:19.830697"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2017-04-08 19:27:19.833516"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 3\ncreated_at: 2017-04-08 19:27:19.824577000 Z\nupdated_at: 2017-04-08 19:27:19.830697000 Z\n"], ["created_at", "2017-04-08 19:27:19.833516"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 15) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:27:19.842397"], ["updated_at", "2017-04-08 19:27:19.842397"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2017-04-08 19:27:19.842397"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:27:19.845671"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:27:19.842397000 Z\nupdated_at: *1\n"], ["whodunnit", "user2"], ["created_at", "2017-04-08 19:27:19.845671"], ["item_id", 6], ["item_type", "Bank"]]  (0.3ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:27:19.848868"], ["updated_at", "2017-04-08 19:27:19.848868"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:27:19.848868"], ["item_id", 4], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2017-04-08 19:27:19.851960"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: \ncreated_at: 2017-04-08 19:27:19.842397000 Z\nupdated_at: 2017-04-08 19:27:19.845671000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:27:19.851960"], ["item_id", 6], ["item_type", "Bank"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:27:19.854951"], ["updated_at", "2017-04-08 19:27:19.854951"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:27:19.854951"], ["item_id", 5], ["item_type", "User"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2017-04-08 19:27:19.857759"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 4\ncreated_at: 2017-04-08 19:27:19.842397000 Z\nupdated_at: 2017-04-08 19:27:19.851960000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:27:19.857759"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2017-04-08 19:27:19.861282"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 5\ncreated_at: 2017-04-08 19:27:19.842397000 Z\nupdated_at: 2017-04-08 19:27:19.857759000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:27:19.861282"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:27:19.864204"], ["updated_at", "2017-04-08 19:27:19.864204"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:27:19.864204"], ["item_id", 6], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2017-04-08 19:27:19.867048"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 5\ncreated_at: 2017-04-08 19:27:19.842397000 Z\nupdated_at: 2017-04-08 19:27:19.861282000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:27:19.867048"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:27:19.870074"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 6\ncreated_at: 2017-04-08 19:27:19.842397000 Z\nupdated_at: 2017-04-08 19:27:19.867048000 Z\n"], ["whodunnit", "user1"], ["created_at", "2017-04-08 19:27:19.870074"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 23) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 24) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 26) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 27) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2017-04-08 19:27:19.884599"], ["updated_at", "2017-04-08 19:27:19.884599"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:27:19.884599"], ["item_id", 7], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", 2], ["updated_at", "2017-04-08 19:27:19.887616"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 0\ncreated_at: &1 2017-04-08 19:27:19.884599000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:27:19.887616"], ["item_id", 7], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", nil], ["updated_at", "2017-04-08 19:27:19.890752"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 2\ncreated_at: 2017-04-08 19:27:19.884599000 Z\nupdated_at: 2017-04-08 19:27:19.887616000 Z\n"], ["created_at", "2017-04-08 19:27:19.890752"], ["item_id", 7], ["item_type", "User"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 29) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 30) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.6ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2017-04-08 19:27:24.730459"], ["updated_at", "2017-04-08 19:27:24.730459"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:27:24.730459"], ["item_id", 1], ["item_type", "Bank"]]  (2.3ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:27:24.751850"], ["updated_at", "2017-04-08 19:27:24.751850"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:27:24.751850"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:27:24.754884"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \nuser_id: \ncreated_at: &1 2017-04-08 19:27:24.751850000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:27:24.754884"], ["item_id", 2], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:27:24.764188"], ["updated_at", "2017-04-08 19:27:24.764188"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:27:24.764188"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:27:24.766899"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:27:24.764188000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:27:24.766899"], ["item_id", 3], ["item_type", "Bank"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:27:24.769864"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\nuser_id: \ncreated_at: 2017-04-08 19:27:24.764188000 Z\nupdated_at: 2017-04-08 19:27:24.766899000 Z\n"], ["created_at", "2017-04-08 19:27:24.769864"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2017-04-08 19:27:24.772693"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \nuser_id: \ncreated_at: 2017-04-08 19:27:24.764188000 Z\nupdated_at: 2017-04-08 19:27:24.769864000 Z\n"], ["created_at", "2017-04-08 19:27:24.772693"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:27:24.779798"], ["updated_at", "2017-04-08 19:27:24.779798"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:27:24.779798"], ["item_id", 4], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:27:24.786385"], ["updated_at", "2017-04-08 19:27:24.786385"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:27:24.786385"], ["item_id", 1], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2017-04-08 19:27:24.791904"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:27:24.779798000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:27:24.791904"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:27:24.795144"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: 1\ncreated_at: 2017-04-08 19:27:24.779798000 Z\nupdated_at: 2017-04-08 19:27:24.791904000 Z\n"], ["created_at", "2017-04-08 19:27:24.795144"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 11) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:27:24.801930"], ["updated_at", "2017-04-08 19:27:24.801930"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:27:24.801930"], ["item_id", 2], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:27:24.804842"], ["updated_at", "2017-04-08 19:27:24.804842"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:27:24.804842"], ["item_id", 3], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:27:24.807445"], ["updated_at", "2017-04-08 19:27:24.807445"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:27:24.807445"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2017-04-08 19:27:24.810102"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:27:24.807445000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:27:24.810102"], ["item_id", 5], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2017-04-08 19:27:24.813670"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 2\ncreated_at: 2017-04-08 19:27:24.807445000 Z\nupdated_at: 2017-04-08 19:27:24.810102000 Z\n"], ["created_at", "2017-04-08 19:27:24.813670"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2017-04-08 19:27:24.817877"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 3\ncreated_at: 2017-04-08 19:27:24.807445000 Z\nupdated_at: 2017-04-08 19:27:24.813670000 Z\n"], ["created_at", "2017-04-08 19:27:24.817877"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 15) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:27:24.827899"], ["updated_at", "2017-04-08 19:27:24.827899"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2017-04-08 19:27:24.827899"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:27:24.830907"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:27:24.827899000 Z\nupdated_at: *1\n"], ["whodunnit", "user2"], ["created_at", "2017-04-08 19:27:24.830907"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:27:24.833797"], ["updated_at", "2017-04-08 19:27:24.833797"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:27:24.833797"], ["item_id", 4], ["item_type", "User"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2017-04-08 19:27:24.836682"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: \ncreated_at: 2017-04-08 19:27:24.827899000 Z\nupdated_at: 2017-04-08 19:27:24.830907000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:27:24.836682"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:27:24.840214"], ["updated_at", "2017-04-08 19:27:24.840214"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:27:24.840214"], ["item_id", 5], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2017-04-08 19:27:24.843587"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 4\ncreated_at: 2017-04-08 19:27:24.827899000 Z\nupdated_at: 2017-04-08 19:27:24.836682000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:27:24.843587"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2017-04-08 19:27:24.847110"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 5\ncreated_at: 2017-04-08 19:27:24.827899000 Z\nupdated_at: 2017-04-08 19:27:24.843587000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:27:24.847110"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:27:24.850256"], ["updated_at", "2017-04-08 19:27:24.850256"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:27:24.850256"], ["item_id", 6], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2017-04-08 19:27:24.853359"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 5\ncreated_at: 2017-04-08 19:27:24.827899000 Z\nupdated_at: 2017-04-08 19:27:24.847110000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:27:24.853359"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:27:24.856439"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 6\ncreated_at: 2017-04-08 19:27:24.827899000 Z\nupdated_at: 2017-04-08 19:27:24.853359000 Z\n"], ["whodunnit", "user1"], ["created_at", "2017-04-08 19:27:24.856439"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 23) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 24) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 26) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 27) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2017-04-08 19:27:24.871043"], ["updated_at", "2017-04-08 19:27:24.871043"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:27:24.871043"], ["item_id", 7], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", 2], ["updated_at", "2017-04-08 19:27:24.873909"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 0\ncreated_at: &1 2017-04-08 19:27:24.871043000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:27:24.873909"], ["item_id", 7], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", nil], ["updated_at", "2017-04-08 19:27:24.877408"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 2\ncreated_at: 2017-04-08 19:27:24.871043000 Z\nupdated_at: 2017-04-08 19:27:24.873909000 Z\n"], ["created_at", "2017-04-08 19:27:24.877408"], ["item_id", 7], ["item_type", "User"]]  (0.3ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 29) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 30) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.9ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.9ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2017-04-08 19:27:41.585201"], ["updated_at", "2017-04-08 19:27:41.585201"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:27:41.585201"], ["item_id", 1], ["item_type", "Bank"]]  (2.4ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:27:41.606817"], ["updated_at", "2017-04-08 19:27:41.606817"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:27:41.606817"], ["item_id", 2], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:27:41.609773"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \nuser_id: \ncreated_at: &1 2017-04-08 19:27:41.606817000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:27:41.609773"], ["item_id", 2], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:27:41.618969"], ["updated_at", "2017-04-08 19:27:41.618969"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:27:41.618969"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:27:41.622062"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:27:41.618969000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:27:41.622062"], ["item_id", 3], ["item_type", "Bank"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:27:41.625265"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\nuser_id: \ncreated_at: 2017-04-08 19:27:41.618969000 Z\nupdated_at: 2017-04-08 19:27:41.622062000 Z\n"], ["created_at", "2017-04-08 19:27:41.625265"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2017-04-08 19:27:41.628216"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \nuser_id: \ncreated_at: 2017-04-08 19:27:41.618969000 Z\nupdated_at: 2017-04-08 19:27:41.625265000 Z\n"], ["created_at", "2017-04-08 19:27:41.628216"], ["item_id", 3], ["item_type", "Bank"]]  (0.3ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:27:41.634940"], ["updated_at", "2017-04-08 19:27:41.634940"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:27:41.634940"], ["item_id", 4], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:27:41.642058"], ["updated_at", "2017-04-08 19:27:41.642058"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:27:41.642058"], ["item_id", 1], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2017-04-08 19:27:41.648040"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:27:41.634940000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:27:41.648040"], ["item_id", 4], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:27:41.651472"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: 1\ncreated_at: 2017-04-08 19:27:41.634940000 Z\nupdated_at: 2017-04-08 19:27:41.648040000 Z\n"], ["created_at", "2017-04-08 19:27:41.651472"], ["item_id", 4], ["item_type", "Bank"]]  (0.3ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 11) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:27:41.657521"], ["updated_at", "2017-04-08 19:27:41.657521"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:27:41.657521"], ["item_id", 2], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:27:41.660649"], ["updated_at", "2017-04-08 19:27:41.660649"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:27:41.660649"], ["item_id", 3], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:27:41.663470"], ["updated_at", "2017-04-08 19:27:41.663470"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:27:41.663470"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2017-04-08 19:27:41.666235"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:27:41.663470000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:27:41.666235"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2017-04-08 19:27:41.669946"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 2\ncreated_at: 2017-04-08 19:27:41.663470000 Z\nupdated_at: 2017-04-08 19:27:41.666235000 Z\n"], ["created_at", "2017-04-08 19:27:41.669946"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2017-04-08 19:27:41.673427"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 3\ncreated_at: 2017-04-08 19:27:41.663470000 Z\nupdated_at: 2017-04-08 19:27:41.669946000 Z\n"], ["created_at", "2017-04-08 19:27:41.673427"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 15) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:27:41.681844"], ["updated_at", "2017-04-08 19:27:41.681844"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2017-04-08 19:27:41.681844"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:27:41.684579"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:27:41.681844000 Z\nupdated_at: *1\n"], ["whodunnit", "user2"], ["created_at", "2017-04-08 19:27:41.684579"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:27:41.687469"], ["updated_at", "2017-04-08 19:27:41.687469"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:27:41.687469"], ["item_id", 4], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2017-04-08 19:27:41.690144"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: \ncreated_at: 2017-04-08 19:27:41.681844000 Z\nupdated_at: 2017-04-08 19:27:41.684579000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:27:41.690144"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:27:41.693071"], ["updated_at", "2017-04-08 19:27:41.693071"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:27:41.693071"], ["item_id", 5], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2017-04-08 19:27:41.696498"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 4\ncreated_at: 2017-04-08 19:27:41.681844000 Z\nupdated_at: 2017-04-08 19:27:41.690144000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:27:41.696498"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2017-04-08 19:27:41.699621"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 5\ncreated_at: 2017-04-08 19:27:41.681844000 Z\nupdated_at: 2017-04-08 19:27:41.696498000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:27:41.699621"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:27:41.702281"], ["updated_at", "2017-04-08 19:27:41.702281"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:27:41.702281"], ["item_id", 6], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2017-04-08 19:27:41.704926"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 5\ncreated_at: 2017-04-08 19:27:41.681844000 Z\nupdated_at: 2017-04-08 19:27:41.699621000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:27:41.704926"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:27:41.707747"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 6\ncreated_at: 2017-04-08 19:27:41.681844000 Z\nupdated_at: 2017-04-08 19:27:41.704926000 Z\n"], ["whodunnit", "user1"], ["created_at", "2017-04-08 19:27:41.707747"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 23) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 24) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 26) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 27) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2017-04-08 19:27:41.722959"], ["updated_at", "2017-04-08 19:27:41.722959"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:27:41.722959"], ["item_id", 7], ["item_type", "User"]]  (0.4ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", 2], ["updated_at", "2017-04-08 19:27:41.726052"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 0\ncreated_at: &1 2017-04-08 19:27:41.722959000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:27:41.726052"], ["item_id", 7], ["item_type", "User"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", nil], ["updated_at", "2017-04-08 19:27:41.729097"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 2\ncreated_at: 2017-04-08 19:27:41.722959000 Z\nupdated_at: 2017-04-08 19:27:41.726052000 Z\n"], ["created_at", "2017-04-08 19:27:41.729097"], ["item_id", 7], ["item_type", "User"]]  (0.3ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 29) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 30) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.7ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.4ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.5ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2017-04-08 19:29:13.407144"], ["updated_at", "2017-04-08 19:29:13.407144"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:29:13.407144"], ["item_id", 1], ["item_type", "Bank"]]  (2.1ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:29:13.428736"], ["updated_at", "2017-04-08 19:29:13.428736"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:29:13.428736"], ["item_id", 2], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:29:13.431594"], ["id", 2]] SQL (0.2ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \nuser_id: \ncreated_at: &1 2017-04-08 19:29:13.428736000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:29:13.431594"], ["item_id", 2], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:29:13.441069"], ["updated_at", "2017-04-08 19:29:13.441069"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:29:13.441069"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:29:13.444227"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:29:13.441069000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:29:13.444227"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:29:13.447181"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\nuser_id: \ncreated_at: 2017-04-08 19:29:13.441069000 Z\nupdated_at: 2017-04-08 19:29:13.444227000 Z\n"], ["created_at", "2017-04-08 19:29:13.447181"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2017-04-08 19:29:13.450229"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \nuser_id: \ncreated_at: 2017-04-08 19:29:13.441069000 Z\nupdated_at: 2017-04-08 19:29:13.447181000 Z\n"], ["created_at", "2017-04-08 19:29:13.450229"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:29:13.457924"], ["updated_at", "2017-04-08 19:29:13.457924"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:29:13.457924"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:29:13.465735"], ["updated_at", "2017-04-08 19:29:13.465735"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:29:13.465735"], ["item_id", 1], ["item_type", "User"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2017-04-08 19:29:13.471737"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:29:13.457924000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:29:13.471737"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:29:13.475196"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: 1\ncreated_at: 2017-04-08 19:29:13.457924000 Z\nupdated_at: 2017-04-08 19:29:13.471737000 Z\n"], ["created_at", "2017-04-08 19:29:13.475196"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 11) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:29:13.482005"], ["updated_at", "2017-04-08 19:29:13.482005"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:29:13.482005"], ["item_id", 2], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:29:13.484905"], ["updated_at", "2017-04-08 19:29:13.484905"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:29:13.484905"], ["item_id", 3], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:29:13.487669"], ["updated_at", "2017-04-08 19:29:13.487669"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:29:13.487669"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2017-04-08 19:29:13.490416"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:29:13.487669000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:29:13.490416"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2017-04-08 19:29:13.493650"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 2\ncreated_at: 2017-04-08 19:29:13.487669000 Z\nupdated_at: 2017-04-08 19:29:13.490416000 Z\n"], ["created_at", "2017-04-08 19:29:13.493650"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2017-04-08 19:29:13.497022"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 3\ncreated_at: 2017-04-08 19:29:13.487669000 Z\nupdated_at: 2017-04-08 19:29:13.493650000 Z\n"], ["created_at", "2017-04-08 19:29:13.497022"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 15) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:29:13.505536"], ["updated_at", "2017-04-08 19:29:13.505536"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2017-04-08 19:29:13.505536"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:29:13.508425"], ["id", 6]] SQL (0.2ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:29:13.505536000 Z\nupdated_at: *1\n"], ["whodunnit", "user2"], ["created_at", "2017-04-08 19:29:13.508425"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:29:13.512457"], ["updated_at", "2017-04-08 19:29:13.512457"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:29:13.512457"], ["item_id", 4], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2017-04-08 19:29:13.515593"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: \ncreated_at: 2017-04-08 19:29:13.505536000 Z\nupdated_at: 2017-04-08 19:29:13.508425000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:29:13.515593"], ["item_id", 6], ["item_type", "Bank"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:29:13.518465"], ["updated_at", "2017-04-08 19:29:13.518465"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:29:13.518465"], ["item_id", 5], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2017-04-08 19:29:13.521069"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 4\ncreated_at: 2017-04-08 19:29:13.505536000 Z\nupdated_at: 2017-04-08 19:29:13.515593000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:29:13.521069"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2017-04-08 19:29:13.523927"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 5\ncreated_at: 2017-04-08 19:29:13.505536000 Z\nupdated_at: 2017-04-08 19:29:13.521069000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:29:13.523927"], ["item_id", 6], ["item_type", "Bank"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:29:13.526614"], ["updated_at", "2017-04-08 19:29:13.526614"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:29:13.526614"], ["item_id", 6], ["item_type", "User"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2017-04-08 19:29:13.529279"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 5\ncreated_at: 2017-04-08 19:29:13.505536000 Z\nupdated_at: 2017-04-08 19:29:13.523927000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:29:13.529279"], ["item_id", 6], ["item_type", "Bank"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:29:13.532200"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 6\ncreated_at: 2017-04-08 19:29:13.505536000 Z\nupdated_at: 2017-04-08 19:29:13.529279000 Z\n"], ["whodunnit", "user1"], ["created_at", "2017-04-08 19:29:13.532200"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 23) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 24) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 26) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 27) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2017-04-08 19:29:13.547427"], ["updated_at", "2017-04-08 19:29:13.547427"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:29:13.547427"], ["item_id", 7], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", 2], ["updated_at", "2017-04-08 19:29:13.550834"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 0\ncreated_at: &1 2017-04-08 19:29:13.547427000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:29:13.550834"], ["item_id", 7], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", nil], ["updated_at", "2017-04-08 19:29:13.554411"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 2\ncreated_at: 2017-04-08 19:29:13.547427000 Z\nupdated_at: 2017-04-08 19:29:13.550834000 Z\n"], ["created_at", "2017-04-08 19:29:13.554411"], ["item_id", 7], ["item_type", "User"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 29) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 30) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.6ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2017-04-08 19:30:15.431388"], ["updated_at", "2017-04-08 19:30:15.431388"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:30:15.431388"], ["item_id", 1], ["item_type", "Bank"]]  (2.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:30:15.453511"], ["updated_at", "2017-04-08 19:30:15.453511"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:30:15.453511"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:30:15.456661"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \nuser_id: \ncreated_at: &1 2017-04-08 19:30:15.453511000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:30:15.456661"], ["item_id", 2], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:30:15.467694"], ["updated_at", "2017-04-08 19:30:15.467694"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:30:15.467694"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:30:15.470416"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:30:15.467694000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:30:15.470416"], ["item_id", 3], ["item_type", "Bank"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:30:15.473459"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\nuser_id: \ncreated_at: 2017-04-08 19:30:15.467694000 Z\nupdated_at: 2017-04-08 19:30:15.470416000 Z\n"], ["created_at", "2017-04-08 19:30:15.473459"], ["item_id", 3], ["item_type", "Bank"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2017-04-08 19:30:15.476447"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \nuser_id: \ncreated_at: 2017-04-08 19:30:15.467694000 Z\nupdated_at: 2017-04-08 19:30:15.473459000 Z\n"], ["created_at", "2017-04-08 19:30:15.476447"], ["item_id", 3], ["item_type", "Bank"]]  (0.3ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:30:15.483578"], ["updated_at", "2017-04-08 19:30:15.483578"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:30:15.483578"], ["item_id", 4], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:30:15.491429"], ["updated_at", "2017-04-08 19:30:15.491429"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:30:15.491429"], ["item_id", 1], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2017-04-08 19:30:15.497396"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:30:15.483578000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:30:15.497396"], ["item_id", 4], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:30:15.500792"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: 1\ncreated_at: 2017-04-08 19:30:15.483578000 Z\nupdated_at: 2017-04-08 19:30:15.497396000 Z\n"], ["created_at", "2017-04-08 19:30:15.500792"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 11) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:30:15.507482"], ["updated_at", "2017-04-08 19:30:15.507482"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:30:15.507482"], ["item_id", 2], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:30:15.511041"], ["updated_at", "2017-04-08 19:30:15.511041"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:30:15.511041"], ["item_id", 3], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:30:15.513954"], ["updated_at", "2017-04-08 19:30:15.513954"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:30:15.513954"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2017-04-08 19:30:15.516683"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:30:15.513954000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:30:15.516683"], ["item_id", 5], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2017-04-08 19:30:15.519850"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 2\ncreated_at: 2017-04-08 19:30:15.513954000 Z\nupdated_at: 2017-04-08 19:30:15.516683000 Z\n"], ["created_at", "2017-04-08 19:30:15.519850"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2017-04-08 19:30:15.522640"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 3\ncreated_at: 2017-04-08 19:30:15.513954000 Z\nupdated_at: 2017-04-08 19:30:15.519850000 Z\n"], ["created_at", "2017-04-08 19:30:15.522640"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 15) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:30:15.531128"], ["updated_at", "2017-04-08 19:30:15.531128"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2017-04-08 19:30:15.531128"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:30:15.534022"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:30:15.531128000 Z\nupdated_at: *1\n"], ["whodunnit", "user2"], ["created_at", "2017-04-08 19:30:15.534022"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:30:15.537095"], ["updated_at", "2017-04-08 19:30:15.537095"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:30:15.537095"], ["item_id", 4], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2017-04-08 19:30:15.539858"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: \ncreated_at: 2017-04-08 19:30:15.531128000 Z\nupdated_at: 2017-04-08 19:30:15.534022000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:30:15.539858"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:30:15.543369"], ["updated_at", "2017-04-08 19:30:15.543369"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:30:15.543369"], ["item_id", 5], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2017-04-08 19:30:15.546399"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 4\ncreated_at: 2017-04-08 19:30:15.531128000 Z\nupdated_at: 2017-04-08 19:30:15.539858000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:30:15.546399"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2017-04-08 19:30:15.550063"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 5\ncreated_at: 2017-04-08 19:30:15.531128000 Z\nupdated_at: 2017-04-08 19:30:15.546399000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:30:15.550063"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:30:15.553366"], ["updated_at", "2017-04-08 19:30:15.553366"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:30:15.553366"], ["item_id", 6], ["item_type", "User"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2017-04-08 19:30:15.556394"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 5\ncreated_at: 2017-04-08 19:30:15.531128000 Z\nupdated_at: 2017-04-08 19:30:15.550063000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:30:15.556394"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:30:15.564958"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 6\ncreated_at: 2017-04-08 19:30:15.531128000 Z\nupdated_at: 2017-04-08 19:30:15.556394000 Z\n"], ["whodunnit", "user1"], ["created_at", "2017-04-08 19:30:15.564958"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 23) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 24) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 26) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 27) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2017-04-08 19:30:15.575439"], ["updated_at", "2017-04-08 19:30:15.575439"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:30:15.575439"], ["item_id", 7], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", 2], ["updated_at", "2017-04-08 19:30:15.578517"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 0\ncreated_at: &1 2017-04-08 19:30:15.575439000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:30:15.578517"], ["item_id", 7], ["item_type", "User"]]  (0.4ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", nil], ["updated_at", "2017-04-08 19:30:15.581904"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 2\ncreated_at: 2017-04-08 19:30:15.575439000 Z\nupdated_at: 2017-04-08 19:30:15.578517000 Z\n"], ["created_at", "2017-04-08 19:30:15.581904"], ["item_id", 7], ["item_type", "User"]]  (0.3ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 29) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 30) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.3ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.4ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.5ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2017-04-08 19:32:33.070459"], ["updated_at", "2017-04-08 19:32:33.070459"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:32:33.070459"], ["item_id", 1], ["item_type", "Bank"]]  (2.2ms) commit transaction Bank Load (0.2ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:32:33.092299"], ["updated_at", "2017-04-08 19:32:33.092299"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:32:33.092299"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:32:33.095482"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \nuser_id: \ncreated_at: &1 2017-04-08 19:32:33.092299000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:32:33.095482"], ["item_id", 2], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:32:33.104720"], ["updated_at", "2017-04-08 19:32:33.104720"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:32:33.104720"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:32:33.107743"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:32:33.104720000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:32:33.107743"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:32:33.110610"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\nuser_id: \ncreated_at: 2017-04-08 19:32:33.104720000 Z\nupdated_at: 2017-04-08 19:32:33.107743000 Z\n"], ["created_at", "2017-04-08 19:32:33.110610"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2017-04-08 19:32:33.113642"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \nuser_id: \ncreated_at: 2017-04-08 19:32:33.104720000 Z\nupdated_at: 2017-04-08 19:32:33.110610000 Z\n"], ["created_at", "2017-04-08 19:32:33.113642"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:32:33.121056"], ["updated_at", "2017-04-08 19:32:33.121056"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:32:33.121056"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:32:33.128255"], ["updated_at", "2017-04-08 19:32:33.128255"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:32:33.128255"], ["item_id", 1], ["item_type", "User"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2017-04-08 19:32:33.134281"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:32:33.121056000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:32:33.134281"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:32:33.138116"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: 1\ncreated_at: 2017-04-08 19:32:33.121056000 Z\nupdated_at: 2017-04-08 19:32:33.134281000 Z\n"], ["created_at", "2017-04-08 19:32:33.138116"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 11) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:32:33.145755"], ["updated_at", "2017-04-08 19:32:33.145755"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:32:33.145755"], ["item_id", 2], ["item_type", "User"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:32:33.149150"], ["updated_at", "2017-04-08 19:32:33.149150"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:32:33.149150"], ["item_id", 3], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:32:33.152662"], ["updated_at", "2017-04-08 19:32:33.152662"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:32:33.152662"], ["item_id", 5], ["item_type", "Bank"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2017-04-08 19:32:33.155770"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:32:33.152662000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:32:33.155770"], ["item_id", 5], ["item_type", "Bank"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2017-04-08 19:32:33.158726"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 2\ncreated_at: 2017-04-08 19:32:33.152662000 Z\nupdated_at: 2017-04-08 19:32:33.155770000 Z\n"], ["created_at", "2017-04-08 19:32:33.158726"], ["item_id", 5], ["item_type", "Bank"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2017-04-08 19:32:33.161377"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 3\ncreated_at: 2017-04-08 19:32:33.152662000 Z\nupdated_at: 2017-04-08 19:32:33.158726000 Z\n"], ["created_at", "2017-04-08 19:32:33.161377"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 15) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:32:33.170478"], ["updated_at", "2017-04-08 19:32:33.170478"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2017-04-08 19:32:33.170478"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:32:33.173721"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:32:33.170478000 Z\nupdated_at: *1\n"], ["whodunnit", "user2"], ["created_at", "2017-04-08 19:32:33.173721"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:32:33.177181"], ["updated_at", "2017-04-08 19:32:33.177181"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:32:33.177181"], ["item_id", 4], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2017-04-08 19:32:33.180216"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: \ncreated_at: 2017-04-08 19:32:33.170478000 Z\nupdated_at: 2017-04-08 19:32:33.173721000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:32:33.180216"], ["item_id", 6], ["item_type", "Bank"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:32:33.183037"], ["updated_at", "2017-04-08 19:32:33.183037"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:32:33.183037"], ["item_id", 5], ["item_type", "User"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2017-04-08 19:32:33.185650"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 4\ncreated_at: 2017-04-08 19:32:33.170478000 Z\nupdated_at: 2017-04-08 19:32:33.180216000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:32:33.185650"], ["item_id", 6], ["item_type", "Bank"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2017-04-08 19:32:33.188437"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 5\ncreated_at: 2017-04-08 19:32:33.170478000 Z\nupdated_at: 2017-04-08 19:32:33.185650000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:32:33.188437"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:32:33.191189"], ["updated_at", "2017-04-08 19:32:33.191189"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:32:33.191189"], ["item_id", 6], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2017-04-08 19:32:33.194156"], ["id", 6]] SQL (4.3ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 5\ncreated_at: 2017-04-08 19:32:33.170478000 Z\nupdated_at: 2017-04-08 19:32:33.188437000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:32:33.194156"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:32:33.201687"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 6\ncreated_at: 2017-04-08 19:32:33.170478000 Z\nupdated_at: 2017-04-08 19:32:33.194156000 Z\n"], ["whodunnit", "user1"], ["created_at", "2017-04-08 19:32:33.201687"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 23) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 24) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 26) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 27) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2017-04-08 19:32:33.211633"], ["updated_at", "2017-04-08 19:32:33.211633"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:32:33.211633"], ["item_id", 7], ["item_type", "User"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", 2], ["updated_at", "2017-04-08 19:32:33.215045"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 0\ncreated_at: &1 2017-04-08 19:32:33.211633000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:32:33.215045"], ["item_id", 7], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", nil], ["updated_at", "2017-04-08 19:32:33.218389"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 2\ncreated_at: 2017-04-08 19:32:33.211633000 Z\nupdated_at: 2017-04-08 19:32:33.215045000 Z\n"], ["created_at", "2017-04-08 19:32:33.218389"], ["item_id", 7], ["item_type", "User"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 29) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 30) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.2ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.4ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.5ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.9ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.9ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.6ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2017-04-08 19:33:49.906798"], ["updated_at", "2017-04-08 19:33:49.906798"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:33:49.906798"], ["item_id", 1], ["item_type", "Bank"]]  (2.0ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:33:49.927718"], ["updated_at", "2017-04-08 19:33:49.927718"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:33:49.927718"], ["item_id", 2], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:33:49.930646"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \nuser_id: \ncreated_at: &1 2017-04-08 19:33:49.927718000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:33:49.930646"], ["item_id", 2], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:33:49.940311"], ["updated_at", "2017-04-08 19:33:49.940311"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:33:49.940311"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:33:49.943301"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:33:49.940311000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:33:49.943301"], ["item_id", 3], ["item_type", "Bank"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:33:49.946295"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\nuser_id: \ncreated_at: 2017-04-08 19:33:49.940311000 Z\nupdated_at: 2017-04-08 19:33:49.943301000 Z\n"], ["created_at", "2017-04-08 19:33:49.946295"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2017-04-08 19:33:49.949548"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \nuser_id: \ncreated_at: 2017-04-08 19:33:49.940311000 Z\nupdated_at: 2017-04-08 19:33:49.946295000 Z\n"], ["created_at", "2017-04-08 19:33:49.949548"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:33:49.956716"], ["updated_at", "2017-04-08 19:33:49.956716"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:33:49.956716"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:33:49.964067"], ["updated_at", "2017-04-08 19:33:49.964067"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:33:49.964067"], ["item_id", 1], ["item_type", "User"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2017-04-08 19:33:49.969854"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:33:49.956716000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:33:49.969854"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:33:49.973777"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: 1\ncreated_at: 2017-04-08 19:33:49.956716000 Z\nupdated_at: 2017-04-08 19:33:49.969854000 Z\n"], ["created_at", "2017-04-08 19:33:49.973777"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 11) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:33:49.981603"], ["updated_at", "2017-04-08 19:33:49.981603"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:33:49.981603"], ["item_id", 2], ["item_type", "User"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:33:49.986756"], ["updated_at", "2017-04-08 19:33:49.986756"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:33:49.986756"], ["item_id", 3], ["item_type", "User"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:33:49.991427"], ["updated_at", "2017-04-08 19:33:49.991427"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:33:49.991427"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2017-04-08 19:33:49.995287"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:33:49.991427000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:33:49.995287"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2017-04-08 19:33:49.998871"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 2\ncreated_at: 2017-04-08 19:33:49.991427000 Z\nupdated_at: 2017-04-08 19:33:49.995287000 Z\n"], ["created_at", "2017-04-08 19:33:49.998871"], ["item_id", 5], ["item_type", "Bank"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2017-04-08 19:33:50.002320"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 3\ncreated_at: 2017-04-08 19:33:49.991427000 Z\nupdated_at: 2017-04-08 19:33:49.998871000 Z\n"], ["created_at", "2017-04-08 19:33:50.002320"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 15) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:33:50.012990"], ["updated_at", "2017-04-08 19:33:50.012990"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2017-04-08 19:33:50.012990"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:33:50.016313"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:33:50.012990000 Z\nupdated_at: *1\n"], ["whodunnit", "user2"], ["created_at", "2017-04-08 19:33:50.016313"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:33:50.019557"], ["updated_at", "2017-04-08 19:33:50.019557"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:33:50.019557"], ["item_id", 4], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2017-04-08 19:33:50.022345"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: \ncreated_at: 2017-04-08 19:33:50.012990000 Z\nupdated_at: 2017-04-08 19:33:50.016313000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:33:50.022345"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:33:50.025638"], ["updated_at", "2017-04-08 19:33:50.025638"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:33:50.025638"], ["item_id", 5], ["item_type", "User"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2017-04-08 19:33:50.028462"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 4\ncreated_at: 2017-04-08 19:33:50.012990000 Z\nupdated_at: 2017-04-08 19:33:50.022345000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:33:50.028462"], ["item_id", 6], ["item_type", "Bank"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2017-04-08 19:33:50.031430"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 5\ncreated_at: 2017-04-08 19:33:50.012990000 Z\nupdated_at: 2017-04-08 19:33:50.028462000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:33:50.031430"], ["item_id", 6], ["item_type", "Bank"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:33:50.034432"], ["updated_at", "2017-04-08 19:33:50.034432"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:33:50.034432"], ["item_id", 6], ["item_type", "User"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2017-04-08 19:33:50.036994"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 5\ncreated_at: 2017-04-08 19:33:50.012990000 Z\nupdated_at: 2017-04-08 19:33:50.031430000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:33:50.036994"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:33:50.044520"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 6\ncreated_at: 2017-04-08 19:33:50.012990000 Z\nupdated_at: 2017-04-08 19:33:50.036994000 Z\n"], ["whodunnit", "user1"], ["created_at", "2017-04-08 19:33:50.044520"], ["item_id", 6], ["item_type", "Bank"]]  (0.3ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 23) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 24) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 26) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 27) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2017-04-08 19:33:50.054475"], ["updated_at", "2017-04-08 19:33:50.054475"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:33:50.054475"], ["item_id", 7], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", 2], ["updated_at", "2017-04-08 19:33:50.057636"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 0\ncreated_at: &1 2017-04-08 19:33:50.054475000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:33:50.057636"], ["item_id", 7], ["item_type", "User"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", nil], ["updated_at", "2017-04-08 19:33:50.061119"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 2\ncreated_at: 2017-04-08 19:33:50.054475000 Z\nupdated_at: 2017-04-08 19:33:50.057636000 Z\n"], ["created_at", "2017-04-08 19:33:50.061119"], ["item_id", 7], ["item_type", "User"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 29) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 30) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.2ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.4ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.6ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2017-04-08 19:38:07.419562"], ["updated_at", "2017-04-08 19:38:07.419562"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:38:07.419562"], ["item_id", 1], ["item_type", "Bank"]]  (0.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:38:07.438365"], ["updated_at", "2017-04-08 19:38:07.438365"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:38:07.438365"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:38:07.441389"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \nuser_id: \ncreated_at: &1 2017-04-08 19:38:07.438365000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:38:07.441389"], ["item_id", 2], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:38:07.450935"], ["updated_at", "2017-04-08 19:38:07.450935"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:38:07.450935"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:38:07.453817"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:38:07.450935000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:38:07.453817"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:38:07.457425"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\nuser_id: \ncreated_at: 2017-04-08 19:38:07.450935000 Z\nupdated_at: 2017-04-08 19:38:07.453817000 Z\n"], ["created_at", "2017-04-08 19:38:07.457425"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2017-04-08 19:38:07.460885"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \nuser_id: \ncreated_at: 2017-04-08 19:38:07.450935000 Z\nupdated_at: 2017-04-08 19:38:07.457425000 Z\n"], ["created_at", "2017-04-08 19:38:07.460885"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:38:07.469013"], ["updated_at", "2017-04-08 19:38:07.469013"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:38:07.469013"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:38:07.482118"], ["updated_at", "2017-04-08 19:38:07.482118"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:38:07.482118"], ["item_id", 1], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2017-04-08 19:38:07.487402"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:38:07.469013000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:38:07.487402"], ["item_id", 4], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:38:07.490508"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: 1\ncreated_at: 2017-04-08 19:38:07.469013000 Z\nupdated_at: 2017-04-08 19:38:07.487402000 Z\n"], ["created_at", "2017-04-08 19:38:07.490508"], ["item_id", 4], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 11) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:38:07.496279"], ["updated_at", "2017-04-08 19:38:07.496279"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:38:07.496279"], ["item_id", 2], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:38:07.498902"], ["updated_at", "2017-04-08 19:38:07.498902"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:38:07.498902"], ["item_id", 3], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:38:07.501347"], ["updated_at", "2017-04-08 19:38:07.501347"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:38:07.501347"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2017-04-08 19:38:07.504084"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:38:07.501347000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:38:07.504084"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2017-04-08 19:38:07.507592"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 2\ncreated_at: 2017-04-08 19:38:07.501347000 Z\nupdated_at: 2017-04-08 19:38:07.504084000 Z\n"], ["created_at", "2017-04-08 19:38:07.507592"], ["item_id", 5], ["item_type", "Bank"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2017-04-08 19:38:07.510268"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 3\ncreated_at: 2017-04-08 19:38:07.501347000 Z\nupdated_at: 2017-04-08 19:38:07.507592000 Z\n"], ["created_at", "2017-04-08 19:38:07.510268"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 15) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:38:07.519293"], ["updated_at", "2017-04-08 19:38:07.519293"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2017-04-08 19:38:07.519293"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:38:07.522478"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:38:07.519293000 Z\nupdated_at: *1\n"], ["whodunnit", "user2"], ["created_at", "2017-04-08 19:38:07.522478"], ["item_id", 6], ["item_type", "Bank"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:38:07.525460"], ["updated_at", "2017-04-08 19:38:07.525460"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:38:07.525460"], ["item_id", 4], ["item_type", "User"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2017-04-08 19:38:07.528078"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: \ncreated_at: 2017-04-08 19:38:07.519293000 Z\nupdated_at: 2017-04-08 19:38:07.522478000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:38:07.528078"], ["item_id", 6], ["item_type", "Bank"]]  (0.3ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:38:07.530984"], ["updated_at", "2017-04-08 19:38:07.530984"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:38:07.530984"], ["item_id", 5], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2017-04-08 19:38:07.533744"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 4\ncreated_at: 2017-04-08 19:38:07.519293000 Z\nupdated_at: 2017-04-08 19:38:07.528078000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:38:07.533744"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2017-04-08 19:38:07.536826"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 5\ncreated_at: 2017-04-08 19:38:07.519293000 Z\nupdated_at: 2017-04-08 19:38:07.533744000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:38:07.536826"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:38:07.539952"], ["updated_at", "2017-04-08 19:38:07.539952"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:38:07.539952"], ["item_id", 6], ["item_type", "User"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2017-04-08 19:38:07.543678"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 5\ncreated_at: 2017-04-08 19:38:07.519293000 Z\nupdated_at: 2017-04-08 19:38:07.536826000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:38:07.543678"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:38:07.547068"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 6\ncreated_at: 2017-04-08 19:38:07.519293000 Z\nupdated_at: 2017-04-08 19:38:07.543678000 Z\n"], ["whodunnit", "user1"], ["created_at", "2017-04-08 19:38:07.547068"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 23) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 24) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 26) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 27) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2017-04-08 19:38:07.557364"], ["updated_at", "2017-04-08 19:38:07.557364"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:38:07.557364"], ["item_id", 7], ["item_type", "User"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", 2], ["updated_at", "2017-04-08 19:38:07.561743"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 0\ncreated_at: &1 2017-04-08 19:38:07.557364000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:38:07.561743"], ["item_id", 7], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", nil], ["updated_at", "2017-04-08 19:38:07.565606"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 2\ncreated_at: 2017-04-08 19:38:07.557364000 Z\nupdated_at: 2017-04-08 19:38:07.561743000 Z\n"], ["created_at", "2017-04-08 19:38:07.565606"], ["item_id", 7], ["item_type", "User"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 29) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 30) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.9ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.8ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.9ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.9ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.8ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2017-04-08 19:40:09.412488"], ["updated_at", "2017-04-08 19:40:09.412488"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:40:09.412488"], ["item_id", 1], ["item_type", "Bank"]]  (0.8ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:40:09.433927"], ["updated_at", "2017-04-08 19:40:09.433927"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:40:09.433927"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:40:09.437642"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \nuser_id: \ncreated_at: &1 2017-04-08 19:40:09.433927000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:40:09.437642"], ["item_id", 2], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:40:09.447241"], ["updated_at", "2017-04-08 19:40:09.447241"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:40:09.447241"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:40:09.450177"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:40:09.447241000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:40:09.450177"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:40:09.453647"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\nuser_id: \ncreated_at: 2017-04-08 19:40:09.447241000 Z\nupdated_at: 2017-04-08 19:40:09.450177000 Z\n"], ["created_at", "2017-04-08 19:40:09.453647"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2017-04-08 19:40:09.457043"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \nuser_id: \ncreated_at: 2017-04-08 19:40:09.447241000 Z\nupdated_at: 2017-04-08 19:40:09.453647000 Z\n"], ["created_at", "2017-04-08 19:40:09.457043"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:40:09.466279"], ["updated_at", "2017-04-08 19:40:09.466279"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:40:09.466279"], ["item_id", 4], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:40:09.475330"], ["updated_at", "2017-04-08 19:40:09.475330"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:40:09.475330"], ["item_id", 1], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2017-04-08 19:40:09.481109"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:40:09.466279000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:40:09.481109"], ["item_id", 4], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:40:09.484810"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: 1\ncreated_at: 2017-04-08 19:40:09.466279000 Z\nupdated_at: 2017-04-08 19:40:09.481109000 Z\n"], ["created_at", "2017-04-08 19:40:09.484810"], ["item_id", 4], ["item_type", "Bank"]]  (0.3ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 11) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:40:09.491915"], ["updated_at", "2017-04-08 19:40:09.491915"]] SQL (0.4ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:40:09.491915"], ["item_id", 2], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:40:09.495606"], ["updated_at", "2017-04-08 19:40:09.495606"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:40:09.495606"], ["item_id", 3], ["item_type", "User"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:40:09.498992"], ["updated_at", "2017-04-08 19:40:09.498992"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:40:09.498992"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2017-04-08 19:40:09.502926"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:40:09.498992000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:40:09.502926"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2017-04-08 19:40:09.507123"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 2\ncreated_at: 2017-04-08 19:40:09.498992000 Z\nupdated_at: 2017-04-08 19:40:09.502926000 Z\n"], ["created_at", "2017-04-08 19:40:09.507123"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2017-04-08 19:40:09.510961"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 3\ncreated_at: 2017-04-08 19:40:09.498992000 Z\nupdated_at: 2017-04-08 19:40:09.507123000 Z\n"], ["created_at", "2017-04-08 19:40:09.510961"], ["item_id", 5], ["item_type", "Bank"]]  (0.7ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 15) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:40:09.523559"], ["updated_at", "2017-04-08 19:40:09.523559"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2017-04-08 19:40:09.523559"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:40:09.527397"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:40:09.523559000 Z\nupdated_at: *1\n"], ["whodunnit", "user2"], ["created_at", "2017-04-08 19:40:09.527397"], ["item_id", 6], ["item_type", "Bank"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:40:09.531216"], ["updated_at", "2017-04-08 19:40:09.531216"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:40:09.531216"], ["item_id", 4], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2017-04-08 19:40:09.534668"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: \ncreated_at: 2017-04-08 19:40:09.523559000 Z\nupdated_at: 2017-04-08 19:40:09.527397000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:40:09.534668"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:40:09.538187"], ["updated_at", "2017-04-08 19:40:09.538187"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:40:09.538187"], ["item_id", 5], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2017-04-08 19:40:09.541571"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 4\ncreated_at: 2017-04-08 19:40:09.523559000 Z\nupdated_at: 2017-04-08 19:40:09.534668000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:40:09.541571"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2017-04-08 19:40:09.546111"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 5\ncreated_at: 2017-04-08 19:40:09.523559000 Z\nupdated_at: 2017-04-08 19:40:09.541571000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:40:09.546111"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:40:09.549904"], ["updated_at", "2017-04-08 19:40:09.549904"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:40:09.549904"], ["item_id", 6], ["item_type", "User"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2017-04-08 19:40:09.553856"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 5\ncreated_at: 2017-04-08 19:40:09.523559000 Z\nupdated_at: 2017-04-08 19:40:09.546111000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:40:09.553856"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:40:09.558182"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 6\ncreated_at: 2017-04-08 19:40:09.523559000 Z\nupdated_at: 2017-04-08 19:40:09.553856000 Z\n"], ["whodunnit", "user1"], ["created_at", "2017-04-08 19:40:09.558182"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 23) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 24) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 26) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 27) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2017-04-08 19:40:09.571631"], ["updated_at", "2017-04-08 19:40:09.571631"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:40:09.571631"], ["item_id", 7], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", 2], ["updated_at", "2017-04-08 19:40:09.575430"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 0\ncreated_at: &1 2017-04-08 19:40:09.571631000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:40:09.575430"], ["item_id", 7], ["item_type", "User"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", nil], ["updated_at", "2017-04-08 19:40:09.579388"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 2\ncreated_at: 2017-04-08 19:40:09.571631000 Z\nupdated_at: 2017-04-08 19:40:09.575430000 Z\n"], ["created_at", "2017-04-08 19:40:09.579388"], ["item_id", 7], ["item_type", "User"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 29) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 30) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.2ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.4ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.8ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.9ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2017-04-08 19:42:23.385989"], ["updated_at", "2017-04-08 19:42:23.385989"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:42:23.385989"], ["item_id", 1], ["item_type", "Bank"]]  (2.4ms) commit transaction Bank Load (0.2ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:42:23.408008"], ["updated_at", "2017-04-08 19:42:23.408008"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:42:23.408008"], ["item_id", 2], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:42:23.411486"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \nuser_id: \ncreated_at: &1 2017-04-08 19:42:23.408008000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:42:23.411486"], ["item_id", 2], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:42:23.420448"], ["updated_at", "2017-04-08 19:42:23.420448"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:42:23.420448"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:42:23.423393"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:42:23.420448000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:42:23.423393"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:42:23.426439"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\nuser_id: \ncreated_at: 2017-04-08 19:42:23.420448000 Z\nupdated_at: 2017-04-08 19:42:23.423393000 Z\n"], ["created_at", "2017-04-08 19:42:23.426439"], ["item_id", 3], ["item_type", "Bank"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2017-04-08 19:42:23.429308"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \nuser_id: \ncreated_at: 2017-04-08 19:42:23.420448000 Z\nupdated_at: 2017-04-08 19:42:23.426439000 Z\n"], ["created_at", "2017-04-08 19:42:23.429308"], ["item_id", 3], ["item_type", "Bank"]]  (0.3ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:42:23.436678"], ["updated_at", "2017-04-08 19:42:23.436678"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:42:23.436678"], ["item_id", 4], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:42:23.443210"], ["updated_at", "2017-04-08 19:42:23.443210"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:42:23.443210"], ["item_id", 1], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2017-04-08 19:42:23.448300"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:42:23.436678000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:42:23.448300"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:42:23.452461"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: 1\ncreated_at: 2017-04-08 19:42:23.436678000 Z\nupdated_at: 2017-04-08 19:42:23.448300000 Z\n"], ["created_at", "2017-04-08 19:42:23.452461"], ["item_id", 4], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 11) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:42:23.459243"], ["updated_at", "2017-04-08 19:42:23.459243"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:42:23.459243"], ["item_id", 2], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:42:23.462313"], ["updated_at", "2017-04-08 19:42:23.462313"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:42:23.462313"], ["item_id", 3], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:42:23.465075"], ["updated_at", "2017-04-08 19:42:23.465075"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:42:23.465075"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2017-04-08 19:42:23.467940"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:42:23.465075000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:42:23.467940"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2017-04-08 19:42:23.471449"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 2\ncreated_at: 2017-04-08 19:42:23.465075000 Z\nupdated_at: 2017-04-08 19:42:23.467940000 Z\n"], ["created_at", "2017-04-08 19:42:23.471449"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2017-04-08 19:42:23.474525"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 3\ncreated_at: 2017-04-08 19:42:23.465075000 Z\nupdated_at: 2017-04-08 19:42:23.471449000 Z\n"], ["created_at", "2017-04-08 19:42:23.474525"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 15) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:42:23.483091"], ["updated_at", "2017-04-08 19:42:23.483091"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2017-04-08 19:42:23.483091"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:42:23.486251"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:42:23.483091000 Z\nupdated_at: *1\n"], ["whodunnit", "user2"], ["created_at", "2017-04-08 19:42:23.486251"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:42:23.489354"], ["updated_at", "2017-04-08 19:42:23.489354"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:42:23.489354"], ["item_id", 4], ["item_type", "User"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2017-04-08 19:42:23.492176"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: \ncreated_at: 2017-04-08 19:42:23.483091000 Z\nupdated_at: 2017-04-08 19:42:23.486251000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:42:23.492176"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:42:23.495079"], ["updated_at", "2017-04-08 19:42:23.495079"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:42:23.495079"], ["item_id", 5], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2017-04-08 19:42:23.497729"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 4\ncreated_at: 2017-04-08 19:42:23.483091000 Z\nupdated_at: 2017-04-08 19:42:23.492176000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:42:23.497729"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2017-04-08 19:42:23.501319"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 5\ncreated_at: 2017-04-08 19:42:23.483091000 Z\nupdated_at: 2017-04-08 19:42:23.497729000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:42:23.501319"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:42:23.504653"], ["updated_at", "2017-04-08 19:42:23.504653"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:42:23.504653"], ["item_id", 6], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (4.4ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2017-04-08 19:42:23.507524"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 5\ncreated_at: 2017-04-08 19:42:23.483091000 Z\nupdated_at: 2017-04-08 19:42:23.501319000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:42:23.507524"], ["item_id", 6], ["item_type", "Bank"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:42:23.515940"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 6\ncreated_at: 2017-04-08 19:42:23.483091000 Z\nupdated_at: 2017-04-08 19:42:23.507524000 Z\n"], ["whodunnit", "user1"], ["created_at", "2017-04-08 19:42:23.515940"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 23) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 24) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 26) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 27) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2017-04-08 19:42:23.528439"], ["updated_at", "2017-04-08 19:42:23.528439"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:42:23.528439"], ["item_id", 7], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", 2], ["updated_at", "2017-04-08 19:42:23.531462"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 0\ncreated_at: &1 2017-04-08 19:42:23.528439000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:42:23.531462"], ["item_id", 7], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", nil], ["updated_at", "2017-04-08 19:42:23.534701"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 2\ncreated_at: 2017-04-08 19:42:23.528439000 Z\nupdated_at: 2017-04-08 19:42:23.531462000 Z\n"], ["created_at", "2017-04-08 19:42:23.534701"], ["item_id", 7], ["item_type", "User"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 29) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 30) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.6ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.5ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.6ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2017-04-08 19:43:25.076874"], ["updated_at", "2017-04-08 19:43:25.076874"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:43:25.076874"], ["item_id", 1], ["item_type", "Bank"]]  (2.1ms) commit transaction Bank Load (0.2ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:43:25.101398"], ["updated_at", "2017-04-08 19:43:25.101398"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:43:25.101398"], ["item_id", 2], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:43:25.104514"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \nuser_id: \ncreated_at: &1 2017-04-08 19:43:25.101398000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:43:25.104514"], ["item_id", 2], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:43:25.113905"], ["updated_at", "2017-04-08 19:43:25.113905"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:43:25.113905"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:43:25.117196"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:43:25.113905000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:43:25.117196"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:43:25.120781"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\nuser_id: \ncreated_at: 2017-04-08 19:43:25.113905000 Z\nupdated_at: 2017-04-08 19:43:25.117196000 Z\n"], ["created_at", "2017-04-08 19:43:25.120781"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2017-04-08 19:43:25.124630"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \nuser_id: \ncreated_at: 2017-04-08 19:43:25.113905000 Z\nupdated_at: 2017-04-08 19:43:25.120781000 Z\n"], ["created_at", "2017-04-08 19:43:25.124630"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:43:25.132104"], ["updated_at", "2017-04-08 19:43:25.132104"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:43:25.132104"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:43:25.139247"], ["updated_at", "2017-04-08 19:43:25.139247"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:43:25.139247"], ["item_id", 1], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2017-04-08 19:43:25.145023"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:43:25.132104000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:43:25.145023"], ["item_id", 4], ["item_type", "Bank"]]  (2.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:43:25.150611"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: 1\ncreated_at: 2017-04-08 19:43:25.132104000 Z\nupdated_at: 2017-04-08 19:43:25.145023000 Z\n"], ["created_at", "2017-04-08 19:43:25.150611"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 11) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:43:25.160375"], ["updated_at", "2017-04-08 19:43:25.160375"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:43:25.160375"], ["item_id", 2], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:43:25.163469"], ["updated_at", "2017-04-08 19:43:25.163469"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:43:25.163469"], ["item_id", 3], ["item_type", "User"]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:43:25.167197"], ["updated_at", "2017-04-08 19:43:25.167197"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:43:25.167197"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2017-04-08 19:43:25.170335"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:43:25.167197000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:43:25.170335"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2017-04-08 19:43:25.174073"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 2\ncreated_at: 2017-04-08 19:43:25.167197000 Z\nupdated_at: 2017-04-08 19:43:25.170335000 Z\n"], ["created_at", "2017-04-08 19:43:25.174073"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2017-04-08 19:43:25.177013"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 3\ncreated_at: 2017-04-08 19:43:25.167197000 Z\nupdated_at: 2017-04-08 19:43:25.174073000 Z\n"], ["created_at", "2017-04-08 19:43:25.177013"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 15) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:43:25.185969"], ["updated_at", "2017-04-08 19:43:25.185969"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2017-04-08 19:43:25.185969"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:43:25.188902"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:43:25.185969000 Z\nupdated_at: *1\n"], ["whodunnit", "user2"], ["created_at", "2017-04-08 19:43:25.188902"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:43:25.192083"], ["updated_at", "2017-04-08 19:43:25.192083"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:43:25.192083"], ["item_id", 4], ["item_type", "User"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2017-04-08 19:43:25.194989"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: \ncreated_at: 2017-04-08 19:43:25.185969000 Z\nupdated_at: 2017-04-08 19:43:25.188902000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:43:25.194989"], ["item_id", 6], ["item_type", "Bank"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:43:25.197932"], ["updated_at", "2017-04-08 19:43:25.197932"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:43:25.197932"], ["item_id", 5], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2017-04-08 19:43:25.200606"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 4\ncreated_at: 2017-04-08 19:43:25.185969000 Z\nupdated_at: 2017-04-08 19:43:25.194989000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:43:25.200606"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2017-04-08 19:43:25.203534"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 5\ncreated_at: 2017-04-08 19:43:25.185969000 Z\nupdated_at: 2017-04-08 19:43:25.200606000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:43:25.203534"], ["item_id", 6], ["item_type", "Bank"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:43:25.206287"], ["updated_at", "2017-04-08 19:43:25.206287"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:43:25.206287"], ["item_id", 6], ["item_type", "User"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2017-04-08 19:43:25.209003"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 5\ncreated_at: 2017-04-08 19:43:25.185969000 Z\nupdated_at: 2017-04-08 19:43:25.203534000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:43:25.209003"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:43:25.216708"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 6\ncreated_at: 2017-04-08 19:43:25.185969000 Z\nupdated_at: 2017-04-08 19:43:25.209003000 Z\n"], ["whodunnit", "user1"], ["created_at", "2017-04-08 19:43:25.216708"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 23) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 24) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 26) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 27) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2017-04-08 19:43:25.227983"], ["updated_at", "2017-04-08 19:43:25.227983"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:43:25.227983"], ["item_id", 7], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", 2], ["updated_at", "2017-04-08 19:43:25.230971"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 0\ncreated_at: &1 2017-04-08 19:43:25.227983000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:43:25.230971"], ["item_id", 7], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", nil], ["updated_at", "2017-04-08 19:43:25.234279"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 2\ncreated_at: 2017-04-08 19:43:25.227983000 Z\nupdated_at: 2017-04-08 19:43:25.230971000 Z\n"], ["created_at", "2017-04-08 19:43:25.234279"], ["item_id", 7], ["item_type", "User"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 29) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 30) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.2ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.4ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.5ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2017-04-08 19:45:17.009237"], ["updated_at", "2017-04-08 19:45:17.009237"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:45:17.009237"], ["item_id", 1], ["item_type", "Bank"]]  (2.2ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:45:17.030149"], ["updated_at", "2017-04-08 19:45:17.030149"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:45:17.030149"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:45:17.033165"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \nuser_id: \ncreated_at: &1 2017-04-08 19:45:17.030149000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:45:17.033165"], ["item_id", 2], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:45:17.044199"], ["updated_at", "2017-04-08 19:45:17.044199"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:45:17.044199"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:45:17.047037"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:45:17.044199000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:45:17.047037"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:45:17.049818"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\nuser_id: \ncreated_at: 2017-04-08 19:45:17.044199000 Z\nupdated_at: 2017-04-08 19:45:17.047037000 Z\n"], ["created_at", "2017-04-08 19:45:17.049818"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2017-04-08 19:45:17.052500"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \nuser_id: \ncreated_at: 2017-04-08 19:45:17.044199000 Z\nupdated_at: 2017-04-08 19:45:17.049818000 Z\n"], ["created_at", "2017-04-08 19:45:17.052500"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:45:17.058751"], ["updated_at", "2017-04-08 19:45:17.058751"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:45:17.058751"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:45:17.065581"], ["updated_at", "2017-04-08 19:45:17.065581"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:45:17.065581"], ["item_id", 1], ["item_type", "User"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2017-04-08 19:45:17.071292"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:45:17.058751000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:45:17.071292"], ["item_id", 4], ["item_type", "Bank"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:45:17.075134"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: 1\ncreated_at: 2017-04-08 19:45:17.058751000 Z\nupdated_at: 2017-04-08 19:45:17.071292000 Z\n"], ["created_at", "2017-04-08 19:45:17.075134"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 11) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:45:17.083448"], ["updated_at", "2017-04-08 19:45:17.083448"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:45:17.083448"], ["item_id", 2], ["item_type", "User"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:45:17.086649"], ["updated_at", "2017-04-08 19:45:17.086649"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:45:17.086649"], ["item_id", 3], ["item_type", "User"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:45:17.089703"], ["updated_at", "2017-04-08 19:45:17.089703"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:45:17.089703"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2017-04-08 19:45:17.093140"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:45:17.089703000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:45:17.093140"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2017-04-08 19:45:17.096701"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 2\ncreated_at: 2017-04-08 19:45:17.089703000 Z\nupdated_at: 2017-04-08 19:45:17.093140000 Z\n"], ["created_at", "2017-04-08 19:45:17.096701"], ["item_id", 5], ["item_type", "Bank"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2017-04-08 19:45:17.099452"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 3\ncreated_at: 2017-04-08 19:45:17.089703000 Z\nupdated_at: 2017-04-08 19:45:17.096701000 Z\n"], ["created_at", "2017-04-08 19:45:17.099452"], ["item_id", 5], ["item_type", "Bank"]]  (0.3ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 15) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:45:17.108556"], ["updated_at", "2017-04-08 19:45:17.108556"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2017-04-08 19:45:17.108556"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:45:17.111640"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:45:17.108556000 Z\nupdated_at: *1\n"], ["whodunnit", "user2"], ["created_at", "2017-04-08 19:45:17.111640"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:45:17.114790"], ["updated_at", "2017-04-08 19:45:17.114790"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:45:17.114790"], ["item_id", 4], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2017-04-08 19:45:17.118043"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: \ncreated_at: 2017-04-08 19:45:17.108556000 Z\nupdated_at: 2017-04-08 19:45:17.111640000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:45:17.118043"], ["item_id", 6], ["item_type", "Bank"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:45:17.121119"], ["updated_at", "2017-04-08 19:45:17.121119"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:45:17.121119"], ["item_id", 5], ["item_type", "User"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2017-04-08 19:45:17.123794"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 4\ncreated_at: 2017-04-08 19:45:17.108556000 Z\nupdated_at: 2017-04-08 19:45:17.118043000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:45:17.123794"], ["item_id", 6], ["item_type", "Bank"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2017-04-08 19:45:17.126600"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 5\ncreated_at: 2017-04-08 19:45:17.108556000 Z\nupdated_at: 2017-04-08 19:45:17.123794000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:45:17.126600"], ["item_id", 6], ["item_type", "Bank"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:45:17.129367"], ["updated_at", "2017-04-08 19:45:17.129367"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:45:17.129367"], ["item_id", 6], ["item_type", "User"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2017-04-08 19:45:17.132087"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 5\ncreated_at: 2017-04-08 19:45:17.108556000 Z\nupdated_at: 2017-04-08 19:45:17.126600000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:45:17.132087"], ["item_id", 6], ["item_type", "Bank"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:45:17.140344"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 6\ncreated_at: 2017-04-08 19:45:17.108556000 Z\nupdated_at: 2017-04-08 19:45:17.132087000 Z\n"], ["whodunnit", "user1"], ["created_at", "2017-04-08 19:45:17.140344"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 23) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 24) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 26) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 27) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2017-04-08 19:45:17.152849"], ["updated_at", "2017-04-08 19:45:17.152849"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:45:17.152849"], ["item_id", 7], ["item_type", "User"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", 2], ["updated_at", "2017-04-08 19:45:17.155872"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 0\ncreated_at: &1 2017-04-08 19:45:17.152849000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:45:17.155872"], ["item_id", 7], ["item_type", "User"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", nil], ["updated_at", "2017-04-08 19:45:17.159316"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 2\ncreated_at: 2017-04-08 19:45:17.152849000 Z\nupdated_at: 2017-04-08 19:45:17.155872000 Z\n"], ["created_at", "2017-04-08 19:45:17.159316"], ["item_id", 7], ["item_type", "User"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 29) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 30) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2017-04-08 19:45:17.166457"], ["updated_at", "2017-04-08 19:45:17.166457"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:45:17.166457"], ["item_id", 8], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", 2], ["updated_at", "2017-04-08 19:45:17.169941"], ["id", 8]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 8\nname: \nstate: 0\ncreated_at: &1 2017-04-08 19:45:17.166457000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:45:17.169941"], ["item_id", 8], ["item_type", "User"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", nil], ["updated_at", "2017-04-08 19:45:17.173989"], ["id", 8]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 8\nname: \nstate: 2\ncreated_at: 2017-04-08 19:45:17.166457000 Z\nupdated_at: 2017-04-08 19:45:17.169941000 Z\n"], ["created_at", "2017-04-08 19:45:17.173989"], ["item_id", 8], ["item_type", "User"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 8], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 8], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 32) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 8]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 33) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 8]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.8ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.0ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2017-04-08 19:45:44.424260"], ["updated_at", "2017-04-08 19:45:44.424260"]] SQL (0.3ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:45:44.424260"], ["item_id", 1], ["item_type", "Bank"]]  (2.4ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:45:44.446404"], ["updated_at", "2017-04-08 19:45:44.446404"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:45:44.446404"], ["item_id", 2], ["item_type", "Bank"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:45:44.450412"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \nuser_id: \ncreated_at: &1 2017-04-08 19:45:44.446404000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:45:44.450412"], ["item_id", 2], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:45:44.461524"], ["updated_at", "2017-04-08 19:45:44.461524"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:45:44.461524"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:45:44.464700"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:45:44.461524000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:45:44.464700"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:45:44.468665"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\nuser_id: \ncreated_at: 2017-04-08 19:45:44.461524000 Z\nupdated_at: 2017-04-08 19:45:44.464700000 Z\n"], ["created_at", "2017-04-08 19:45:44.468665"], ["item_id", 3], ["item_type", "Bank"]]  (0.3ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2017-04-08 19:45:44.471683"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \nuser_id: \ncreated_at: 2017-04-08 19:45:44.461524000 Z\nupdated_at: 2017-04-08 19:45:44.468665000 Z\n"], ["created_at", "2017-04-08 19:45:44.471683"], ["item_id", 3], ["item_type", "Bank"]]  (0.3ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:45:44.478710"], ["updated_at", "2017-04-08 19:45:44.478710"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:45:44.478710"], ["item_id", 4], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:45:44.486518"], ["updated_at", "2017-04-08 19:45:44.486518"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:45:44.486518"], ["item_id", 1], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2017-04-08 19:45:44.492144"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:45:44.478710000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:45:44.492144"], ["item_id", 4], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:45:44.496080"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: 1\ncreated_at: 2017-04-08 19:45:44.478710000 Z\nupdated_at: 2017-04-08 19:45:44.492144000 Z\n"], ["created_at", "2017-04-08 19:45:44.496080"], ["item_id", 4], ["item_type", "Bank"]]  (0.3ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 11) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:45:44.502609"], ["updated_at", "2017-04-08 19:45:44.502609"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:45:44.502609"], ["item_id", 2], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:45:44.505460"], ["updated_at", "2017-04-08 19:45:44.505460"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:45:44.505460"], ["item_id", 3], ["item_type", "User"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:45:44.508140"], ["updated_at", "2017-04-08 19:45:44.508140"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:45:44.508140"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2017-04-08 19:45:44.510996"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:45:44.508140000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:45:44.510996"], ["item_id", 5], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2017-04-08 19:45:44.514229"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 2\ncreated_at: 2017-04-08 19:45:44.508140000 Z\nupdated_at: 2017-04-08 19:45:44.510996000 Z\n"], ["created_at", "2017-04-08 19:45:44.514229"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2017-04-08 19:45:44.517198"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 3\ncreated_at: 2017-04-08 19:45:44.508140000 Z\nupdated_at: 2017-04-08 19:45:44.514229000 Z\n"], ["created_at", "2017-04-08 19:45:44.517198"], ["item_id", 5], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 15) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:45:44.526565"], ["updated_at", "2017-04-08 19:45:44.526565"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2017-04-08 19:45:44.526565"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:45:44.529624"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:45:44.526565000 Z\nupdated_at: *1\n"], ["whodunnit", "user2"], ["created_at", "2017-04-08 19:45:44.529624"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:45:44.532687"], ["updated_at", "2017-04-08 19:45:44.532687"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:45:44.532687"], ["item_id", 4], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2017-04-08 19:45:44.535288"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: \ncreated_at: 2017-04-08 19:45:44.526565000 Z\nupdated_at: 2017-04-08 19:45:44.529624000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:45:44.535288"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:45:44.537933"], ["updated_at", "2017-04-08 19:45:44.537933"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:45:44.537933"], ["item_id", 5], ["item_type", "User"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2017-04-08 19:45:44.540566"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 4\ncreated_at: 2017-04-08 19:45:44.526565000 Z\nupdated_at: 2017-04-08 19:45:44.535288000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:45:44.540566"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2017-04-08 19:45:44.543447"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 5\ncreated_at: 2017-04-08 19:45:44.526565000 Z\nupdated_at: 2017-04-08 19:45:44.540566000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:45:44.543447"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:45:44.546281"], ["updated_at", "2017-04-08 19:45:44.546281"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:45:44.546281"], ["item_id", 6], ["item_type", "User"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2017-04-08 19:45:44.549078"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 5\ncreated_at: 2017-04-08 19:45:44.526565000 Z\nupdated_at: 2017-04-08 19:45:44.543447000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:45:44.549078"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:45:44.556564"], ["id", 6]] SQL (0.2ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 6\ncreated_at: 2017-04-08 19:45:44.526565000 Z\nupdated_at: 2017-04-08 19:45:44.549078000 Z\n"], ["whodunnit", "user1"], ["created_at", "2017-04-08 19:45:44.556564"], ["item_id", 6], ["item_type", "Bank"]]  (0.8ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 23) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 24) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 26) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 27) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2017-04-08 19:45:44.571877"], ["updated_at", "2017-04-08 19:45:44.571877"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:45:44.571877"], ["item_id", 7], ["item_type", "User"]]  (0.4ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", 2], ["updated_at", "2017-04-08 19:45:44.575200"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 0\ncreated_at: &1 2017-04-08 19:45:44.571877000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:45:44.575200"], ["item_id", 7], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", nil], ["updated_at", "2017-04-08 19:45:44.578577"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 2\ncreated_at: 2017-04-08 19:45:44.571877000 Z\nupdated_at: 2017-04-08 19:45:44.575200000 Z\n"], ["created_at", "2017-04-08 19:45:44.578577"], ["item_id", 7], ["item_type", "User"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 29) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 30) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2017-04-08 19:45:44.585174"], ["updated_at", "2017-04-08 19:45:44.585174"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:45:44.585174"], ["item_id", 8], ["item_type", "User"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 8], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 8], ["item_type", "User"]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.5ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.5ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.8ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2017-04-08 19:45:52.768010"], ["updated_at", "2017-04-08 19:45:52.768010"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:45:52.768010"], ["item_id", 1], ["item_type", "Bank"]]  (2.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:45:52.789362"], ["updated_at", "2017-04-08 19:45:52.789362"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:45:52.789362"], ["item_id", 2], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:45:52.792492"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \nuser_id: \ncreated_at: &1 2017-04-08 19:45:52.789362000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:45:52.792492"], ["item_id", 2], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:45:52.802624"], ["updated_at", "2017-04-08 19:45:52.802624"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:45:52.802624"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:45:52.805580"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:45:52.802624000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:45:52.805580"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:45:52.808498"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\nuser_id: \ncreated_at: 2017-04-08 19:45:52.802624000 Z\nupdated_at: 2017-04-08 19:45:52.805580000 Z\n"], ["created_at", "2017-04-08 19:45:52.808498"], ["item_id", 3], ["item_type", "Bank"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2017-04-08 19:45:52.811282"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \nuser_id: \ncreated_at: 2017-04-08 19:45:52.802624000 Z\nupdated_at: 2017-04-08 19:45:52.808498000 Z\n"], ["created_at", "2017-04-08 19:45:52.811282"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:45:52.819322"], ["updated_at", "2017-04-08 19:45:52.819322"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:45:52.819322"], ["item_id", 4], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:45:52.826150"], ["updated_at", "2017-04-08 19:45:52.826150"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:45:52.826150"], ["item_id", 1], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2017-04-08 19:45:52.831655"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:45:52.819322000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:45:52.831655"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:45:52.835107"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: 1\ncreated_at: 2017-04-08 19:45:52.819322000 Z\nupdated_at: 2017-04-08 19:45:52.831655000 Z\n"], ["created_at", "2017-04-08 19:45:52.835107"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 11) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:45:52.841894"], ["updated_at", "2017-04-08 19:45:52.841894"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:45:52.841894"], ["item_id", 2], ["item_type", "User"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:45:52.844980"], ["updated_at", "2017-04-08 19:45:52.844980"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:45:52.844980"], ["item_id", 3], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:45:52.848084"], ["updated_at", "2017-04-08 19:45:52.848084"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:45:52.848084"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2017-04-08 19:45:52.851753"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:45:52.848084000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:45:52.851753"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2017-04-08 19:45:52.855416"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 2\ncreated_at: 2017-04-08 19:45:52.848084000 Z\nupdated_at: 2017-04-08 19:45:52.851753000 Z\n"], ["created_at", "2017-04-08 19:45:52.855416"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2017-04-08 19:45:52.858483"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 3\ncreated_at: 2017-04-08 19:45:52.848084000 Z\nupdated_at: 2017-04-08 19:45:52.855416000 Z\n"], ["created_at", "2017-04-08 19:45:52.858483"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.6ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 15) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:45:52.868724"], ["updated_at", "2017-04-08 19:45:52.868724"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2017-04-08 19:45:52.868724"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:45:52.872030"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:45:52.868724000 Z\nupdated_at: *1\n"], ["whodunnit", "user2"], ["created_at", "2017-04-08 19:45:52.872030"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:45:52.875129"], ["updated_at", "2017-04-08 19:45:52.875129"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:45:52.875129"], ["item_id", 4], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2017-04-08 19:45:52.877931"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: \ncreated_at: 2017-04-08 19:45:52.868724000 Z\nupdated_at: 2017-04-08 19:45:52.872030000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:45:52.877931"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:45:52.880905"], ["updated_at", "2017-04-08 19:45:52.880905"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:45:52.880905"], ["item_id", 5], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2017-04-08 19:45:52.883623"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 4\ncreated_at: 2017-04-08 19:45:52.868724000 Z\nupdated_at: 2017-04-08 19:45:52.877931000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:45:52.883623"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2017-04-08 19:45:52.887026"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 5\ncreated_at: 2017-04-08 19:45:52.868724000 Z\nupdated_at: 2017-04-08 19:45:52.883623000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:45:52.887026"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:45:52.889926"], ["updated_at", "2017-04-08 19:45:52.889926"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:45:52.889926"], ["item_id", 6], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (4.0ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2017-04-08 19:45:52.893052"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 5\ncreated_at: 2017-04-08 19:45:52.868724000 Z\nupdated_at: 2017-04-08 19:45:52.887026000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:45:52.893052"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:45:52.900275"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 6\ncreated_at: 2017-04-08 19:45:52.868724000 Z\nupdated_at: 2017-04-08 19:45:52.893052000 Z\n"], ["whodunnit", "user1"], ["created_at", "2017-04-08 19:45:52.900275"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 23) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 24) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 26) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 27) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2017-04-08 19:45:52.910253"], ["updated_at", "2017-04-08 19:45:52.910253"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:45:52.910253"], ["item_id", 7], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", 2], ["updated_at", "2017-04-08 19:45:52.913278"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 0\ncreated_at: &1 2017-04-08 19:45:52.910253000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:45:52.913278"], ["item_id", 7], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", nil], ["updated_at", "2017-04-08 19:45:52.917507"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 2\ncreated_at: 2017-04-08 19:45:52.910253000 Z\nupdated_at: 2017-04-08 19:45:52.913278000 Z\n"], ["created_at", "2017-04-08 19:45:52.917507"], ["item_id", 7], ["item_type", "User"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 29) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 30) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2017-04-08 19:45:52.924904"], ["updated_at", "2017-04-08 19:45:52.924904"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:45:52.924904"], ["item_id", 8], ["item_type", "User"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 8], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 8], ["item_type", "User"]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.9ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.9ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.8ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2017-04-08 19:49:26.836822"], ["updated_at", "2017-04-08 19:49:26.836822"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:49:26.836822"], ["item_id", 1], ["item_type", "Bank"]]  (0.7ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:49:26.862798"], ["updated_at", "2017-04-08 19:49:26.862798"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:49:26.862798"], ["item_id", 2], ["item_type", "Bank"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:49:26.866380"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \nuser_id: \ncreated_at: &1 2017-04-08 19:49:26.862798000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:49:26.866380"], ["item_id", 2], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:49:26.876643"], ["updated_at", "2017-04-08 19:49:26.876643"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:49:26.876643"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:49:26.879410"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:49:26.876643000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:49:26.879410"], ["item_id", 3], ["item_type", "Bank"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:49:26.882271"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\nuser_id: \ncreated_at: 2017-04-08 19:49:26.876643000 Z\nupdated_at: 2017-04-08 19:49:26.879410000 Z\n"], ["created_at", "2017-04-08 19:49:26.882271"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2017-04-08 19:49:26.885552"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \nuser_id: \ncreated_at: 2017-04-08 19:49:26.876643000 Z\nupdated_at: 2017-04-08 19:49:26.882271000 Z\n"], ["created_at", "2017-04-08 19:49:26.885552"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:49:26.892313"], ["updated_at", "2017-04-08 19:49:26.892313"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:49:26.892313"], ["item_id", 4], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:49:26.898946"], ["updated_at", "2017-04-08 19:49:26.898946"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:49:26.898946"], ["item_id", 1], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2017-04-08 19:49:26.904478"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:49:26.892313000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:49:26.904478"], ["item_id", 4], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:49:26.907773"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: 1\ncreated_at: 2017-04-08 19:49:26.892313000 Z\nupdated_at: 2017-04-08 19:49:26.904478000 Z\n"], ["created_at", "2017-04-08 19:49:26.907773"], ["item_id", 4], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 11) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:49:26.914388"], ["updated_at", "2017-04-08 19:49:26.914388"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:49:26.914388"], ["item_id", 2], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:49:26.917627"], ["updated_at", "2017-04-08 19:49:26.917627"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:49:26.917627"], ["item_id", 3], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:49:26.920511"], ["updated_at", "2017-04-08 19:49:26.920511"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:49:26.920511"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2017-04-08 19:49:26.923181"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:49:26.920511000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:49:26.923181"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2017-04-08 19:49:26.926060"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 2\ncreated_at: 2017-04-08 19:49:26.920511000 Z\nupdated_at: 2017-04-08 19:49:26.923181000 Z\n"], ["created_at", "2017-04-08 19:49:26.926060"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2017-04-08 19:49:26.928937"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 3\ncreated_at: 2017-04-08 19:49:26.920511000 Z\nupdated_at: 2017-04-08 19:49:26.926060000 Z\n"], ["created_at", "2017-04-08 19:49:26.928937"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 15) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:49:26.938256"], ["updated_at", "2017-04-08 19:49:26.938256"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2017-04-08 19:49:26.938256"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:49:26.941480"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:49:26.938256000 Z\nupdated_at: *1\n"], ["whodunnit", "user2"], ["created_at", "2017-04-08 19:49:26.941480"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:49:26.944404"], ["updated_at", "2017-04-08 19:49:26.944404"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:49:26.944404"], ["item_id", 4], ["item_type", "User"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2017-04-08 19:49:26.947014"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: \ncreated_at: 2017-04-08 19:49:26.938256000 Z\nupdated_at: 2017-04-08 19:49:26.941480000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:49:26.947014"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:49:26.949761"], ["updated_at", "2017-04-08 19:49:26.949761"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:49:26.949761"], ["item_id", 5], ["item_type", "User"]]  (0.4ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2017-04-08 19:49:26.952427"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 4\ncreated_at: 2017-04-08 19:49:26.938256000 Z\nupdated_at: 2017-04-08 19:49:26.947014000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:49:26.952427"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2017-04-08 19:49:26.955317"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 5\ncreated_at: 2017-04-08 19:49:26.938256000 Z\nupdated_at: 2017-04-08 19:49:26.952427000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:49:26.955317"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:49:26.958053"], ["updated_at", "2017-04-08 19:49:26.958053"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:49:26.958053"], ["item_id", 6], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2017-04-08 19:49:26.960690"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 5\ncreated_at: 2017-04-08 19:49:26.938256000 Z\nupdated_at: 2017-04-08 19:49:26.955317000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:49:26.960690"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:49:26.963728"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 6\ncreated_at: 2017-04-08 19:49:26.938256000 Z\nupdated_at: 2017-04-08 19:49:26.960690000 Z\n"], ["whodunnit", "user1"], ["created_at", "2017-04-08 19:49:26.963728"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 23) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 24) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 26) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 27) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2017-04-08 19:49:26.974919"], ["updated_at", "2017-04-08 19:49:26.974919"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:49:26.974919"], ["item_id", 7], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", 2], ["updated_at", "2017-04-08 19:49:26.977773"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 0\ncreated_at: &1 2017-04-08 19:49:26.974919000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:49:26.977773"], ["item_id", 7], ["item_type", "User"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", nil], ["updated_at", "2017-04-08 19:49:26.980982"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 2\ncreated_at: 2017-04-08 19:49:26.974919000 Z\nupdated_at: 2017-04-08 19:49:26.977773000 Z\n"], ["created_at", "2017-04-08 19:49:26.980982"], ["item_id", 7], ["item_type", "User"]]  (0.3ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 29) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 30) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2017-04-08 19:49:26.987122"], ["updated_at", "2017-04-08 19:49:26.987122"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:49:26.987122"], ["item_id", 8], ["item_type", "User"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 8], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 8], ["item_type", "User"]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.2ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.4ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2017-04-08 19:49:35.338600"], ["updated_at", "2017-04-08 19:49:35.338600"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:49:35.338600"], ["item_id", 1], ["item_type", "Bank"]]  (2.6ms) commit transaction Bank Load (0.2ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:49:35.361019"], ["updated_at", "2017-04-08 19:49:35.361019"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:49:35.361019"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:49:35.364466"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \nuser_id: \ncreated_at: &1 2017-04-08 19:49:35.361019000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:49:35.364466"], ["item_id", 2], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:49:35.373826"], ["updated_at", "2017-04-08 19:49:35.373826"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:49:35.373826"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:49:35.376853"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:49:35.373826000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:49:35.376853"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:49:35.380219"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\nuser_id: \ncreated_at: 2017-04-08 19:49:35.373826000 Z\nupdated_at: 2017-04-08 19:49:35.376853000 Z\n"], ["created_at", "2017-04-08 19:49:35.380219"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2017-04-08 19:49:35.383392"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \nuser_id: \ncreated_at: 2017-04-08 19:49:35.373826000 Z\nupdated_at: 2017-04-08 19:49:35.380219000 Z\n"], ["created_at", "2017-04-08 19:49:35.383392"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:49:35.389912"], ["updated_at", "2017-04-08 19:49:35.389912"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:49:35.389912"], ["item_id", 4], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:49:35.397047"], ["updated_at", "2017-04-08 19:49:35.397047"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:49:35.397047"], ["item_id", 1], ["item_type", "User"]]  (0.4ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2017-04-08 19:49:35.403214"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:49:35.389912000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:49:35.403214"], ["item_id", 4], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:49:35.406752"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: 1\ncreated_at: 2017-04-08 19:49:35.389912000 Z\nupdated_at: 2017-04-08 19:49:35.403214000 Z\n"], ["created_at", "2017-04-08 19:49:35.406752"], ["item_id", 4], ["item_type", "Bank"]]  (0.3ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 11) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:49:35.412822"], ["updated_at", "2017-04-08 19:49:35.412822"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:49:35.412822"], ["item_id", 2], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:49:35.415810"], ["updated_at", "2017-04-08 19:49:35.415810"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:49:35.415810"], ["item_id", 3], ["item_type", "User"]]  (0.3ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:49:35.418619"], ["updated_at", "2017-04-08 19:49:35.418619"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:49:35.418619"], ["item_id", 5], ["item_type", "Bank"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2017-04-08 19:49:35.421526"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:49:35.418619000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:49:35.421526"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2017-04-08 19:49:35.424785"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 2\ncreated_at: 2017-04-08 19:49:35.418619000 Z\nupdated_at: 2017-04-08 19:49:35.421526000 Z\n"], ["created_at", "2017-04-08 19:49:35.424785"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2017-04-08 19:49:35.427773"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 3\ncreated_at: 2017-04-08 19:49:35.418619000 Z\nupdated_at: 2017-04-08 19:49:35.424785000 Z\n"], ["created_at", "2017-04-08 19:49:35.427773"], ["item_id", 5], ["item_type", "Bank"]]  (0.3ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 15) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 19:49:35.436166"], ["updated_at", "2017-04-08 19:49:35.436166"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2017-04-08 19:49:35.436166"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 19:49:35.439308"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 19:49:35.436166000 Z\nupdated_at: *1\n"], ["whodunnit", "user2"], ["created_at", "2017-04-08 19:49:35.439308"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:49:35.442973"], ["updated_at", "2017-04-08 19:49:35.442973"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:49:35.442973"], ["item_id", 4], ["item_type", "User"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2017-04-08 19:49:35.447274"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: \ncreated_at: 2017-04-08 19:49:35.436166000 Z\nupdated_at: 2017-04-08 19:49:35.439308000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:49:35.447274"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:49:35.451250"], ["updated_at", "2017-04-08 19:49:35.451250"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:49:35.451250"], ["item_id", 5], ["item_type", "User"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2017-04-08 19:49:35.455114"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 4\ncreated_at: 2017-04-08 19:49:35.436166000 Z\nupdated_at: 2017-04-08 19:49:35.447274000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:49:35.455114"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2017-04-08 19:49:35.459221"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 5\ncreated_at: 2017-04-08 19:49:35.436166000 Z\nupdated_at: 2017-04-08 19:49:35.455114000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:49:35.459221"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 19:49:35.462547"], ["updated_at", "2017-04-08 19:49:35.462547"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:49:35.462547"], ["item_id", 6], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (4.9ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2017-04-08 19:49:35.465588"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 5\ncreated_at: 2017-04-08 19:49:35.436166000 Z\nupdated_at: 2017-04-08 19:49:35.459221000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 19:49:35.465588"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 19:49:35.474526"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 6\ncreated_at: 2017-04-08 19:49:35.436166000 Z\nupdated_at: 2017-04-08 19:49:35.465588000 Z\n"], ["whodunnit", "user1"], ["created_at", "2017-04-08 19:49:35.474526"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 23) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 24) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 26) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 27) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2017-04-08 19:49:35.484892"], ["updated_at", "2017-04-08 19:49:35.484892"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:49:35.484892"], ["item_id", 7], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", 2], ["updated_at", "2017-04-08 19:49:35.488003"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 0\ncreated_at: &1 2017-04-08 19:49:35.484892000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 19:49:35.488003"], ["item_id", 7], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", nil], ["updated_at", "2017-04-08 19:49:35.491195"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 2\ncreated_at: 2017-04-08 19:49:35.484892000 Z\nupdated_at: 2017-04-08 19:49:35.488003000 Z\n"], ["created_at", "2017-04-08 19:49:35.491195"], ["item_id", 7], ["item_type", "User"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 29) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 30) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2017-04-08 19:49:35.497549"], ["updated_at", "2017-04-08 19:49:35.497549"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 19:49:35.497549"], ["item_id", 8], ["item_type", "User"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 8], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 8], ["item_type", "User"]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.6ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2017-04-08 20:21:31.007190"], ["updated_at", "2017-04-08 20:21:31.007190"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 20:21:31.007190"], ["item_id", 1], ["item_type", "Bank"]]  (2.7ms) commit transaction Bank Load (0.3ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 20:21:31.027994"], ["updated_at", "2017-04-08 20:21:31.027994"]] SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 20:21:31.027994"], ["item_id", 2], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 20:21:31.032241"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \nuser_id: \ncreated_at: &1 2017-04-08 20:21:31.027994000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 20:21:31.032241"], ["item_id", 2], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 20:21:31.039495"], ["updated_at", "2017-04-08 20:21:31.039495"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 20:21:31.039495"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 20:21:31.042832"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 20:21:31.039495000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 20:21:31.042832"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 20:21:31.046116"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\nuser_id: \ncreated_at: 2017-04-08 20:21:31.039495000 Z\nupdated_at: 2017-04-08 20:21:31.042832000 Z\n"], ["created_at", "2017-04-08 20:21:31.046116"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2017-04-08 20:21:31.049284"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \nuser_id: \ncreated_at: 2017-04-08 20:21:31.039495000 Z\nupdated_at: 2017-04-08 20:21:31.046116000 Z\n"], ["created_at", "2017-04-08 20:21:31.049284"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 20:21:31.052992"], ["updated_at", "2017-04-08 20:21:31.052992"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 20:21:31.052992"], ["item_id", 4], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 20:21:31.060594"], ["updated_at", "2017-04-08 20:21:31.060594"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 20:21:31.060594"], ["item_id", 1], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2017-04-08 20:21:31.066029"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 20:21:31.052992000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 20:21:31.066029"], ["item_id", 4], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 20:21:31.069390"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: 1\ncreated_at: 2017-04-08 20:21:31.052992000 Z\nupdated_at: 2017-04-08 20:21:31.066029000 Z\n"], ["created_at", "2017-04-08 20:21:31.069390"], ["item_id", 4], ["item_type", "Bank"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 20:21:31.072695"], ["updated_at", "2017-04-08 20:21:31.072695"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 20:21:31.072695"], ["item_id", 2], ["item_type", "User"]]  (0.4ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 20:21:31.075283"], ["updated_at", "2017-04-08 20:21:31.075283"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 20:21:31.075283"], ["item_id", 3], ["item_type", "User"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 20:21:31.077694"], ["updated_at", "2017-04-08 20:21:31.077694"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 20:21:31.077694"], ["item_id", 5], ["item_type", "Bank"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2017-04-08 20:21:31.080386"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 20:21:31.077694000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 20:21:31.080386"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2017-04-08 20:21:31.084542"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 2\ncreated_at: 2017-04-08 20:21:31.077694000 Z\nupdated_at: 2017-04-08 20:21:31.080386000 Z\n"], ["created_at", "2017-04-08 20:21:31.084542"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2017-04-08 20:21:31.088264"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 3\ncreated_at: 2017-04-08 20:21:31.077694000 Z\nupdated_at: 2017-04-08 20:21:31.084542000 Z\n"], ["created_at", "2017-04-08 20:21:31.088264"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 15) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 20:21:31.101084"], ["updated_at", "2017-04-08 20:21:31.101084"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2017-04-08 20:21:31.101084"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 20:21:31.103967"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 20:21:31.101084000 Z\nupdated_at: *1\n"], ["whodunnit", "user2"], ["created_at", "2017-04-08 20:21:31.103967"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 20:21:31.107061"], ["updated_at", "2017-04-08 20:21:31.107061"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 20:21:31.107061"], ["item_id", 4], ["item_type", "User"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2017-04-08 20:21:31.110091"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: \ncreated_at: 2017-04-08 20:21:31.101084000 Z\nupdated_at: 2017-04-08 20:21:31.103967000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 20:21:31.110091"], ["item_id", 6], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 20:21:31.112897"], ["updated_at", "2017-04-08 20:21:31.112897"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 20:21:31.112897"], ["item_id", 5], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2017-04-08 20:21:31.115606"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 4\ncreated_at: 2017-04-08 20:21:31.101084000 Z\nupdated_at: 2017-04-08 20:21:31.110091000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 20:21:31.115606"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2017-04-08 20:21:31.119045"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 5\ncreated_at: 2017-04-08 20:21:31.101084000 Z\nupdated_at: 2017-04-08 20:21:31.115606000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 20:21:31.119045"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 20:21:31.122929"], ["updated_at", "2017-04-08 20:21:31.122929"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 20:21:31.122929"], ["item_id", 6], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2017-04-08 20:21:31.126167"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 5\ncreated_at: 2017-04-08 20:21:31.101084000 Z\nupdated_at: 2017-04-08 20:21:31.119045000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 20:21:31.126167"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 20:21:31.129357"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 6\ncreated_at: 2017-04-08 20:21:31.101084000 Z\nupdated_at: 2017-04-08 20:21:31.126167000 Z\n"], ["whodunnit", "user1"], ["created_at", "2017-04-08 20:21:31.129357"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2017-04-08 20:21:31.132709"], ["updated_at", "2017-04-08 20:21:31.132709"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 20:21:31.132709"], ["item_id", 7], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", 2], ["updated_at", "2017-04-08 20:21:31.135639"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 0\ncreated_at: &1 2017-04-08 20:21:31.132709000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 20:21:31.135639"], ["item_id", 7], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", nil], ["updated_at", "2017-04-08 20:21:31.138670"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 2\ncreated_at: 2017-04-08 20:21:31.132709000 Z\nupdated_at: 2017-04-08 20:21:31.135639000 Z\n"], ["created_at", "2017-04-08 20:21:31.138670"], ["item_id", 7], ["item_type", "User"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 29) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 30) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2017-04-08 20:21:31.150406"], ["updated_at", "2017-04-08 20:21:31.150406"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 20:21:31.150406"], ["item_id", 8], ["item_type", "User"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 8], ["item_type", "User"]] PaperTrail::Version Load (0.0ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 8], ["item_type", "User"]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.8ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.9ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2017-04-08 20:21:54.517638"], ["updated_at", "2017-04-08 20:21:54.517638"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 20:21:54.517638"], ["item_id", 1], ["item_type", "Bank"]]  (2.5ms) commit transaction Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1 PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]] Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 20:21:54.538838"], ["updated_at", "2017-04-08 20:21:54.538838"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 20:21:54.538838"], ["item_id", 2], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 20:21:54.541873"], ["id", 2]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \nuser_id: \ncreated_at: &1 2017-04-08 20:21:54.538838000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 20:21:54.541873"], ["item_id", 2], ["item_type", "Bank"]]  (0.6ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 20:21:54.550456"], ["updated_at", "2017-04-08 20:21:54.550456"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 20:21:54.550456"], ["item_id", 3], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 20:21:54.553217"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 20:21:54.550456000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 20:21:54.553217"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 20:21:54.555945"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\nuser_id: \ncreated_at: 2017-04-08 20:21:54.550456000 Z\nupdated_at: 2017-04-08 20:21:54.553217000 Z\n"], ["created_at", "2017-04-08 20:21:54.555945"], ["item_id", 3], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2017-04-08 20:21:54.558668"], ["id", 3]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \nuser_id: \ncreated_at: 2017-04-08 20:21:54.550456000 Z\nupdated_at: 2017-04-08 20:21:54.555945000 Z\n"], ["created_at", "2017-04-08 20:21:54.558668"], ["item_id", 3], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 20:21:54.566067"], ["updated_at", "2017-04-08 20:21:54.566067"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 20:21:54.566067"], ["item_id", 4], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 20:21:54.572760"], ["updated_at", "2017-04-08 20:21:54.572760"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 20:21:54.572760"], ["item_id", 1], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2017-04-08 20:21:54.577817"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 20:21:54.566067000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 20:21:54.577817"], ["item_id", 4], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 20:21:54.581561"], ["id", 4]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: 1\ncreated_at: 2017-04-08 20:21:54.566067000 Z\nupdated_at: 2017-04-08 20:21:54.577817000 Z\n"], ["created_at", "2017-04-08 20:21:54.581561"], ["item_id", 4], ["item_type", "Bank"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 11) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 20:21:54.588287"], ["updated_at", "2017-04-08 20:21:54.588287"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 20:21:54.588287"], ["item_id", 2], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 20:21:54.591432"], ["updated_at", "2017-04-08 20:21:54.591432"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 20:21:54.591432"], ["item_id", 3], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 20:21:54.594109"], ["updated_at", "2017-04-08 20:21:54.594109"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 20:21:54.594109"], ["item_id", 5], ["item_type", "Bank"]]  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2017-04-08 20:21:54.596802"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 20:21:54.594109000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 20:21:54.596802"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2017-04-08 20:21:54.599789"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 2\ncreated_at: 2017-04-08 20:21:54.594109000 Z\nupdated_at: 2017-04-08 20:21:54.596802000 Z\n"], ["created_at", "2017-04-08 20:21:54.599789"], ["item_id", 5], ["item_type", "Bank"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2017-04-08 20:21:54.602771"], ["id", 5]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 3\ncreated_at: 2017-04-08 20:21:54.594109000 Z\nupdated_at: 2017-04-08 20:21:54.599789000 Z\n"], ["created_at", "2017-04-08 20:21:54.602771"], ["item_id", 5], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 15) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2017-04-08 20:21:54.611708"], ["updated_at", "2017-04-08 20:21:54.611708"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2017-04-08 20:21:54.611708"], ["item_id", 6], ["item_type", "Bank"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2017-04-08 20:21:54.615073"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\nuser_id: \ncreated_at: &1 2017-04-08 20:21:54.611708000 Z\nupdated_at: *1\n"], ["whodunnit", "user2"], ["created_at", "2017-04-08 20:21:54.615073"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 20:21:54.618247"], ["updated_at", "2017-04-08 20:21:54.618247"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 20:21:54.618247"], ["item_id", 4], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2017-04-08 20:21:54.620936"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: \ncreated_at: 2017-04-08 20:21:54.611708000 Z\nupdated_at: 2017-04-08 20:21:54.615073000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 20:21:54.620936"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 20:21:54.623702"], ["updated_at", "2017-04-08 20:21:54.623702"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 20:21:54.623702"], ["item_id", 5], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2017-04-08 20:21:54.626369"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 4\ncreated_at: 2017-04-08 20:21:54.611708000 Z\nupdated_at: 2017-04-08 20:21:54.620936000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 20:21:54.626369"], ["item_id", 6], ["item_type", "Bank"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2017-04-08 20:21:54.629569"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 5\ncreated_at: 2017-04-08 20:21:54.611708000 Z\nupdated_at: 2017-04-08 20:21:54.626369000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 20:21:54.629569"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-04-08 20:21:54.632759"], ["updated_at", "2017-04-08 20:21:54.632759"]] SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2017-04-08 20:21:54.632759"], ["item_id", 6], ["item_type", "User"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2017-04-08 20:21:54.635813"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 5\ncreated_at: 2017-04-08 20:21:54.611708000 Z\nupdated_at: 2017-04-08 20:21:54.629569000 Z\n"], ["whodunnit", "user3"], ["created_at", "2017-04-08 20:21:54.635813"], ["item_id", 6], ["item_type", "Bank"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2017-04-08 20:21:54.644163"], ["id", 6]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 6\ncreated_at: 2017-04-08 20:21:54.611708000 Z\nupdated_at: 2017-04-08 20:21:54.635813000 Z\n"], ["whodunnit", "user1"], ["created_at", "2017-04-08 20:21:54.644163"], ["item_id", 6], ["item_type", "Bank"]]  (0.5ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 23) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 24) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 26) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 27) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2017-04-08 20:21:54.655248"], ["updated_at", "2017-04-08 20:21:54.655248"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 20:21:54.655248"], ["item_id", 7], ["item_type", "User"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", 2], ["updated_at", "2017-04-08 20:21:54.658492"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 0\ncreated_at: &1 2017-04-08 20:21:54.655248000 Z\nupdated_at: *1\n"], ["created_at", "2017-04-08 20:21:54.658492"], ["item_id", 7], ["item_type", "User"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", nil], ["updated_at", "2017-04-08 20:21:54.662548"], ["id", 7]] SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 2\ncreated_at: 2017-04-08 20:21:54.655248000 Z\nupdated_at: 2017-04-08 20:21:54.658492000 Z\n"], ["created_at", "2017-04-08 20:21:54.662548"], ["item_id", 7], ["item_type", "User"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 7], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 29) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 30) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2017-04-08 20:21:54.669870"], ["updated_at", "2017-04-08 20:21:54.669870"]] SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2017-04-08 20:21:54.669870"], ["item_id", 8], ["item_type", "User"]]  (0.4ms) commit transaction PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 8], ["item_type", "User"]] PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 8], ["item_type", "User"]]