(0.1ms) begin transaction Cmor::Galleries::PictureGallery Exists (0.4ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" IS NULL LIMIT ? [["LIMIT", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Cmor::Galleries::PictureGallery Load (0.5ms) SELECT "cmor_galleries_picture_galleries".* FROM "cmor_galleries_picture_galleries" ORDER BY "cmor_galleries_picture_galleries"."id" ASC LIMIT ? [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 Cmor::Galleries::PictureGallery Create (0.8ms) INSERT INTO "cmor_galleries_picture_galleries" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2019-04-12 00:26:23.464113"], ["updated_at", "2019-04-12 00:26:23.464113"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Cmor::Galleries::PictureGallery Update (0.6ms) UPDATE "cmor_galleries_picture_galleries" SET "name" = ?, "updated_at" = ? WHERE "cmor_galleries_picture_galleries"."id" = ? [["name", "dummy value"], ["updated_at", "2019-04-12 00:26:23.469974"], ["id", 1]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Cmor::Galleries::PictureGallery Exists (0.5ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" = ? LIMIT ? [["name", "dummy value"], ["LIMIT", 1]] Cmor::Galleries::PictureGallery Exists (0.0ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" = ? LIMIT ? [["name", "DUMMY VALUE"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.3ms) rollback transaction  (0.3ms) begin transaction Cmor::Galleries::PictureGallery Exists (0.3ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" = ? LIMIT ? [["name", "Picture Gallery #1"], ["LIMIT", 1]]  (0.2ms) rollback transaction  (0.3ms) begin transaction Cmor::Galleries::PictureGallery Exists (0.4ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" IS NULL LIMIT ? [["LIMIT", 1]]  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Cmor::Galleries::PictureGallery Exists (0.3ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" = ? LIMIT ? [["name", "Picture Gallery #2"], ["LIMIT", 1]] Cmor::Galleries::PictureGallery Create (0.3ms) INSERT INTO "cmor_galleries_picture_galleries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Picture Gallery #2"], ["created_at", "2019-04-12 00:26:23.609316"], ["updated_at", "2019-04-12 00:26:23.609316"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.5ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) rollback transaction  (0.3ms) begin transaction  Disk Storage (1.2ms) Uploaded file to key: SwdJNVpNuHVGDH4KKv9nUibF (checksum: PQckBuk+cVT3lBy73cnuAQ==)  (0.1ms) SAVEPOINT active_record_1 ActiveStorage::Blob Create (0.3ms) INSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["key", "SwdJNVpNuHVGDH4KKv9nUibF"], ["filename", "example.png"], ["content_type", "image/png"], ["metadata", "{\"identified\":true}"], ["byte_size", 9691], ["checksum", "PQckBuk+cVT3lBy73cnuAQ=="], ["created_at", "2019-04-12 00:26:23.925207"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  Disk Storage (1.5ms) Uploaded file to key: gu5LAekzHG27oxkhzW5DaCyS (checksum: PQckBuk+cVT3lBy73cnuAQ==)  (0.2ms) SAVEPOINT active_record_1 ActiveStorage::Blob Create (1.6ms) INSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["key", "gu5LAekzHG27oxkhzW5DaCyS"], ["filename", "example.png"], ["content_type", "image/png"], ["metadata", "{\"identified\":true}"], ["byte_size", 9691], ["checksum", "PQckBuk+cVT3lBy73cnuAQ=="], ["created_at", "2019-04-12 00:26:24.004895"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Cmor::Galleries::PictureGallery Exists (0.2ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" = ? LIMIT ? [["name", "Picture Gallery #4"], ["LIMIT", 1]] Cmor::Galleries::PictureGallery Create (0.4ms) INSERT INTO "cmor_galleries_picture_galleries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Picture Gallery #4"], ["created_at", "2019-04-12 00:26:24.058914"], ["updated_at", "2019-04-12 00:26:24.058914"]] ActiveStorage::Attachment Create (0.3ms) INSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?) [["name", "assets"], ["record_type", "Cmor::Galleries::PictureGallery"], ["record_id", 1], ["blob_id", 1], ["created_at", "2019-04-12 00:26:24.061122"]] Cmor::Galleries::PictureDetail Load (0.3ms) SELECT "cmor_galleries_picture_details".* FROM "cmor_galleries_picture_details" WHERE "cmor_galleries_picture_details"."picture_gallery_id" = ? AND ("cmor_galleries_picture_details"."position" IS NOT NULL) ORDER BY "cmor_galleries_picture_details"."position" DESC LIMIT ? [["picture_gallery_id", 1], ["LIMIT", 1]] Cmor::Galleries::PictureDetail Create (0.3ms) INSERT INTO "cmor_galleries_picture_details" ("picture_gallery_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["picture_gallery_id", 1], ["asset_id", 1], ["position", 1], ["created_at", "2019-04-12 00:26:24.063046"], ["updated_at", "2019-04-12 00:26:24.063046"]] Cmor::Galleries::PictureDetail Load (0.1ms) SELECT "cmor_galleries_picture_details".* FROM "cmor_galleries_picture_details" WHERE "cmor_galleries_picture_details"."picture_gallery_id" = ? AND ("cmor_galleries_picture_details"."position" IS NOT NULL) ORDER BY "cmor_galleries_picture_details"."position" DESC LIMIT ? [["picture_gallery_id", 1], ["LIMIT", 1]] Cmor::Galleries::PictureDetail Create (0.2ms) INSERT INTO "cmor_galleries_picture_details" ("picture_gallery_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["picture_gallery_id", 1], ["asset_id", 1], ["position", 2], ["created_at", "2019-04-12 00:26:24.066470"], ["updated_at", "2019-04-12 00:26:24.066470"]] Cmor::Galleries::PictureGallery Update (0.3ms) UPDATE "cmor_galleries_picture_galleries" SET "updated_at" = ? WHERE "cmor_galleries_picture_galleries"."id" = ? [["updated_at", "2019-04-12 00:26:24.062471"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: a0d443db-9b9f-491b-b81a-520a2bfebbd8) to Async(default) with arguments: #> ActiveStorage::Blob Load (3.3ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (2.6ms) rollback transaction [ActiveJob] [ActiveStorage::AnalyzeJob] [a0d443db-9b9f-491b-b81a-520a2bfebbd8] Performing ActiveStorage::AnalyzeJob (Job ID: a0d443db-9b9f-491b-b81a-520a2bfebbd8) from Async(default) with arguments: #>  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.9ms) begin transaction  (0.2ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.9ms) rollback transaction [ActiveJob] [ActiveStorage::AnalyzeJob] [a0d443db-9b9f-491b-b81a-520a2bfebbd8]  Disk Storage (0.7ms) Downloaded file from key: gu5LAekzHG27oxkhzW5DaCyS  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction [ActiveJob] [ActiveStorage::AnalyzeJob] [a0d443db-9b9f-491b-b81a-520a2bfebbd8] Skipping image analysis because the mini_magick gem isn't installed  (0.2ms) rollback transaction [ActiveJob] [ActiveStorage::AnalyzeJob] [a0d443db-9b9f-491b-b81a-520a2bfebbd8]  (0.1ms) begin transaction [ActiveJob] [ActiveStorage::AnalyzeJob] [a0d443db-9b9f-491b-b81a-520a2bfebbd8]  (0.1ms) begin transaction [ActiveJob] [ActiveStorage::AnalyzeJob] [a0d443db-9b9f-491b-b81a-520a2bfebbd8] ActiveStorage::Blob Update (6.1ms) UPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ? [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 1]] [ActiveJob] [ActiveStorage::AnalyzeJob] [a0d443db-9b9f-491b-b81a-520a2bfebbd8]  (0.3ms) commit transaction [ActiveJob] [ActiveStorage::AnalyzeJob] [a0d443db-9b9f-491b-b81a-520a2bfebbd8]  (0.2ms) commit transaction [ActiveJob] [ActiveStorage::AnalyzeJob] [a0d443db-9b9f-491b-b81a-520a2bfebbd8] Performed ActiveStorage::AnalyzeJob (Job ID: a0d443db-9b9f-491b-b81a-520a2bfebbd8) from Async(default) in 121.73ms  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.4ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (1.1ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.6ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.4ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction Cmor::Galleries::PictureGallery Exists (0.4ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" IS NULL LIMIT ? [["LIMIT", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Cmor::Galleries::PictureGallery Load (0.5ms) SELECT "cmor_galleries_picture_galleries".* FROM "cmor_galleries_picture_galleries" ORDER BY "cmor_galleries_picture_galleries"."id" ASC LIMIT ? [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Cmor::Galleries::PictureGallery Create (0.5ms) INSERT INTO "cmor_galleries_picture_galleries" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2019-04-15 22:13:56.529609"], ["updated_at", "2019-04-15 22:13:56.529609"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Cmor::Galleries::PictureGallery Update (0.2ms) UPDATE "cmor_galleries_picture_galleries" SET "name" = ?, "updated_at" = ? WHERE "cmor_galleries_picture_galleries"."id" = ? [["name", "dummy value"], ["updated_at", "2019-04-15 22:13:56.533443"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Cmor::Galleries::PictureGallery Exists (0.3ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" = ? LIMIT ? [["name", "dummy value"], ["LIMIT", 1]] Cmor::Galleries::PictureGallery Exists (0.7ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" = ? LIMIT ? [["name", "DUMMY VALUE"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.4ms) begin transaction  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction Cmor::Galleries::PictureGallery Exists (0.4ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" = ? LIMIT ? [["name", "Picture Gallery #1"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.4ms) begin transaction Cmor::Galleries::PictureGallery Exists (2.2ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" IS NULL LIMIT ? [["LIMIT", 1]]  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.6ms) SAVEPOINT active_record_1 Cmor::Galleries::PictureGallery Exists (0.3ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" = ? LIMIT ? [["name", "Picture Gallery #2"], ["LIMIT", 1]] Cmor::Galleries::PictureGallery Create (0.4ms) INSERT INTO "cmor_galleries_picture_galleries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Picture Gallery #2"], ["created_at", "2019-04-15 22:13:56.699217"], ["updated_at", "2019-04-15 22:13:56.699217"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.5ms) begin transaction  (0.6ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  Disk Storage (1.4ms) Uploaded file to key: xdXGEMEz4VmQkJ47oUrb6fQJ (checksum: PQckBuk+cVT3lBy73cnuAQ==)  (0.1ms) SAVEPOINT active_record_1 ActiveStorage::Blob Create (0.4ms) INSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["key", "xdXGEMEz4VmQkJ47oUrb6fQJ"], ["filename", "example.png"], ["content_type", "image/png"], ["metadata", "{\"identified\":true}"], ["byte_size", 9691], ["checksum", "PQckBuk+cVT3lBy73cnuAQ=="], ["created_at", "2019-04-15 22:13:57.028004"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.6ms) rollback transaction  (0.1ms) begin transaction  Disk Storage (1.1ms) Uploaded file to key: kk9WwKcDWLtzs224mZaW5unu (checksum: PQckBuk+cVT3lBy73cnuAQ==)  (0.2ms) SAVEPOINT active_record_1 ActiveStorage::Blob Create (0.6ms) INSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["key", "kk9WwKcDWLtzs224mZaW5unu"], ["filename", "example.png"], ["content_type", "image/png"], ["metadata", "{\"identified\":true}"], ["byte_size", 9691], ["checksum", "PQckBuk+cVT3lBy73cnuAQ=="], ["created_at", "2019-04-15 22:13:57.087194"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (2.7ms) SAVEPOINT active_record_1 Cmor::Galleries::PictureGallery Exists (0.6ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" = ? LIMIT ? [["name", "Picture Gallery #4"], ["LIMIT", 1]] Cmor::Galleries::PictureGallery Create (0.4ms) INSERT INTO "cmor_galleries_picture_galleries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Picture Gallery #4"], ["created_at", "2019-04-15 22:13:57.102705"], ["updated_at", "2019-04-15 22:13:57.102705"]] ActiveStorage::Attachment Create (0.5ms) INSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?) [["name", "assets"], ["record_type", "Cmor::Galleries::PictureGallery"], ["record_id", 1], ["blob_id", 1], ["created_at", "2019-04-15 22:13:57.105226"]] Cmor::Galleries::PictureDetail Load (0.5ms) SELECT "cmor_galleries_picture_details".* FROM "cmor_galleries_picture_details" WHERE "cmor_galleries_picture_details"."picture_gallery_id" = ? AND ("cmor_galleries_picture_details"."position" IS NOT NULL) ORDER BY "cmor_galleries_picture_details"."position" DESC LIMIT ? [["picture_gallery_id", 1], ["LIMIT", 1]] Cmor::Galleries::PictureDetail Create (0.3ms) INSERT INTO "cmor_galleries_picture_details" ("picture_gallery_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["picture_gallery_id", 1], ["asset_id", 1], ["position", 1], ["created_at", "2019-04-15 22:13:57.108387"], ["updated_at", "2019-04-15 22:13:57.108387"]] Cmor::Galleries::PictureDetail Load (0.4ms) SELECT "cmor_galleries_picture_details".* FROM "cmor_galleries_picture_details" WHERE "cmor_galleries_picture_details"."picture_gallery_id" = ? AND ("cmor_galleries_picture_details"."position" IS NOT NULL) ORDER BY "cmor_galleries_picture_details"."position" DESC LIMIT ? [["picture_gallery_id", 1], ["LIMIT", 1]] Cmor::Galleries::PictureDetail Create (0.6ms) INSERT INTO "cmor_galleries_picture_details" ("picture_gallery_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["picture_gallery_id", 1], ["asset_id", 1], ["position", 2], ["created_at", "2019-04-15 22:13:57.113409"], ["updated_at", "2019-04-15 22:13:57.113409"]] Cmor::Galleries::PictureGallery Update (0.8ms) UPDATE "cmor_galleries_picture_galleries" SET "updated_at" = ? WHERE "cmor_galleries_picture_galleries"."id" = ? [["updated_at", "2019-04-15 22:13:57.107771"], ["id", 1]]  (0.5ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: 6e1c62a1-8b1b-454f-9aa6-f14ba72b139c) to Async(default) with arguments: #>  (0.7ms) rollback transaction ActiveStorage::Blob Load (20.5ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.4ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) rollback transaction  (0.4ms) begin transaction  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.4ms) rollback transaction  (1.3ms) begin transaction  (0.2ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.2ms) rollback transaction  (0.3ms) begin transaction  (0.3ms) rollback transaction  (0.4ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (6.8ms) rollback transaction  (0.7ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (9.8ms) rollback transaction  (0.8ms) begin transaction  (0.0ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) rollback transaction  (0.5ms) begin transaction  (0.4ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.4ms) begin transaction  (0.6ms) rollback transaction  (0.8ms) begin transaction  (0.4ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.4ms) begin transaction  (0.3ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) rollback transaction  (0.6ms) begin transaction  (0.3ms) rollback transaction  (0.1ms) begin transaction Cmor::Galleries::PictureGallery Exists (0.1ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" IS NULL LIMIT ? [["LIMIT", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Cmor::Galleries::PictureGallery Load (0.2ms) SELECT "cmor_galleries_picture_galleries".* FROM "cmor_galleries_picture_galleries" ORDER BY "cmor_galleries_picture_galleries"."id" ASC LIMIT ? [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Cmor::Galleries::PictureGallery Create (0.3ms) INSERT INTO "cmor_galleries_picture_galleries" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2019-04-24 20:58:10.744499"], ["updated_at", "2019-04-24 20:58:10.744499"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Cmor::Galleries::PictureGallery Update (0.2ms) UPDATE "cmor_galleries_picture_galleries" SET "name" = ?, "updated_at" = ? WHERE "cmor_galleries_picture_galleries"."id" = ? [["name", "dummy value"], ["updated_at", "2019-04-24 20:58:10.747546"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Cmor::Galleries::PictureGallery Exists (0.3ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" = ? LIMIT ? [["name", "dummy value"], ["LIMIT", 1]] Cmor::Galleries::PictureGallery Exists (0.3ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" = ? LIMIT ? [["name", "DUMMY VALUE"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (5.3ms) rollback transaction  (0.3ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction Cmor::Galleries::PictureGallery Exists (0.2ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" = ? LIMIT ? [["name", "Picture Gallery #1"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.2ms) begin transaction Cmor::Galleries::PictureGallery Exists (0.6ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" IS NULL LIMIT ? [["LIMIT", 1]]  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Cmor::Galleries::PictureGallery Exists (0.3ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" = ? LIMIT ? [["name", "Picture Gallery #2"], ["LIMIT", 1]] Cmor::Galleries::PictureGallery Create (0.8ms) INSERT INTO "cmor_galleries_picture_galleries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Picture Gallery #2"], ["created_at", "2019-04-24 20:58:10.883028"], ["updated_at", "2019-04-24 20:58:10.883028"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.4ms) rollback transaction  (0.2ms) begin transaction  Disk Storage (0.8ms) Uploaded file to key: gfcujDxmEQ4PwewXhzgKrzoX (checksum: PQckBuk+cVT3lBy73cnuAQ==)  (0.1ms) SAVEPOINT active_record_1 ActiveStorage::Blob Create (0.3ms) INSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["key", "gfcujDxmEQ4PwewXhzgKrzoX"], ["filename", "example.png"], ["content_type", "image/png"], ["metadata", "{\"identified\":true}"], ["byte_size", 9691], ["checksum", "PQckBuk+cVT3lBy73cnuAQ=="], ["created_at", "2019-04-24 20:58:11.140314"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (1.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  Disk Storage (4.8ms) Uploaded file to key: 5FZqufP29w1edEEqzRj5zc7v (checksum: PQckBuk+cVT3lBy73cnuAQ==)  (0.4ms) SAVEPOINT active_record_1 ActiveStorage::Blob Create (0.7ms) INSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["key", "5FZqufP29w1edEEqzRj5zc7v"], ["filename", "example.png"], ["content_type", "image/png"], ["metadata", "{\"identified\":true}"], ["byte_size", 9691], ["checksum", "PQckBuk+cVT3lBy73cnuAQ=="], ["created_at", "2019-04-24 20:58:11.223658"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Cmor::Galleries::PictureGallery Exists (0.5ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" = ? LIMIT ? [["name", "Picture Gallery #4"], ["LIMIT", 1]] Cmor::Galleries::PictureGallery Create (1.2ms) INSERT INTO "cmor_galleries_picture_galleries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Picture Gallery #4"], ["created_at", "2019-04-24 20:58:11.246032"], ["updated_at", "2019-04-24 20:58:11.246032"]] ActiveStorage::Attachment Create (0.8ms) INSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?) [["name", "assets"], ["record_type", "Cmor::Galleries::PictureGallery"], ["record_id", 1], ["blob_id", 1], ["created_at", "2019-04-24 20:58:11.249672"]] Cmor::Galleries::PictureDetail Load (1.0ms) SELECT "cmor_galleries_picture_details".* FROM "cmor_galleries_picture_details" WHERE "cmor_galleries_picture_details"."picture_gallery_id" = ? AND ("cmor_galleries_picture_details"."position" IS NOT NULL) ORDER BY "cmor_galleries_picture_details"."position" DESC LIMIT ? [["picture_gallery_id", 1], ["LIMIT", 1]] Cmor::Galleries::PictureDetail Create (2.4ms) INSERT INTO "cmor_galleries_picture_details" ("picture_gallery_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["picture_gallery_id", 1], ["asset_id", 1], ["position", 1], ["created_at", "2019-04-24 20:58:11.254467"], ["updated_at", "2019-04-24 20:58:11.254467"]] Cmor::Galleries::PictureDetail Load (1.6ms) SELECT "cmor_galleries_picture_details".* FROM "cmor_galleries_picture_details" WHERE "cmor_galleries_picture_details"."picture_gallery_id" = ? AND ("cmor_galleries_picture_details"."position" IS NOT NULL) ORDER BY "cmor_galleries_picture_details"."position" DESC LIMIT ? [["picture_gallery_id", 1], ["LIMIT", 1]] Cmor::Galleries::PictureDetail Create (0.3ms) INSERT INTO "cmor_galleries_picture_details" ("picture_gallery_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["picture_gallery_id", 1], ["asset_id", 1], ["position", 2], ["created_at", "2019-04-24 20:58:11.265816"], ["updated_at", "2019-04-24 20:58:11.265816"]] Cmor::Galleries::PictureGallery Update (0.2ms) UPDATE "cmor_galleries_picture_galleries" SET "updated_at" = ? WHERE "cmor_galleries_picture_galleries"."id" = ? [["updated_at", "2019-04-24 20:58:11.252769"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: 83bbf6ff-1123-4434-aef6-654658ab2456) to Async(default) with arguments: #> ActiveStorage::Blob Load (1.6ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.4ms) rollback transaction [ActiveJob] [ActiveStorage::AnalyzeJob] [83bbf6ff-1123-4434-aef6-654658ab2456] Performing ActiveStorage::AnalyzeJob (Job ID: 83bbf6ff-1123-4434-aef6-654658ab2456) from Async(default) with arguments: #>  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction [ActiveJob] [ActiveStorage::AnalyzeJob] [83bbf6ff-1123-4434-aef6-654658ab2456]  Disk Storage (28.7ms) Downloaded file from key: 5FZqufP29w1edEEqzRj5zc7v  (0.1ms) begin transaction [ActiveJob] [ActiveStorage::AnalyzeJob] [83bbf6ff-1123-4434-aef6-654658ab2456] Skipping image analysis because the mini_magick gem isn't installed  (0.7ms) rollback transaction [ActiveJob] [ActiveStorage::AnalyzeJob] [83bbf6ff-1123-4434-aef6-654658ab2456]  (0.2ms) begin transaction [ActiveJob] [ActiveStorage::AnalyzeJob] [83bbf6ff-1123-4434-aef6-654658ab2456]  (0.1ms) begin transaction [ActiveJob] [ActiveStorage::AnalyzeJob] [83bbf6ff-1123-4434-aef6-654658ab2456] ActiveStorage::Blob Update (0.4ms) UPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ? [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 1]] [ActiveJob] [ActiveStorage::AnalyzeJob] [83bbf6ff-1123-4434-aef6-654658ab2456]  (0.2ms) commit transaction [ActiveJob] [ActiveStorage::AnalyzeJob] [83bbf6ff-1123-4434-aef6-654658ab2456]  (0.1ms) commit transaction [ActiveJob] [ActiveStorage::AnalyzeJob] [83bbf6ff-1123-4434-aef6-654658ab2456] Performed ActiveStorage::AnalyzeJob (Job ID: 83bbf6ff-1123-4434-aef6-654658ab2456) from Async(default) in 99.7ms  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.3ms) begin transaction  (0.3ms) rollback transaction  (0.8ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) rollback transaction  (0.4ms) begin transaction  (0.2ms) rollback transaction  (5.8ms) begin transaction  (0.5ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.8ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction