spec/dummy/log/test.log in cmor_blog-0.0.6.pre vs spec/dummy/log/test.log in cmor_blog-0.0.7.pre
- old
+ new
@@ -1,602 +1,1211 @@
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mUser Create (1.0ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "MyString"], ["created_at", "2019-03-31 08:49:29.392606"], ["updated_at", "2019-03-31 08:49:29.392606"]]
- [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mCmor::Blog::Post Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" IS NOT NULL AND "cmor_blog_posts"."slug" = ? LIMIT ?[0m [["slug", "blog-post-1"], ["LIMIT", 1]]
- [1m[36mCmor::Blog::Post Load (0.4ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE (1 = 1) AND ("cmor_blog_posts"."position" IS NOT NULL) ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
- [1m[36mCmor::Blog::Post Create (1.1ms)[0m [1m[32mINSERT INTO "cmor_blog_posts" ("title", "body", "created_by_id", "slug", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["title", "Blog post 1"], ["body", "This is a blog post!"], ["created_by_id", 1], ["slug", "blog-post-1"], ["position", 1], ["created_at", "2019-03-31 08:49:29.846905"], ["updated_at", "2019-03-31 08:49:29.846905"]]
- [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "MyString"], ["created_at", "2019-03-31 08:49:29.863169"], ["updated_at", "2019-03-31 08:49:29.863169"]]
- [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mCmor::Blog::Post Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" IS NOT NULL AND "cmor_blog_posts"."slug" = ? LIMIT ?[0m [["slug", "blog-post-2"], ["LIMIT", 1]]
- [1m[36mCmor::Blog::Post Load (1.0ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE (1 = 1) AND ("cmor_blog_posts"."position" IS NOT NULL) ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
- [1m[36mCmor::Blog::Post Create (0.8ms)[0m [1m[32mINSERT INTO "cmor_blog_posts" ("title", "body", "created_by_id", "slug", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["title", "Blog post 2"], ["body", "This is a blog post!"], ["created_by_id", 2], ["slug", "blog-post-2"], ["position", 2], ["created_at", "2019-03-31 08:49:29.881226"], ["updated_at", "2019-03-31 08:49:29.881226"]]
- [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "MyString"], ["created_at", "2019-03-31 08:49:29.904538"], ["updated_at", "2019-03-31 08:49:29.904538"]]
- [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mCmor::Blog::Post Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" IS NOT NULL AND "cmor_blog_posts"."slug" = ? LIMIT ?[0m [["slug", "blog-post-3"], ["LIMIT", 1]]
- [1m[36mCmor::Blog::Post Load (0.5ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE (1 = 1) AND ("cmor_blog_posts"."position" IS NOT NULL) ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
- [1m[36mCmor::Blog::Post Create (0.4ms)[0m [1m[32mINSERT INTO "cmor_blog_posts" ("title", "body", "created_by_id", "slug", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["title", "Blog post 3"], ["body", "This is a blog post!"], ["created_by_id", 3], ["slug", "blog-post-3"], ["position", 3], ["created_at", "2019-03-31 08:49:29.915221"], ["updated_at", "2019-03-31 08:49:29.915221"]]
- [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
-Started GET "/de/blog/posts" for 127.0.0.1 at 2019-03-31 10:49:29 +0200
+ [1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "MyString"], ["created_at", "2019-04-12 00:12:43.702831"], ["updated_at", "2019-04-12 00:12:43.702831"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCmor::Blog::Post Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" IS NOT NULL AND "cmor_blog_posts"."slug" = ? LIMIT ?[0m [["slug", "blog-post-1"], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::Post Load (0.3ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE (1 = 1) AND ("cmor_blog_posts"."position" IS NOT NULL) ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
+ [1m[36mCmor::Blog::Post Create (0.6ms)[0m [1m[32mINSERT INTO "cmor_blog_posts" ("title", "body", "created_by_id", "slug", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["title", "Blog post 1"], ["body", "This is a blog post!"], ["created_by_id", 1], ["slug", "blog-post-1"], ["position", 1], ["created_at", "2019-04-12 00:12:44.027699"], ["updated_at", "2019-04-12 00:12:44.027699"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.0ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "MyString"], ["created_at", "2019-04-12 00:12:44.034152"], ["updated_at", "2019-04-12 00:12:44.034152"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCmor::Blog::Post Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" IS NOT NULL AND "cmor_blog_posts"."slug" = ? LIMIT ?[0m [["slug", "blog-post-2"], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::Post Load (0.3ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE (1 = 1) AND ("cmor_blog_posts"."position" IS NOT NULL) ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
+ [1m[36mCmor::Blog::Post Create (0.2ms)[0m [1m[32mINSERT INTO "cmor_blog_posts" ("title", "body", "created_by_id", "slug", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["title", "Blog post 2"], ["body", "This is a blog post!"], ["created_by_id", 2], ["slug", "blog-post-2"], ["position", 2], ["created_at", "2019-04-12 00:12:44.039562"], ["updated_at", "2019-04-12 00:12:44.039562"]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "MyString"], ["created_at", "2019-04-12 00:12:44.047490"], ["updated_at", "2019-04-12 00:12:44.047490"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCmor::Blog::Post Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" IS NOT NULL AND "cmor_blog_posts"."slug" = ? LIMIT ?[0m [["slug", "blog-post-3"], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::Post Load (1.1ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE (1 = 1) AND ("cmor_blog_posts"."position" IS NOT NULL) ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
+ [1m[36mCmor::Blog::Post Create (0.3ms)[0m [1m[32mINSERT INTO "cmor_blog_posts" ("title", "body", "created_by_id", "slug", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["title", "Blog post 3"], ["body", "This is a blog post!"], ["created_by_id", 3], ["slug", "blog-post-3"], ["position", 3], ["created_at", "2019-04-12 00:12:44.052660"], ["updated_at", "2019-04-12 00:12:44.052660"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/de/blog/posts" for 127.0.0.1 at 2019-04-12 02:12:44 +0200
Processing by Cmor::Blog::PostsController#index as HTML
Parameters: {"locale"=>"de"}
Rendering /home/vagrant/rails/cmor/cmor/cmor_blog/app/views/cmor/blog/posts/index.html.haml within layouts/application
- [1m[36mCmor::Blog::Post Load (0.9ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."published_at" IS NOT NULL ORDER BY "cmor_blog_posts"."position" DESC LIMIT ? OFFSET ?[0m [["LIMIT", 25], ["OFFSET", 0]]
- Rendered /home/vagrant/rails/cmor/cmor/cmor_blog/app/views/cmor/blog/posts/index.html.haml within layouts/application (44.1ms)
-Completed 200 OK in 969ms (Views: 960.5ms | ActiveRecord: 0.9ms)
- [1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mUser Create (1.2ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "MyString"], ["created_at", "2019-03-31 08:49:30.965162"], ["updated_at", "2019-03-31 08:49:30.965162"]]
- [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mCmor::Blog::Post Exists (1.5ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" IS NOT NULL AND "cmor_blog_posts"."slug" = ? LIMIT ?[0m [["slug", "blog-post-4"], ["LIMIT", 1]]
- [1m[36mCmor::Blog::Post Load (0.5ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE (1 = 1) AND ("cmor_blog_posts"."position" IS NOT NULL) ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
- [1m[36mCmor::Blog::Post Create (0.7ms)[0m [1m[32mINSERT INTO "cmor_blog_posts" ("title", "body", "published_at", "created_by_id", "slug", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["title", "Blog post 4"], ["body", "This is a blog post!"], ["published_at", "2019-03-31 08:44:30.959438"], ["created_by_id", 1], ["slug", "blog-post-4"], ["position", 1], ["created_at", "2019-03-31 08:49:30.987104"], ["updated_at", "2019-03-31 08:49:30.987104"]]
- [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
-Started GET "/de/blog/posts/blog-post-4" for 127.0.0.1 at 2019-03-31 10:49:30 +0200
+ [1m[36mCmor::Blog::Post Load (0.4ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."published_at" IS NOT NULL ORDER BY "cmor_blog_posts"."position" DESC LIMIT ? OFFSET ?[0m [["LIMIT", 25], ["OFFSET", 0]]
+ Rendered /home/vagrant/rails/cmor/cmor/cmor_blog/app/views/cmor/blog/posts/index.html.haml within layouts/application (23.6ms)
+Completed 200 OK in 729ms (Views: 724.4ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "MyString"], ["created_at", "2019-04-12 00:12:44.838143"], ["updated_at", "2019-04-12 00:12:44.838143"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCmor::Blog::Post Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" IS NOT NULL AND "cmor_blog_posts"."slug" = ? LIMIT ?[0m [["slug", "blog-post-4"], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::Post Load (0.3ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE (1 = 1) AND ("cmor_blog_posts"."position" IS NOT NULL) ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
+ [1m[36mCmor::Blog::Post Create (0.4ms)[0m [1m[32mINSERT INTO "cmor_blog_posts" ("title", "body", "published_at", "created_by_id", "slug", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["title", "Blog post 4"], ["body", "This is a blog post!"], ["published_at", "2019-04-12 00:07:44.836176"], ["created_by_id", 1], ["slug", "blog-post-4"], ["position", 1], ["created_at", "2019-04-12 00:12:44.844486"], ["updated_at", "2019-04-12 00:12:44.844486"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/de/blog/posts/blog-post-4" for 127.0.0.1 at 2019-04-12 02:12:44 +0200
Processing by Cmor::Blog::PostsController#show as HTML
Parameters: {"locale"=>"de", "id"=>"blog-post-4"}
- [1m[36mCmor::Blog::Post Load (1.6ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."published_at" IS NOT NULL AND "cmor_blog_posts"."slug" = ? ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["slug", "blog-post-4"], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::Post Load (0.3ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."published_at" IS NOT NULL AND "cmor_blog_posts"."slug" = ? ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["slug", "blog-post-4"], ["LIMIT", 1]]
Rendering /home/vagrant/rails/cmor/cmor/cmor_blog/app/views/cmor/blog/posts/show.html.haml within layouts/application
- [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[36mCmor::Blog::AssetDetail Exists (2.2ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_asset_details" INNER JOIN "active_storage_attachments" ON "active_storage_attachments"."id" = "cmor_blog_asset_details"."asset_id" INNER JOIN "active_storage_blobs" ON "active_storage_blobs"."id" = "active_storage_attachments"."blob_id" WHERE "cmor_blog_asset_details"."post_id" = ? AND (active_storage_blobs.content_type LIKE '%image/%') LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
- [1m[36mCmor::Blog::AssetDetail Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_asset_details" INNER JOIN "active_storage_attachments" ON "active_storage_attachments"."id" = "cmor_blog_asset_details"."asset_id" INNER JOIN "active_storage_blobs" ON "active_storage_blobs"."id" = "active_storage_attachments"."blob_id" WHERE "cmor_blog_asset_details"."post_id" = ? AND (active_storage_blobs.content_type NOT LIKE '%image/%') LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
- Rendered /home/vagrant/rails/cmor/cmor/cmor_blog/app/views/cmor/blog/posts/_post.html.haml (505.1ms)
- Rendered /home/vagrant/rails/cmor/cmor/cmor_blog/app/views/cmor/blog/posts/show.html.haml within layouts/application (517.6ms)
-Completed 200 OK in 547ms (Views: 519.6ms | ActiveRecord: 5.8ms)
+ [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_asset_details" INNER JOIN "active_storage_attachments" ON "active_storage_attachments"."id" = "cmor_blog_asset_details"."asset_id" INNER JOIN "active_storage_blobs" ON "active_storage_blobs"."id" = "active_storage_attachments"."blob_id" WHERE "cmor_blog_asset_details"."post_id" = ? AND (active_storage_blobs.content_type LIKE '%image/%') LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_asset_details" INNER JOIN "active_storage_attachments" ON "active_storage_attachments"."id" = "cmor_blog_asset_details"."asset_id" INNER JOIN "active_storage_blobs" ON "active_storage_blobs"."id" = "active_storage_attachments"."blob_id" WHERE "cmor_blog_asset_details"."post_id" = ? AND (active_storage_blobs.content_type NOT LIKE '%image/%') LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
+ Rendered /home/vagrant/rails/cmor/cmor/cmor_blog/app/views/cmor/blog/posts/_post.html.haml (320.9ms)
+ Rendered /home/vagrant/rails/cmor/cmor/cmor_blog/app/views/cmor/blog/posts/show.html.haml within layouts/application (330.0ms)
+Completed 200 OK in 343ms (Views: 333.2ms | ActiveRecord: 1.8ms)
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.6ms)[0m [1m[36mbegin transaction[0m
- [1m[36mActiveStorage::Attachment Load (2.4ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments"[0m
- [1m[36mActiveStorage::Blob Load (0.4ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs"[0m
- [1m[35m (1.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mCmor::Blog::Post Exists (1.9ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" IS NOT NULL AND "cmor_blog_posts"."slug" = ? LIMIT ?[0m [["slug", "blog-post-5"], ["LIMIT", 1]]
- [1m[36mUser Create (1.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "MyString"], ["created_at", "2019-03-31 08:49:31.646383"], ["updated_at", "2019-03-31 08:49:31.646383"]]
- [1m[36mCmor::Blog::Post Load (2.4ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE (1 = 1) AND ("cmor_blog_posts"."position" IS NOT NULL) ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
- [1m[36mCmor::Blog::Post Create (0.8ms)[0m [1m[32mINSERT INTO "cmor_blog_posts" ("title", "body", "created_by_id", "slug", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["title", "Blog post 5"], ["body", "This is a blog post!"], ["created_by_id", 1], ["slug", "blog-post-5"], ["position", 1], ["created_at", "2019-03-31 08:49:31.658170"], ["updated_at", "2019-03-31 08:49:31.658170"]]
- [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "cmor_blog_asset_details"[0m
-[36m Disk Storage (1.1ms) [0m[32mUploaded file to key: qHuLoXgRPAeXykCbVvpbgn3d (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
- [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mActiveStorage::Blob Create (0.8ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "qHuLoXgRPAeXykCbVvpbgn3d"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-03-31 08:49:31.843228"]]
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mActiveStorage::Attachment Load (1.1ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments"[0m
+ [1m[36mActiveStorage::Blob Load (0.2ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs"[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCmor::Blog::Post Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" IS NOT NULL AND "cmor_blog_posts"."slug" = ? LIMIT ?[0m [["slug", "blog-post-5"], ["LIMIT", 1]]
+ [1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "MyString"], ["created_at", "2019-04-12 00:12:45.221496"], ["updated_at", "2019-04-12 00:12:45.221496"]]
+ [1m[36mCmor::Blog::Post Load (0.5ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE (1 = 1) AND ("cmor_blog_posts"."position" IS NOT NULL) ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
+ [1m[36mCmor::Blog::Post Create (0.4ms)[0m [1m[32mINSERT INTO "cmor_blog_posts" ("title", "body", "created_by_id", "slug", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["title", "Blog post 5"], ["body", "This is a blog post!"], ["created_by_id", 1], ["slug", "blog-post-5"], ["position", 1], ["created_at", "2019-04-12 00:12:45.224356"], ["updated_at", "2019-04-12 00:12:45.224356"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mActiveStorage::Attachment Create (0.7ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 1], ["created_at", "2019-03-31 08:49:31.872056"]]
- [1m[36mCmor::Blog::Post Update (0.5ms)[0m [1m[33mUPDATE "cmor_blog_posts" SET "updated_at" = ? WHERE "cmor_blog_posts"."id" = ?[0m [["updated_at", "2019-03-31 08:49:31.876359"], ["id", 1]]
+ [1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "cmor_blog_asset_details"[0m
+[36m Disk Storage (1.1ms) [0m[32mUploaded file to key: BVVFLnbcwaagDbs9rXQoo5C4 (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Blob Create (0.5ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "BVVFLnbcwaagDbs9rXQoo5C4"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-04-12 00:12:45.351226"]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Attachment Create (0.3ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 1], ["created_at", "2019-04-12 00:12:45.372039"]]
+ [1m[36mCmor::Blog::Post Update (0.2ms)[0m [1m[33mUPDATE "cmor_blog_posts" SET "updated_at" = ? WHERE "cmor_blog_posts"."id" = ?[0m [["updated_at", "2019-04-12 00:12:45.373879"], ["id", 1]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
-[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: f1b66f38-264b-4067-96f1-ca3f00e3c2e4) to Async(default) with arguments: #<GlobalID:0x00000007d0a000 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
- [1m[36mActiveStorage::Blob Load (26.6ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
-[36m Disk Storage (1.7ms) [0m[32mUploaded file to key: T8NM4FnH6F1vBpf2y8ypjnNP (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [f1b66f38-264b-4067-96f1-ca3f00e3c2e4] Performing ActiveStorage::AnalyzeJob (Job ID: f1b66f38-264b-4067-96f1-ca3f00e3c2e4) from Async(default) with arguments: #<GlobalID:0x0000000398edf8 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
- [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [f1b66f38-264b-4067-96f1-ca3f00e3c2e4] [36m Disk Storage (28.8ms) [0m[34mDownloaded file from key: qHuLoXgRPAeXykCbVvpbgn3d[0m
- [1m[36mActiveStorage::Blob Create (0.8ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "T8NM4FnH6F1vBpf2y8ypjnNP"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-03-31 08:49:31.965367"]]
+[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: 064a63a9-2e62-4269-86df-e1664252dbd0) to Async(default) with arguments: #<GlobalID:0x00000007807300 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
+ [1m[36mActiveStorage::Blob Load (18.9ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [064a63a9-2e62-4269-86df-e1664252dbd0] Performing ActiveStorage::AnalyzeJob (Job ID: 064a63a9-2e62-4269-86df-e1664252dbd0) from Async(default) with arguments: #<GlobalID:0x00000009956088 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
+[36m Disk Storage (2.7ms) [0m[32mUploaded file to key: qiMxZQqMeU2fESeMFQK8S4ss (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Blob Create (0.2ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "qiMxZQqMeU2fESeMFQK8S4ss"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-04-12 00:12:45.404800"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Attachment Create (0.3ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 2], ["created_at", "2019-04-12 00:12:45.413449"]]
+ [1m[36mCmor::Blog::Post Update (0.2ms)[0m [1m[33mUPDATE "cmor_blog_posts" SET "updated_at" = ? WHERE "cmor_blog_posts"."id" = ?[0m [["updated_at", "2019-04-12 00:12:45.415519"], ["id", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: a4b7e6e1-77fb-4777-ae25-4ea8e7dd32df) to Async(default) with arguments: #<GlobalID:0x0000000992f7a8 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/2>>
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCmor::Blog::AssetDetail Load (0.2ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ?[0m [["post_id", 1]]
+ [1m[36mCmor::Blog::AssetDetail Load (0.5ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Create (0.3ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 1], ["position", 1], ["created_at", "2019-04-12 00:12:45.442916"], ["updated_at", "2019-04-12 00:12:45.442916"]]
+ [1m[36mCmor::Blog::AssetDetail Load (0.3ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Create (0.1ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 2], ["position", 2], ["created_at", "2019-04-12 00:12:45.447019"], ["updated_at", "2019-04-12 00:12:45.447019"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "cmor_blog_asset_details"[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [064a63a9-2e62-4269-86df-e1664252dbd0] [36m Disk Storage (76.6ms) [0m[34mDownloaded file from key: BVVFLnbcwaagDbs9rXQoo5C4[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [064a63a9-2e62-4269-86df-e1664252dbd0] Skipping image analysis because the mini_magick gem isn't installed
+[ActiveJob] [ActiveStorage::AnalyzeJob] [064a63a9-2e62-4269-86df-e1664252dbd0] [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Blob Load (0.3ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [a4b7e6e1-77fb-4777-ae25-4ea8e7dd32df] Performing ActiveStorage::AnalyzeJob (Job ID: a4b7e6e1-77fb-4777-ae25-4ea8e7dd32df) from Async(default) with arguments: #<GlobalID:0x00000009176bd8 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/2>>
+[ActiveJob] [ActiveStorage::AnalyzeJob] [a4b7e6e1-77fb-4777-ae25-4ea8e7dd32df] [36m Disk Storage (0.1ms) [0m[34mDownloaded file from key: qiMxZQqMeU2fESeMFQK8S4ss[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [064a63a9-2e62-4269-86df-e1664252dbd0] [1m[36mActiveStorage::Blob Update (0.2ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 1]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [a4b7e6e1-77fb-4777-ae25-4ea8e7dd32df] Skipping image analysis because the mini_magick gem isn't installed
+[ActiveJob] [ActiveStorage::AnalyzeJob] [064a63a9-2e62-4269-86df-e1664252dbd0] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [064a63a9-2e62-4269-86df-e1664252dbd0] Performed ActiveStorage::AnalyzeJob (Job ID: 064a63a9-2e62-4269-86df-e1664252dbd0) from Async(default) in 129.56ms
+ [1m[35m (1.4ms)[0m [1m[31mrollback transaction[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [a4b7e6e1-77fb-4777-ae25-4ea8e7dd32df] [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [a4b7e6e1-77fb-4777-ae25-4ea8e7dd32df] [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [a4b7e6e1-77fb-4777-ae25-4ea8e7dd32df] [1m[36mActiveStorage::Blob Update (0.2ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 2]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [a4b7e6e1-77fb-4777-ae25-4ea8e7dd32df] [1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [a4b7e6e1-77fb-4777-ae25-4ea8e7dd32df] [1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [a4b7e6e1-77fb-4777-ae25-4ea8e7dd32df] Performed ActiveStorage::AnalyzeJob (Job ID: a4b7e6e1-77fb-4777-ae25-4ea8e7dd32df) from Async(default) in 14.26ms
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mActiveStorage::Attachment Load (0.1ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments"[0m
+ [1m[36mActiveStorage::Blob Load (0.2ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs"[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCmor::Blog::Post Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" IS NOT NULL AND "cmor_blog_posts"."slug" = ? LIMIT ?[0m [["slug", "blog-post-6"], ["LIMIT", 1]]
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "MyString"], ["created_at", "2019-04-12 00:12:45.553138"], ["updated_at", "2019-04-12 00:12:45.553138"]]
+ [1m[36mCmor::Blog::Post Load (0.3ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE (1 = 1) AND ("cmor_blog_posts"."position" IS NOT NULL) ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
+ [1m[36mCmor::Blog::Post Create (0.3ms)[0m [1m[32mINSERT INTO "cmor_blog_posts" ("title", "body", "created_by_id", "slug", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["title", "Blog post 6"], ["body", "This is a blog post!"], ["created_by_id", 1], ["slug", "blog-post-6"], ["position", 1], ["created_at", "2019-04-12 00:12:45.554950"], ["updated_at", "2019-04-12 00:12:45.554950"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mActiveStorage::Attachment Create (1.0ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 2], ["created_at", "2019-03-31 08:49:31.980769"]]
-[ActiveJob] [ActiveStorage::AnalyzeJob] [f1b66f38-264b-4067-96f1-ca3f00e3c2e4] Skipping image analysis because the mini_magick gem isn't installed
- [1m[36mCmor::Blog::Post Update (0.7ms)[0m [1m[33mUPDATE "cmor_blog_posts" SET "updated_at" = ? WHERE "cmor_blog_posts"."id" = ?[0m [["updated_at", "2019-03-31 08:49:32.005355"], ["id", 1]]
- [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
-[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: ec6fb7db-d2e5-403d-abdb-e65fd2947318) to Async(default) with arguments: #<GlobalID:0x0000000867c048 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/2>>
-[ActiveJob] [ActiveStorage::AnalyzeJob] [f1b66f38-264b-4067-96f1-ca3f00e3c2e4] [1m[36mActiveStorage::Blob Update (18.9ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 1]]
-[ActiveJob] [ActiveStorage::AnalyzeJob] [f1b66f38-264b-4067-96f1-ca3f00e3c2e4] Performed ActiveStorage::AnalyzeJob (Job ID: f1b66f38-264b-4067-96f1-ca3f00e3c2e4) from Async(default) in 98.73ms
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "active_storage_attachments"[0m
+[36m Disk Storage (1.4ms) [0m[32mUploaded file to key: YenaR7mmasTj7CjHXmMV5JMd (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Blob Create (1.6ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "YenaR7mmasTj7CjHXmMV5JMd"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-04-12 00:12:45.571598"]]
+ [1m[35m (1.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Attachment Create (0.4ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 1], ["created_at", "2019-04-12 00:12:45.588866"]]
+ [1m[36mCmor::Blog::Post Update (0.2ms)[0m [1m[33mUPDATE "cmor_blog_posts" SET "updated_at" = ? WHERE "cmor_blog_posts"."id" = ?[0m [["updated_at", "2019-04-12 00:12:45.590939"], ["id", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: f09c7b57-7a25-4202-812a-8eaffff99fa1) to Async(default) with arguments: #<GlobalID:0x00000008dc8860 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
+[36m Disk Storage (3.8ms) [0m[32mUploaded file to key: qyW2C8pWq2sBBigEsLzLP8gM (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
+ [1m[36mActiveStorage::Blob Load (28.6ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [f09c7b57-7a25-4202-812a-8eaffff99fa1] Performing ActiveStorage::AnalyzeJob (Job ID: f09c7b57-7a25-4202-812a-8eaffff99fa1) from Async(default) with arguments: #<GlobalID:0x00000003e9bcb0 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mCmor::Blog::AssetDetail Load (0.7ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ?[0m [["post_id", 1]]
- [1m[36mCmor::Blog::AssetDetail Load (0.7ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
- [1m[36mCmor::Blog::AssetDetail Create (1.5ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 1], ["position", 1], ["created_at", "2019-03-31 08:49:32.121521"], ["updated_at", "2019-03-31 08:49:32.121521"]]
+ [1m[36mActiveStorage::Blob Create (0.3ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "qyW2C8pWq2sBBigEsLzLP8gM"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-04-12 00:12:45.632986"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Attachment Create (0.3ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 2], ["created_at", "2019-04-12 00:12:45.638990"]]
+ [1m[36mCmor::Blog::Post Update (0.3ms)[0m [1m[33mUPDATE "cmor_blog_posts" SET "updated_at" = ? WHERE "cmor_blog_posts"."id" = ?[0m [["updated_at", "2019-04-12 00:12:45.642177"], ["id", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: cfae704e-bd4e-40bb-9d4e-5258d4a10ac3) to Async(default) with arguments: #<GlobalID:0x00000005d71c98 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/2>>
+[ActiveJob] [ActiveStorage::AnalyzeJob] [f09c7b57-7a25-4202-812a-8eaffff99fa1] [36m Disk Storage (7.5ms) [0m[34mDownloaded file from key: YenaR7mmasTj7CjHXmMV5JMd[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [f09c7b57-7a25-4202-812a-8eaffff99fa1] Skipping image analysis because the mini_magick gem isn't installed
+ [1m[36mActiveStorage::Blob Load (12.4ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [cfae704e-bd4e-40bb-9d4e-5258d4a10ac3] Performing ActiveStorage::AnalyzeJob (Job ID: cfae704e-bd4e-40bb-9d4e-5258d4a10ac3) from Async(default) with arguments: #<GlobalID:0x00000005f20738 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/2>>
+ [1m[36mCmor::Blog::AssetDetail Load (0.1ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ?[0m [["post_id", 1]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [cfae704e-bd4e-40bb-9d4e-5258d4a10ac3] [36m Disk Storage (0.2ms) [0m[34mDownloaded file from key: qyW2C8pWq2sBBigEsLzLP8gM[0m
+ [1m[36mCmor::Blog::AssetDetail Load (0.5ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [cfae704e-bd4e-40bb-9d4e-5258d4a10ac3] Skipping image analysis because the mini_magick gem isn't installed
+ [1m[36mCmor::Blog::AssetDetail Create (0.9ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 1], ["position", 1], ["created_at", "2019-04-12 00:12:45.676783"], ["updated_at", "2019-04-12 00:12:45.676783"]]
[1m[36mCmor::Blog::AssetDetail Load (0.6ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
- [1m[36mCmor::Blog::AssetDetail Create (0.5ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 2], ["position", 2], ["created_at", "2019-03-31 08:49:32.133382"], ["updated_at", "2019-03-31 08:49:32.133382"]]
- [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[36mActiveStorage::Blob Load (122.5ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
-[ActiveJob] [ActiveStorage::AnalyzeJob] [ec6fb7db-d2e5-403d-abdb-e65fd2947318] Performing ActiveStorage::AnalyzeJob (Job ID: ec6fb7db-d2e5-403d-abdb-e65fd2947318) from Async(default) with arguments: #<GlobalID:0x00000008413f68 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/2>>
-[ActiveJob] [ActiveStorage::AnalyzeJob] [ec6fb7db-d2e5-403d-abdb-e65fd2947318] [36m Disk Storage (3.5ms) [0m[34mDownloaded file from key: T8NM4FnH6F1vBpf2y8ypjnNP[0m
- [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "cmor_blog_asset_details"[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [ec6fb7db-d2e5-403d-abdb-e65fd2947318] Skipping image analysis because the mini_magick gem isn't installed
-[ActiveJob] [ActiveStorage::AnalyzeJob] [ec6fb7db-d2e5-403d-abdb-e65fd2947318] [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [ec6fb7db-d2e5-403d-abdb-e65fd2947318] [1m[36mActiveStorage::Blob Update (0.8ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 2]]
-[ActiveJob] [ActiveStorage::AnalyzeJob] [ec6fb7db-d2e5-403d-abdb-e65fd2947318] [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [ec6fb7db-d2e5-403d-abdb-e65fd2947318] Performed ActiveStorage::AnalyzeJob (Job ID: ec6fb7db-d2e5-403d-abdb-e65fd2947318) from Async(default) in 120.71ms
- [1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCmor::Blog::AssetDetail Create (0.0ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 2], ["position", 2], ["created_at", "2019-04-12 00:12:45.692539"], ["updated_at", "2019-04-12 00:12:45.692539"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [f09c7b57-7a25-4202-812a-8eaffff99fa1] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [f09c7b57-7a25-4202-812a-8eaffff99fa1] [1m[36mActiveStorage::Blob Update (0.3ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 1]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [f09c7b57-7a25-4202-812a-8eaffff99fa1] [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [cfae704e-bd4e-40bb-9d4e-5258d4a10ac3] [1m[36mActiveStorage::Blob Update (11.0ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 2]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [cfae704e-bd4e-40bb-9d4e-5258d4a10ac3] Performed ActiveStorage::AnalyzeJob (Job ID: cfae704e-bd4e-40bb-9d4e-5258d4a10ac3) from Async(default) in 34.76ms
+[ActiveJob] [ActiveStorage::AnalyzeJob] [f09c7b57-7a25-4202-812a-8eaffff99fa1] Performed ActiveStorage::AnalyzeJob (Job ID: f09c7b57-7a25-4202-812a-8eaffff99fa1) from Async(default) in 70.63ms
+ [1m[35m (5.5ms)[0m [1m[34mSELECT COUNT(*) FROM "active_storage_attachments"[0m
+ [1m[35m (0.8ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mActiveStorage::Attachment Load (0.3ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments"[0m
+ [1m[36mActiveStorage::Blob Load (0.1ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs"[0m
+[36m Disk Storage (0.6ms) [0m[32mUploaded file to key: eA79jaMFKcz1UZexi8ve2Mif (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Blob Create (0.5ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "eA79jaMFKcz1UZexi8ve2Mif"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-04-12 00:12:45.719472"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[36m Disk Storage (2.7ms) [0m[32mUploaded file to key: XNmXsZtaQTTrUVThd5WEmKWU (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
+ [1m[35m (3.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Blob Create (1.1ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "XNmXsZtaQTTrUVThd5WEmKWU"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-04-12 00:12:45.740793"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCmor::Blog::Post Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" IS NOT NULL AND "cmor_blog_posts"."slug" = ? LIMIT ?[0m [["slug", "blog-post-7"], ["LIMIT", 1]]
+ [1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "MyString"], ["created_at", "2019-04-12 00:12:45.758798"], ["updated_at", "2019-04-12 00:12:45.758798"]]
+ [1m[36mCmor::Blog::Post Load (0.6ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE (1 = 1) AND ("cmor_blog_posts"."position" IS NOT NULL) ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
+ [1m[36mCmor::Blog::Post Create (0.2ms)[0m [1m[32mINSERT INTO "cmor_blog_posts" ("title", "body", "created_by_id", "slug", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["title", "Blog post 7"], ["body", "This is a blog post!"], ["created_by_id", 1], ["slug", "blog-post-7"], ["position", 1], ["created_at", "2019-04-12 00:12:45.760599"], ["updated_at", "2019-04-12 00:12:45.760599"]]
+ [1m[36mActiveStorage::Attachment Create (0.8ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 1], ["created_at", "2019-04-12 00:12:45.773813"]]
+ [1m[36mActiveStorage::Attachment Create (0.4ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 2], ["created_at", "2019-04-12 00:12:45.778917"]]
+ [1m[36mCmor::Blog::AssetDetail Load (0.5ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Create (0.4ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 1], ["position", 1], ["created_at", "2019-04-12 00:12:45.782132"], ["updated_at", "2019-04-12 00:12:45.782132"]]
+ [1m[36mCmor::Blog::AssetDetail Load (0.4ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Create (0.2ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 2], ["position", 2], ["created_at", "2019-04-12 00:12:45.786865"], ["updated_at", "2019-04-12 00:12:45.786865"]]
+ [1m[36mCmor::Blog::Post Update (0.2ms)[0m [1m[33mUPDATE "cmor_blog_posts" SET "updated_at" = ? WHERE "cmor_blog_posts"."id" = ?[0m [["updated_at", "2019-04-12 00:12:45.781177"], ["id", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: ba107836-29a6-40af-a96d-572ee2b54d7a) to Async(default) with arguments: #<GlobalID:0x0000000796ac38 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
+[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: a005269b-06c3-46b3-932f-055e6c4355bc) to Async(default) with arguments: #<GlobalID:0x000000079ae7a8 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/2>>
+ [1m[36mActiveStorage::Blob Load (3.8ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [ba107836-29a6-40af-a96d-572ee2b54d7a] Performing ActiveStorage::AnalyzeJob (Job ID: ba107836-29a6-40af-a96d-572ee2b54d7a) from Async(default) with arguments: #<GlobalID:0x000000079f04c8 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
+ [1m[35m (5.6ms)[0m [1m[34mSELECT COUNT(*) FROM "cmor_blog_asset_details"[0m
+ [1m[36mActiveStorage::Blob Load (197.0ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [ba107836-29a6-40af-a96d-572ee2b54d7a] [36m Disk Storage (196.4ms) [0m[34mDownloaded file from key: eA79jaMFKcz1UZexi8ve2Mif[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [a005269b-06c3-46b3-932f-055e6c4355bc] Performing ActiveStorage::AnalyzeJob (Job ID: a005269b-06c3-46b3-932f-055e6c4355bc) from Async(default) with arguments: #<GlobalID:0x00000005b5c610 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/2>>
+[36m Disk Storage (1.9ms) [0m[32mUploaded file to key: ukkd2akSDcX1US6b4mWF5DQi (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [ba107836-29a6-40af-a96d-572ee2b54d7a] Skipping image analysis because the mini_magick gem isn't installed
+[ActiveJob] [ActiveStorage::AnalyzeJob] [a005269b-06c3-46b3-932f-055e6c4355bc] [36m Disk Storage (0.1ms) [0m[34mDownloaded file from key: XNmXsZtaQTTrUVThd5WEmKWU[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [a005269b-06c3-46b3-932f-055e6c4355bc] Skipping image analysis because the mini_magick gem isn't installed
+ [1m[36mActiveStorage::Blob Create (1.0ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "ukkd2akSDcX1US6b4mWF5DQi"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-04-12 00:12:46.014057"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [ba107836-29a6-40af-a96d-572ee2b54d7a] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [ba107836-29a6-40af-a96d-572ee2b54d7a] [1m[36mActiveStorage::Blob Update (0.2ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 1]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [ba107836-29a6-40af-a96d-572ee2b54d7a] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [ba107836-29a6-40af-a96d-572ee2b54d7a] Performed ActiveStorage::AnalyzeJob (Job ID: ba107836-29a6-40af-a96d-572ee2b54d7a) from Async(default) in 221.07ms
+[ActiveJob] [ActiveStorage::AnalyzeJob] [a005269b-06c3-46b3-932f-055e6c4355bc] [1m[36mActiveStorage::Blob Update (6.4ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 2]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [a005269b-06c3-46b3-932f-055e6c4355bc] Performed ActiveStorage::AnalyzeJob (Job ID: a005269b-06c3-46b3-932f-055e6c4355bc) from Async(default) in 17.37ms
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Attachment Create (0.2ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 3], ["created_at", "2019-04-12 00:12:46.025992"]]
+ [1m[36mCmor::Blog::Post Update (0.1ms)[0m [1m[33mUPDATE "cmor_blog_posts" SET "updated_at" = ? WHERE "cmor_blog_posts"."id" = ?[0m [["updated_at", "2019-04-12 00:12:46.027645"], ["id", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: cd09f7e1-ab50-4fd4-91a5-94c2b37f1e9f) to Async(default) with arguments: #<GlobalID:0x000000063b7850 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/3>>
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCmor::Blog::AssetDetail Load (0.1ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ?[0m [["post_id", 1]]
+ [1m[36mActiveStorage::Attachment Load (0.2ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mActiveStorage::Attachment Load (0.1ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Load (0.3ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Create (0.1ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 3], ["position", 3], ["created_at", "2019-04-12 00:12:46.038548"], ["updated_at", "2019-04-12 00:12:46.038548"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "cmor_blog_asset_details"[0m
+ [1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[36mActiveStorage::Attachment Load (0.2ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments"[0m
- [1m[36mActiveStorage::Blob Load (0.2ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs"[0m
+ [1m[36mActiveStorage::Blob Load (0.1ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs"[0m
+ [1m[36mActiveStorage::Blob Load (0.2ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
+[36m Disk Storage (1.0ms) [0m[32mUploaded file to key: ZZFQavMd5esH1cmbroL7Yfbx (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Blob Create (1.1ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "ZZFQavMd5esH1cmbroL7Yfbx"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-04-12 00:12:46.319548"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[36m Disk Storage (0.8ms) [0m[32mUploaded file to key: uF9smVGiG7uL7vnepVEtzaTk (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mCmor::Blog::Post Exists (1.9ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" IS NOT NULL AND "cmor_blog_posts"."slug" = ? LIMIT ?[0m [["slug", "blog-post-6"], ["LIMIT", 1]]
- [1m[36mUser Create (0.8ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "MyString"], ["created_at", "2019-03-31 08:49:32.387102"], ["updated_at", "2019-03-31 08:49:32.387102"]]
- [1m[36mCmor::Blog::Post Load (0.4ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE (1 = 1) AND ("cmor_blog_posts"."position" IS NOT NULL) ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
- [1m[36mCmor::Blog::Post Create (0.3ms)[0m [1m[32mINSERT INTO "cmor_blog_posts" ("title", "body", "created_by_id", "slug", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["title", "Blog post 6"], ["body", "This is a blog post!"], ["created_by_id", 1], ["slug", "blog-post-6"], ["position", 1], ["created_at", "2019-03-31 08:49:32.392526"], ["updated_at", "2019-03-31 08:49:32.392526"]]
+ [1m[36mActiveStorage::Blob Create (0.3ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "uF9smVGiG7uL7vnepVEtzaTk"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-04-12 00:12:46.330079"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "active_storage_attachments"[0m
-[36m Disk Storage (1.9ms) [0m[32mUploaded file to key: 7WoV72F87D2QRveHnQ9bC5od (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mActiveStorage::Blob Create (1.0ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "7WoV72F87D2QRveHnQ9bC5od"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-03-31 08:49:32.418630"]]
- [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mActiveStorage::Attachment Create (1.0ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 1], ["created_at", "2019-03-31 08:49:32.436940"]]
- [1m[36mCmor::Blog::Post Update (0.7ms)[0m [1m[33mUPDATE "cmor_blog_posts" SET "updated_at" = ? WHERE "cmor_blog_posts"."id" = ?[0m [["updated_at", "2019-03-31 08:49:32.441638"], ["id", 1]]
+ [1m[36mCmor::Blog::Post Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" IS NOT NULL AND "cmor_blog_posts"."slug" = ? LIMIT ?[0m [["slug", "blog-post-8"], ["LIMIT", 1]]
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "MyString"], ["created_at", "2019-04-12 00:12:46.344981"], ["updated_at", "2019-04-12 00:12:46.344981"]]
+ [1m[36mCmor::Blog::Post Load (0.4ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE (1 = 1) AND ("cmor_blog_posts"."position" IS NOT NULL) ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
+ [1m[36mCmor::Blog::Post Create (0.3ms)[0m [1m[32mINSERT INTO "cmor_blog_posts" ("title", "body", "created_by_id", "slug", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["title", "Blog post 8"], ["body", "This is a blog post!"], ["created_by_id", 1], ["slug", "blog-post-8"], ["position", 1], ["created_at", "2019-04-12 00:12:46.346845"], ["updated_at", "2019-04-12 00:12:46.346845"]]
+ [1m[36mActiveStorage::Attachment Create (1.0ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 1], ["created_at", "2019-04-12 00:12:46.351602"]]
+ [1m[36mActiveStorage::Attachment Create (0.3ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 2], ["created_at", "2019-04-12 00:12:46.355249"]]
+ [1m[36mCmor::Blog::AssetDetail Load (0.3ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Create (0.3ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 1], ["position", 1], ["created_at", "2019-04-12 00:12:46.357820"], ["updated_at", "2019-04-12 00:12:46.357820"]]
+ [1m[36mCmor::Blog::AssetDetail Load (0.3ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Create (0.2ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 2], ["position", 2], ["created_at", "2019-04-12 00:12:46.362580"], ["updated_at", "2019-04-12 00:12:46.362580"]]
+ [1m[36mCmor::Blog::Post Update (0.2ms)[0m [1m[33mUPDATE "cmor_blog_posts" SET "updated_at" = ? WHERE "cmor_blog_posts"."id" = ?[0m [["updated_at", "2019-04-12 00:12:46.356320"], ["id", 1]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
-[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: 66c9b8f8-0055-4de6-a5a3-32b04a100928) to Async(default) with arguments: #<GlobalID:0x00000007bb2928 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
-[36m Disk Storage (1.4ms) [0m[32mUploaded file to key: Vsumc3a57rrh7LqyeWUAC5mc (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
- [1m[36mActiveStorage::Blob Load (9.2ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: 0cc30804-dd8d-44d2-8403-9140922922c9) to Async(default) with arguments: #<GlobalID:0x00000008c90bc8 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
+[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: ad7da24f-86bd-4ac7-b6de-1eb40f085aff) to Async(default) with arguments: #<GlobalID:0x00000009939ca8 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/2>>
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "active_storage_attachments"[0m
+ [1m[36mActiveStorage::Blob Load (0.5ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [ad7da24f-86bd-4ac7-b6de-1eb40f085aff] Performing ActiveStorage::AnalyzeJob (Job ID: ad7da24f-86bd-4ac7-b6de-1eb40f085aff) from Async(default) with arguments: #<GlobalID:0x00000009a7f338 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/2>>
+[ActiveJob] [ActiveStorage::AnalyzeJob] [ad7da24f-86bd-4ac7-b6de-1eb40f085aff] [36m Disk Storage (0.1ms) [0m[34mDownloaded file from key: uF9smVGiG7uL7vnepVEtzaTk[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [ad7da24f-86bd-4ac7-b6de-1eb40f085aff] Skipping image analysis because the mini_magick gem isn't installed
+[ActiveJob] [ActiveStorage::AnalyzeJob] [ad7da24f-86bd-4ac7-b6de-1eb40f085aff] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [ad7da24f-86bd-4ac7-b6de-1eb40f085aff] [1m[36mActiveStorage::Blob Update (0.2ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 2]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [ad7da24f-86bd-4ac7-b6de-1eb40f085aff] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [ad7da24f-86bd-4ac7-b6de-1eb40f085aff] Performed ActiveStorage::AnalyzeJob (Job ID: ad7da24f-86bd-4ac7-b6de-1eb40f085aff) from Async(default) in 9.46ms
+ [1m[36mActiveStorage::Blob Load (0.1ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [0cc30804-dd8d-44d2-8403-9140922922c9] Performing ActiveStorage::AnalyzeJob (Job ID: 0cc30804-dd8d-44d2-8403-9140922922c9) from Async(default) with arguments: #<GlobalID:0x0000000992d6b0 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
+[ActiveJob] [ActiveStorage::AnalyzeJob] [0cc30804-dd8d-44d2-8403-9140922922c9] [36m Disk Storage (4.3ms) [0m[34mDownloaded file from key: ZZFQavMd5esH1cmbroL7Yfbx[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [0cc30804-dd8d-44d2-8403-9140922922c9] Skipping image analysis because the mini_magick gem isn't installed
+[ActiveJob] [ActiveStorage::AnalyzeJob] [0cc30804-dd8d-44d2-8403-9140922922c9] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [0cc30804-dd8d-44d2-8403-9140922922c9] [1m[36mActiveStorage::Blob Update (0.5ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 1]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [0cc30804-dd8d-44d2-8403-9140922922c9] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [0cc30804-dd8d-44d2-8403-9140922922c9] Performed ActiveStorage::AnalyzeJob (Job ID: 0cc30804-dd8d-44d2-8403-9140922922c9) from Async(default) in 14.18ms
+[36m Disk Storage (1.5ms) [0m[32mUploaded file to key: fCbyKJfRfBbz75um3JWEoU7T (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Blob Create (0.2ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "fCbyKJfRfBbz75um3JWEoU7T"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-04-12 00:12:46.413586"]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Attachment Create (0.2ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 3], ["created_at", "2019-04-12 00:12:46.418625"]]
+ [1m[36mCmor::Blog::Post Update (0.2ms)[0m [1m[33mUPDATE "cmor_blog_posts" SET "updated_at" = ? WHERE "cmor_blog_posts"."id" = ?[0m [["updated_at", "2019-04-12 00:12:46.420305"], ["id", 1]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: 1477da8e-f951-43d5-a5c2-3b993836540f) to Async(default) with arguments: #<GlobalID:0x000000099625e0 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/3>>
+ [1m[36mActiveStorage::Blob Load (1.0ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [1477da8e-f951-43d5-a5c2-3b993836540f] Performing ActiveStorage::AnalyzeJob (Job ID: 1477da8e-f951-43d5-a5c2-3b993836540f) from Async(default) with arguments: #<GlobalID:0x0000000995be20 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/3>>
+[ActiveJob] [ActiveStorage::AnalyzeJob] [1477da8e-f951-43d5-a5c2-3b993836540f] [36m Disk Storage (0.2ms) [0m[34mDownloaded file from key: fCbyKJfRfBbz75um3JWEoU7T[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [1477da8e-f951-43d5-a5c2-3b993836540f] Skipping image analysis because the mini_magick gem isn't installed
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [66c9b8f8-0055-4de6-a5a3-32b04a100928] Performing ActiveStorage::AnalyzeJob (Job ID: 66c9b8f8-0055-4de6-a5a3-32b04a100928) from Async(default) with arguments: #<GlobalID:0x00000007ba0160 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
- [1m[36mActiveStorage::Blob Create (0.4ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "Vsumc3a57rrh7LqyeWUAC5mc"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-03-31 08:49:32.467519"]]
-[ActiveJob] [ActiveStorage::AnalyzeJob] [66c9b8f8-0055-4de6-a5a3-32b04a100928] [36m Disk Storage (0.9ms) [0m[34mDownloaded file from key: 7WoV72F87D2QRveHnQ9bC5od[0m
- [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [66c9b8f8-0055-4de6-a5a3-32b04a100928] Skipping image analysis because the mini_magick gem isn't installed
- [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mActiveStorage::Attachment Create (0.3ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 2], ["created_at", "2019-03-31 08:49:32.491362"]]
- [1m[36mCmor::Blog::Post Update (0.2ms)[0m [1m[33mUPDATE "cmor_blog_posts" SET "updated_at" = ? WHERE "cmor_blog_posts"."id" = ?[0m [["updated_at", "2019-03-31 08:49:32.494600"], ["id", 1]]
+ [1m[36mCmor::Blog::AssetDetail Load (0.1ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ?[0m [["post_id", 1]]
+ [1m[36mActiveStorage::Attachment Load (0.1ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mActiveStorage::Attachment Load (0.1ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Load (1.1ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Create (0.2ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 3], ["position", 3], ["created_at", "2019-04-12 00:12:46.440685"], ["updated_at", "2019-04-12 00:12:46.440685"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
-[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: b9c400d7-a1d0-487d-b790-baa449d692b7) to Async(default) with arguments: #<GlobalID:0x00000007b41250 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/2>>
-[ActiveJob] [ActiveStorage::AnalyzeJob] [66c9b8f8-0055-4de6-a5a3-32b04a100928] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [66c9b8f8-0055-4de6-a5a3-32b04a100928] [1m[36mActiveStorage::Blob Update (0.6ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 1]]
-[ActiveJob] [ActiveStorage::AnalyzeJob] [66c9b8f8-0055-4de6-a5a3-32b04a100928] [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [66c9b8f8-0055-4de6-a5a3-32b04a100928] Performed ActiveStorage::AnalyzeJob (Job ID: 66c9b8f8-0055-4de6-a5a3-32b04a100928) from Async(default) in 42.87ms
+[ActiveJob] [ActiveStorage::AnalyzeJob] [1477da8e-f951-43d5-a5c2-3b993836540f] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [1477da8e-f951-43d5-a5c2-3b993836540f] [1m[36mActiveStorage::Blob Update (0.2ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 3]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [1477da8e-f951-43d5-a5c2-3b993836540f] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [1477da8e-f951-43d5-a5c2-3b993836540f] Performed ActiveStorage::AnalyzeJob (Job ID: 1477da8e-f951-43d5-a5c2-3b993836540f) from Async(default) in 21.82ms
+ [1m[35m (3.6ms)[0m [1m[34mSELECT COUNT(*) FROM "active_storage_attachments"[0m
+ [1m[35m (1.0ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mActiveStorage::Attachment Load (0.3ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments"[0m
+ [1m[36mActiveStorage::Blob Load (0.1ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs"[0m
+[36m Disk Storage (3.8ms) [0m[32mUploaded file to key: kZns8GfYBpoMe4uufrz6skeg (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Blob Create (0.4ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "kZns8GfYBpoMe4uufrz6skeg"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-04-12 00:12:46.470103"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[36m Disk Storage (0.8ms) [0m[32mUploaded file to key: 7Em6GTBTth5gFCPFTuK4staG (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Blob Create (0.3ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "7Em6GTBTth5gFCPFTuK4staG"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-04-12 00:12:46.479102"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCmor::Blog::Post Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" IS NOT NULL AND "cmor_blog_posts"."slug" = ? LIMIT ?[0m [["slug", "blog-post-9"], ["LIMIT", 1]]
+ [1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "MyString"], ["created_at", "2019-04-12 00:12:46.508312"], ["updated_at", "2019-04-12 00:12:46.508312"]]
+ [1m[36mCmor::Blog::Post Load (0.3ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE (1 = 1) AND ("cmor_blog_posts"."position" IS NOT NULL) ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
+ [1m[36mCmor::Blog::Post Create (0.6ms)[0m [1m[32mINSERT INTO "cmor_blog_posts" ("title", "body", "created_by_id", "slug", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["title", "Blog post 9"], ["body", "This is a blog post!"], ["created_by_id", 1], ["slug", "blog-post-9"], ["position", 1], ["created_at", "2019-04-12 00:12:46.511317"], ["updated_at", "2019-04-12 00:12:46.511317"]]
+ [1m[36mActiveStorage::Attachment Create (1.0ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 1], ["created_at", "2019-04-12 00:12:46.517039"]]
+ [1m[36mActiveStorage::Attachment Create (0.4ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 2], ["created_at", "2019-04-12 00:12:46.522438"]]
+ [1m[36mCmor::Blog::AssetDetail Load (0.5ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Create (0.4ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 1], ["position", 1], ["created_at", "2019-04-12 00:12:46.525887"], ["updated_at", "2019-04-12 00:12:46.525887"]]
+ [1m[36mCmor::Blog::AssetDetail Load (0.4ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Create (0.2ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 2], ["position", 2], ["created_at", "2019-04-12 00:12:46.532646"], ["updated_at", "2019-04-12 00:12:46.532646"]]
+ [1m[36mCmor::Blog::Post Update (0.2ms)[0m [1m[33mUPDATE "cmor_blog_posts" SET "updated_at" = ? WHERE "cmor_blog_posts"."id" = ?[0m [["updated_at", "2019-04-12 00:12:46.524963"], ["id", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: dfbb68c0-d205-45bc-990f-7a55a4203bb2) to Async(default) with arguments: #<GlobalID:0x0000000974f690 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
+[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: dd615b86-a6a6-4fbf-9f03-3d8dceedbcb2) to Async(default) with arguments: #<GlobalID:0x0000000974cee0 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/2>>
+ [1m[36mActiveStorage::Blob Load (5.7ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [dfbb68c0-d205-45bc-990f-7a55a4203bb2] Performing ActiveStorage::AnalyzeJob (Job ID: dfbb68c0-d205-45bc-990f-7a55a4203bb2) from Async(default) with arguments: #<GlobalID:0x0000000972b240 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
+ [1m[35m (6.3ms)[0m [1m[34mSELECT COUNT(*) FROM "cmor_blog_asset_details"[0m
+[36m Disk Storage (1.2ms) [0m[32mUploaded file to key: H3oShwbPwrsUwhnXvEYicM9M (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
+ [1m[36mActiveStorage::Blob Load (12.2ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [dd615b86-a6a6-4fbf-9f03-3d8dceedbcb2] Performing ActiveStorage::AnalyzeJob (Job ID: dd615b86-a6a6-4fbf-9f03-3d8dceedbcb2) from Async(default) with arguments: #<GlobalID:0x000000096e97a0 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/2>>
+[ActiveJob] [ActiveStorage::AnalyzeJob] [dfbb68c0-d205-45bc-990f-7a55a4203bb2] [36m Disk Storage (17.1ms) [0m[34mDownloaded file from key: kZns8GfYBpoMe4uufrz6skeg[0m
+ [1m[36mActiveStorage::Blob Create (0.3ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "H3oShwbPwrsUwhnXvEYicM9M"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-04-12 00:12:46.575126"]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [dd615b86-a6a6-4fbf-9f03-3d8dceedbcb2] [36m Disk Storage (0.5ms) [0m[34mDownloaded file from key: 7Em6GTBTth5gFCPFTuK4staG[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [dfbb68c0-d205-45bc-990f-7a55a4203bb2] Skipping image analysis because the mini_magick gem isn't installed
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [dd615b86-a6a6-4fbf-9f03-3d8dceedbcb2] Skipping image analysis because the mini_magick gem isn't installed
+[ActiveJob] [ActiveStorage::AnalyzeJob] [dfbb68c0-d205-45bc-990f-7a55a4203bb2] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [dfbb68c0-d205-45bc-990f-7a55a4203bb2] [1m[36mActiveStorage::Blob Update (0.2ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 1]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [dfbb68c0-d205-45bc-990f-7a55a4203bb2] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [dfbb68c0-d205-45bc-990f-7a55a4203bb2] Performed ActiveStorage::AnalyzeJob (Job ID: dfbb68c0-d205-45bc-990f-7a55a4203bb2) from Async(default) in 52.29ms
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Attachment Create (0.6ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 3], ["created_at", "2019-04-12 00:12:46.603544"]]
+ [1m[36mCmor::Blog::Post Update (0.2ms)[0m [1m[33mUPDATE "cmor_blog_posts" SET "updated_at" = ? WHERE "cmor_blog_posts"."id" = ?[0m [["updated_at", "2019-04-12 00:12:46.606430"], ["id", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: 8e4e802b-04a3-409e-aed4-75833b2b49c0) to Async(default) with arguments: #<GlobalID:0x00000005ed7f38 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/3>>
+[ActiveJob] [ActiveStorage::AnalyzeJob] [dd615b86-a6a6-4fbf-9f03-3d8dceedbcb2] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [dd615b86-a6a6-4fbf-9f03-3d8dceedbcb2] [1m[36mActiveStorage::Blob Update (0.2ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 2]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [dd615b86-a6a6-4fbf-9f03-3d8dceedbcb2] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [dd615b86-a6a6-4fbf-9f03-3d8dceedbcb2] Performed ActiveStorage::AnalyzeJob (Job ID: dd615b86-a6a6-4fbf-9f03-3d8dceedbcb2) from Async(default) in 36.47ms
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mCmor::Blog::AssetDetail Load (0.1ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ?[0m [["post_id", 1]]
- [1m[36mCmor::Blog::AssetDetail Load (0.6ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
- [1m[36mCmor::Blog::AssetDetail Create (0.7ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 1], ["position", 1], ["created_at", "2019-03-31 08:49:32.522333"], ["updated_at", "2019-03-31 08:49:32.522333"]]
- [1m[36mCmor::Blog::AssetDetail Load (0.7ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
- [1m[36mCmor::Blog::AssetDetail Create (0.4ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 2], ["position", 2], ["created_at", "2019-03-31 08:49:32.529927"], ["updated_at", "2019-03-31 08:49:32.529927"]]
- [1m[35m (1.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[36mActiveStorage::Blob Load (33.6ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
- [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "active_storage_attachments"[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [b9c400d7-a1d0-487d-b790-baa449d692b7] Performing ActiveStorage::AnalyzeJob (Job ID: b9c400d7-a1d0-487d-b790-baa449d692b7) from Async(default) with arguments: #<GlobalID:0x00000007900798 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/2>>
+ [1m[36mActiveStorage::Attachment Load (0.1ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mActiveStorage::Attachment Load (0.1ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Load (0.2ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Destroy (0.2ms)[0m [1m[31mDELETE FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."id" = ?[0m [["id", 1]]
+ [1m[36mActiveStorage::Attachment Load (0.1ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mActiveStorage::Attachment Destroy (0.1ms)[0m [1m[31mDELETE FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ?[0m [["id", 1]]
+ [1m[36mCmor::Blog::Post Load (0.2ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" = ? ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Update All (0.2ms)[0m [1m[33mUPDATE "cmor_blog_asset_details" SET "position" = ("cmor_blog_asset_details"."position" - 1), "updated_at" = '2019-04-12 00:12:46.631101' WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" > 1)[0m [["post_id", 1]]
+ [1m[36mCmor::Blog::AssetDetail Load (0.1ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Destroy (0.2ms)[0m [1m[31mDELETE FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."id" = ?[0m [["id", 2]]
+ [1m[36mActiveStorage::Attachment Load (0.1ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[36mActiveStorage::Attachment Destroy (0.1ms)[0m [1m[31mDELETE FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ?[0m [["id", 2]]
+ [1m[36mCmor::Blog::Post Load (0.1ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" = ? ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Update All (0.2ms)[0m [1m[33mUPDATE "cmor_blog_asset_details" SET "position" = ("cmor_blog_asset_details"."position" - 1), "updated_at" = '2019-04-12 00:12:46.640925' WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" > 1)[0m [["post_id", 1]]
+ [1m[36mCmor::Blog::AssetDetail Load (0.3ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Create (0.2ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 3], ["position", 1], ["created_at", "2019-04-12 00:12:46.642121"], ["updated_at", "2019-04-12 00:12:46.642121"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Blob Load (36.2ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [8e4e802b-04a3-409e-aed4-75833b2b49c0] Performing ActiveStorage::AnalyzeJob (Job ID: 8e4e802b-04a3-409e-aed4-75833b2b49c0) from Async(default) with arguments: #<GlobalID:0x00000007563860 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/3>>
+[ActiveJob] [ActiveStorage::AnalyzeJob] [8e4e802b-04a3-409e-aed4-75833b2b49c0] [36m Disk Storage (0.2ms) [0m[34mDownloaded file from key: H3oShwbPwrsUwhnXvEYicM9M[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "cmor_blog_asset_details"[0m
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[36mActiveStorage::Attachment Load (0.2ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments"[0m
[1m[36mActiveStorage::Blob Load (0.1ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs"[0m
-[36m Disk Storage (1.7ms) [0m[32mUploaded file to key: BochPHy65Nr8rgwUn3CA7XKM (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [b9c400d7-a1d0-487d-b790-baa449d692b7] [36m Disk Storage (31.4ms) [0m[34mDownloaded file from key: Vsumc3a57rrh7LqyeWUAC5mc[0m
- [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mActiveStorage::Blob Create (1.1ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "BochPHy65Nr8rgwUn3CA7XKM"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-03-31 08:49:32.607340"]]
-[ActiveJob] [ActiveStorage::AnalyzeJob] [b9c400d7-a1d0-487d-b790-baa449d692b7] Skipping image analysis because the mini_magick gem isn't installed
- [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [b9c400d7-a1d0-487d-b790-baa449d692b7] [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [b9c400d7-a1d0-487d-b790-baa449d692b7] [1m[36mActiveStorage::Blob Update (0.8ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 2]]
-[36m Disk Storage (18.2ms) [0m[32mUploaded file to key: GD18Pxzhjc1xVNZUQNHKWvwa (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [b9c400d7-a1d0-487d-b790-baa449d692b7] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [b9c400d7-a1d0-487d-b790-baa449d692b7] Performed ActiveStorage::AnalyzeJob (Job ID: b9c400d7-a1d0-487d-b790-baa449d692b7) from Async(default) in 107.85ms
- [1m[36mActiveStorage::Blob Create (2.5ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "GD18Pxzhjc1xVNZUQNHKWvwa"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-03-31 08:49:32.650819"]]
- [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mCmor::Blog::Post Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" IS NOT NULL AND "cmor_blog_posts"."slug" = ? LIMIT ?[0m [["slug", "blog-post-7"], ["LIMIT", 1]]
- [1m[36mUser Create (1.2ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "MyString"], ["created_at", "2019-03-31 08:49:32.678651"], ["updated_at", "2019-03-31 08:49:32.678651"]]
- [1m[36mCmor::Blog::Post Load (0.9ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE (1 = 1) AND ("cmor_blog_posts"."position" IS NOT NULL) ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
- [1m[36mCmor::Blog::Post Create (0.7ms)[0m [1m[32mINSERT INTO "cmor_blog_posts" ("title", "body", "created_by_id", "slug", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["title", "Blog post 7"], ["body", "This is a blog post!"], ["created_by_id", 1], ["slug", "blog-post-7"], ["position", 1], ["created_at", "2019-03-31 08:49:32.683318"], ["updated_at", "2019-03-31 08:49:32.683318"]]
- [1m[36mActiveStorage::Attachment Create (0.7ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 1], ["created_at", "2019-03-31 08:49:32.695772"]]
- [1m[36mActiveStorage::Attachment Create (0.4ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 2], ["created_at", "2019-03-31 08:49:32.702453"]]
- [1m[36mCmor::Blog::AssetDetail Load (1.2ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
- [1m[36mCmor::Blog::AssetDetail Create (0.5ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 1], ["position", 1], ["created_at", "2019-03-31 08:49:32.706554"], ["updated_at", "2019-03-31 08:49:32.706554"]]
- [1m[36mCmor::Blog::AssetDetail Load (0.5ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
- [1m[36mCmor::Blog::AssetDetail Create (0.4ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 2], ["position", 2], ["created_at", "2019-03-31 08:49:32.712898"], ["updated_at", "2019-03-31 08:49:32.712898"]]
- [1m[36mCmor::Blog::Post Update (0.5ms)[0m [1m[33mUPDATE "cmor_blog_posts" SET "updated_at" = ? WHERE "cmor_blog_posts"."id" = ?[0m [["updated_at", "2019-03-31 08:49:32.705279"], ["id", 1]]
- [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
-[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: 62afa956-e323-4efe-a06c-b7e5c8dc0a3b) to Async(default) with arguments: #<GlobalID:0x00000006eb4438 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
-[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: 183f6d18-2db3-4fbb-aa69-b391aedd31bb) to Async(default) with arguments: #<GlobalID:0x00000006f13d70 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/2>>
- [1m[36mActiveStorage::Blob Load (6.8ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[36mActiveStorage::Blob Load (4.4ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
-[ActiveJob] [ActiveStorage::AnalyzeJob] [183f6d18-2db3-4fbb-aa69-b391aedd31bb] Performing ActiveStorage::AnalyzeJob (Job ID: 183f6d18-2db3-4fbb-aa69-b391aedd31bb) from Async(default) with arguments: #<GlobalID:0x00000006f70480 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/2>>
-[ActiveJob] [ActiveStorage::AnalyzeJob] [62afa956-e323-4efe-a06c-b7e5c8dc0a3b] Performing ActiveStorage::AnalyzeJob (Job ID: 62afa956-e323-4efe-a06c-b7e5c8dc0a3b) from Async(default) with arguments: #<GlobalID:0x00000006f73d88 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
- [1m[35m (2.8ms)[0m [1m[34mSELECT COUNT(*) FROM "cmor_blog_asset_details"[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [183f6d18-2db3-4fbb-aa69-b391aedd31bb] [36m Disk Storage (281.6ms) [0m[34mDownloaded file from key: GD18Pxzhjc1xVNZUQNHKWvwa[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [62afa956-e323-4efe-a06c-b7e5c8dc0a3b] [36m Disk Storage (282.4ms) [0m[34mDownloaded file from key: BochPHy65Nr8rgwUn3CA7XKM[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [183f6d18-2db3-4fbb-aa69-b391aedd31bb] Skipping image analysis because the mini_magick gem isn't installed
-[ActiveJob] [ActiveStorage::AnalyzeJob] [183f6d18-2db3-4fbb-aa69-b391aedd31bb] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [183f6d18-2db3-4fbb-aa69-b391aedd31bb] [1m[36mActiveStorage::Blob Update (0.4ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 2]]
-[ActiveJob] [ActiveStorage::AnalyzeJob] [183f6d18-2db3-4fbb-aa69-b391aedd31bb] [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [62afa956-e323-4efe-a06c-b7e5c8dc0a3b] Skipping image analysis because the mini_magick gem isn't installed
-[ActiveJob] [ActiveStorage::AnalyzeJob] [62afa956-e323-4efe-a06c-b7e5c8dc0a3b] [1m[35m (1.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [183f6d18-2db3-4fbb-aa69-b391aedd31bb] Performed ActiveStorage::AnalyzeJob (Job ID: 183f6d18-2db3-4fbb-aa69-b391aedd31bb) from Async(default) in 317.14ms
-[36m Disk Storage (25.1ms) [0m[32mUploaded file to key: 3iysd9Hy5quQpwMKrThxHvPo (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [62afa956-e323-4efe-a06c-b7e5c8dc0a3b] [1m[36mActiveStorage::Blob Update (0.5ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 1]]
-[ActiveJob] [ActiveStorage::AnalyzeJob] [62afa956-e323-4efe-a06c-b7e5c8dc0a3b] [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [62afa956-e323-4efe-a06c-b7e5c8dc0a3b] Performed ActiveStorage::AnalyzeJob (Job ID: 62afa956-e323-4efe-a06c-b7e5c8dc0a3b) from Async(default) in 326.93ms
- [1m[36mActiveStorage::Blob Create (3.6ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "3iysd9Hy5quQpwMKrThxHvPo"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-03-31 08:49:33.063594"]]
- [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mActiveStorage::Attachment Create (0.7ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 3], ["created_at", "2019-03-31 08:49:33.079571"]]
- [1m[36mCmor::Blog::Post Update (0.5ms)[0m [1m[33mUPDATE "cmor_blog_posts" SET "updated_at" = ? WHERE "cmor_blog_posts"."id" = ?[0m [["updated_at", "2019-03-31 08:49:33.083973"], ["id", 1]]
- [1m[35m (0.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
-[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: 3b50d1df-22a6-42d9-8192-a5ca64bc3fb1) to Async(default) with arguments: #<GlobalID:0x00000005bf9050 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/3>>
- [1m[36mActiveStorage::Blob Load (0.8ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
-[ActiveJob] [ActiveStorage::AnalyzeJob] [3b50d1df-22a6-42d9-8192-a5ca64bc3fb1] Performing ActiveStorage::AnalyzeJob (Job ID: 3b50d1df-22a6-42d9-8192-a5ca64bc3fb1) from Async(default) with arguments: #<GlobalID:0x00000006147458 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/3>>
-[ActiveJob] [ActiveStorage::AnalyzeJob] [3b50d1df-22a6-42d9-8192-a5ca64bc3fb1] [36m Disk Storage (0.2ms) [0m[34mDownloaded file from key: 3iysd9Hy5quQpwMKrThxHvPo[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [3b50d1df-22a6-42d9-8192-a5ca64bc3fb1] Skipping image analysis because the mini_magick gem isn't installed
+[ActiveJob] [ActiveStorage::AnalyzeJob] [8e4e802b-04a3-409e-aed4-75833b2b49c0] Skipping image analysis because the mini_magick gem isn't installed
+[ActiveJob] [ActiveStorage::AnalyzeJob] [8e4e802b-04a3-409e-aed4-75833b2b49c0] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [8e4e802b-04a3-409e-aed4-75833b2b49c0] [1m[36mActiveStorage::Blob Update (0.3ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 3]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [8e4e802b-04a3-409e-aed4-75833b2b49c0] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [8e4e802b-04a3-409e-aed4-75833b2b49c0] Performed ActiveStorage::AnalyzeJob (Job ID: 8e4e802b-04a3-409e-aed4-75833b2b49c0) from Async(default) in 32.48ms
+[36m Disk Storage (1.6ms) [0m[32mUploaded file to key: E7DUtrMzzBKn5iBJ3f5MJ4c9 (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mCmor::Blog::AssetDetail Load (0.3ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ?[0m [["post_id", 1]]
- [1m[36mActiveStorage::Attachment Load (0.4ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[36mActiveStorage::Attachment Load (0.3ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
- [1m[36mCmor::Blog::AssetDetail Load (0.6ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
- [1m[36mCmor::Blog::AssetDetail Create (0.5ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 3], ["position", 3], ["created_at", "2019-03-31 08:49:33.122488"], ["updated_at", "2019-03-31 08:49:33.122488"]]
- [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [3b50d1df-22a6-42d9-8192-a5ca64bc3fb1] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [3b50d1df-22a6-42d9-8192-a5ca64bc3fb1] [1m[36mActiveStorage::Blob Update (0.4ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 3]]
-[ActiveJob] [ActiveStorage::AnalyzeJob] [3b50d1df-22a6-42d9-8192-a5ca64bc3fb1] [1m[35m (1.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [3b50d1df-22a6-42d9-8192-a5ca64bc3fb1] Performed ActiveStorage::AnalyzeJob (Job ID: 3b50d1df-22a6-42d9-8192-a5ca64bc3fb1) from Async(default) in 44.32ms
- [1m[35m (12.3ms)[0m [1m[34mSELECT COUNT(*) FROM "cmor_blog_asset_details"[0m
- [1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
+ [1m[36mActiveStorage::Blob Create (1.2ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "E7DUtrMzzBKn5iBJ3f5MJ4c9"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-04-12 00:12:46.685459"]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[36m Disk Storage (1.6ms) [0m[32mUploaded file to key: wGwLxXkcsHxAbTgWEnbFGUaC (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Blob Create (0.4ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "wGwLxXkcsHxAbTgWEnbFGUaC"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-04-12 00:12:46.899475"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCmor::Blog::Post Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" IS NOT NULL AND "cmor_blog_posts"."slug" = ? LIMIT ?[0m [["slug", "blog-post-10"], ["LIMIT", 1]]
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "MyString"], ["created_at", "2019-04-12 00:12:46.909339"], ["updated_at", "2019-04-12 00:12:46.909339"]]
+ [1m[36mCmor::Blog::Post Load (0.1ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE (1 = 1) AND ("cmor_blog_posts"."position" IS NOT NULL) ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
+ [1m[36mCmor::Blog::Post Create (0.2ms)[0m [1m[32mINSERT INTO "cmor_blog_posts" ("title", "body", "created_by_id", "slug", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["title", "Blog post 10"], ["body", "This is a blog post!"], ["created_by_id", 1], ["slug", "blog-post-10"], ["position", 1], ["created_at", "2019-04-12 00:12:46.911299"], ["updated_at", "2019-04-12 00:12:46.911299"]]
+ [1m[36mActiveStorage::Attachment Create (0.2ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 1], ["created_at", "2019-04-12 00:12:46.914994"]]
+ [1m[36mActiveStorage::Attachment Create (0.2ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 2], ["created_at", "2019-04-12 00:12:46.916999"]]
+ [1m[36mCmor::Blog::AssetDetail Load (1.2ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Create (0.2ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 1], ["position", 1], ["created_at", "2019-04-12 00:12:46.919023"], ["updated_at", "2019-04-12 00:12:46.919023"]]
+ [1m[36mCmor::Blog::AssetDetail Load (0.3ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Create (0.7ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 2], ["position", 2], ["created_at", "2019-04-12 00:12:46.922412"], ["updated_at", "2019-04-12 00:12:46.922412"]]
+ [1m[36mCmor::Blog::Post Update (0.2ms)[0m [1m[33mUPDATE "cmor_blog_posts" SET "updated_at" = ? WHERE "cmor_blog_posts"."id" = ?[0m [["updated_at", "2019-04-12 00:12:46.918445"], ["id", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: 1d4bc108-4282-4560-9744-40f5ee982a46) to Async(default) with arguments: #<GlobalID:0x00000006fb73a8 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
+[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: bafbc679-4ea8-4ad2-9be4-daa1e567629a) to Async(default) with arguments: #<GlobalID:0x00000006fc92b0 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/2>>
+ [1m[36mActiveStorage::Blob Load (2.9ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [1d4bc108-4282-4560-9744-40f5ee982a46] Performing ActiveStorage::AnalyzeJob (Job ID: 1d4bc108-4282-4560-9744-40f5ee982a46) from Async(default) with arguments: #<GlobalID:0x000000070deb00 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
+[ActiveJob] [ActiveStorage::AnalyzeJob] [1d4bc108-4282-4560-9744-40f5ee982a46] [36m Disk Storage (0.1ms) [0m[34mDownloaded file from key: E7DUtrMzzBKn5iBJ3f5MJ4c9[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [1d4bc108-4282-4560-9744-40f5ee982a46] Skipping image analysis because the mini_magick gem isn't installed
+ [1m[36mActiveStorage::Blob Load (8.7ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [bafbc679-4ea8-4ad2-9be4-daa1e567629a] Performing ActiveStorage::AnalyzeJob (Job ID: bafbc679-4ea8-4ad2-9be4-daa1e567629a) from Async(default) with arguments: #<GlobalID:0x00000007122cd8 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/2>>
+[ActiveJob] [ActiveStorage::AnalyzeJob] [bafbc679-4ea8-4ad2-9be4-daa1e567629a] [36m Disk Storage (0.1ms) [0m[34mDownloaded file from key: wGwLxXkcsHxAbTgWEnbFGUaC[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [bafbc679-4ea8-4ad2-9be4-daa1e567629a] Skipping image analysis because the mini_magick gem isn't installed
+ [1m[35m (14.5ms)[0m [1m[34mSELECT COUNT(*) FROM "active_storage_attachments"[0m
+[36m Disk Storage (0.6ms) [0m[32mUploaded file to key: AYtoXSYNLkw3gK2UVV4usVy6 (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [1d4bc108-4282-4560-9744-40f5ee982a46] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [1d4bc108-4282-4560-9744-40f5ee982a46] [1m[36mActiveStorage::Blob Update (0.2ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 1]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [1d4bc108-4282-4560-9744-40f5ee982a46] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [1d4bc108-4282-4560-9744-40f5ee982a46] Performed ActiveStorage::AnalyzeJob (Job ID: 1d4bc108-4282-4560-9744-40f5ee982a46) from Async(default) in 18.82ms
+[ActiveJob] [ActiveStorage::AnalyzeJob] [bafbc679-4ea8-4ad2-9be4-daa1e567629a] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [bafbc679-4ea8-4ad2-9be4-daa1e567629a] [1m[36mActiveStorage::Blob Update (0.3ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 2]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [bafbc679-4ea8-4ad2-9be4-daa1e567629a] [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [bafbc679-4ea8-4ad2-9be4-daa1e567629a] Performed ActiveStorage::AnalyzeJob (Job ID: bafbc679-4ea8-4ad2-9be4-daa1e567629a) from Async(default) in 14.65ms
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Blob Create (0.2ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "AYtoXSYNLkw3gK2UVV4usVy6"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-04-12 00:12:46.955872"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Attachment Create (0.2ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 3], ["created_at", "2019-04-12 00:12:46.961323"]]
+ [1m[36mCmor::Blog::Post Update (0.1ms)[0m [1m[33mUPDATE "cmor_blog_posts" SET "updated_at" = ? WHERE "cmor_blog_posts"."id" = ?[0m [["updated_at", "2019-04-12 00:12:46.962552"], ["id", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: dcafabd4-3674-49a9-bba7-9f1d70fdc1d9) to Async(default) with arguments: #<GlobalID:0x000000076cf8c0 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/3>>
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCmor::Blog::AssetDetail Load (0.2ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ?[0m [["post_id", 1]]
+ [1m[36mActiveStorage::Attachment Load (0.1ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mActiveStorage::Attachment Load (0.1ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Load (0.1ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Destroy (1.1ms)[0m [1m[31mDELETE FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."id" = ?[0m [["id", 1]]
+ [1m[36mActiveStorage::Attachment Load (0.2ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mActiveStorage::Attachment Destroy (0.2ms)[0m [1m[31mDELETE FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ?[0m [["id", 1]]
+ [1m[36mCmor::Blog::Post Load (0.1ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" = ? ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Update All (0.2ms)[0m [1m[33mUPDATE "cmor_blog_asset_details" SET "position" = ("cmor_blog_asset_details"."position" - 1), "updated_at" = '2019-04-12 00:12:46.983091' WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" > 1)[0m [["post_id", 1]]
+ [1m[36mCmor::Blog::AssetDetail Load (0.1ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Destroy (0.4ms)[0m [1m[31mDELETE FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."id" = ?[0m [["id", 2]]
+ [1m[36mActiveStorage::Attachment Load (0.1ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[36mActiveStorage::Attachment Destroy (0.1ms)[0m [1m[31mDELETE FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ?[0m [["id", 2]]
+ [1m[36mCmor::Blog::Post Load (0.1ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" = ? ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Update All (0.2ms)[0m [1m[33mUPDATE "cmor_blog_asset_details" SET "position" = ("cmor_blog_asset_details"."position" - 1), "updated_at" = '2019-04-12 00:12:46.992510' WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" > 1)[0m [["post_id", 1]]
+ [1m[36mCmor::Blog::AssetDetail Load (1.0ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Create (0.2ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 3], ["position", 1], ["created_at", "2019-04-12 00:12:46.993582"], ["updated_at", "2019-04-12 00:12:46.993582"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Blob Load (32.2ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "active_storage_attachments"[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [dcafabd4-3674-49a9-bba7-9f1d70fdc1d9] Performing ActiveStorage::AnalyzeJob (Job ID: dcafabd4-3674-49a9-bba7-9f1d70fdc1d9) from Async(default) with arguments: #<GlobalID:0x00000007a77cc0 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/3>>
+ [1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [dcafabd4-3674-49a9-bba7-9f1d70fdc1d9] [36m Disk Storage (207.7ms) [0m[34mDownloaded file from key: AYtoXSYNLkw3gK2UVV4usVy6[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [dcafabd4-3674-49a9-bba7-9f1d70fdc1d9] Skipping image analysis because the mini_magick gem isn't installed
+[ActiveJob] [ActiveStorage::AnalyzeJob] [dcafabd4-3674-49a9-bba7-9f1d70fdc1d9] [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [dcafabd4-3674-49a9-bba7-9f1d70fdc1d9] [1m[36mActiveStorage::Blob Update (1.0ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 3]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [dcafabd4-3674-49a9-bba7-9f1d70fdc1d9] [1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [dcafabd4-3674-49a9-bba7-9f1d70fdc1d9] Performed ActiveStorage::AnalyzeJob (Job ID: dcafabd4-3674-49a9-bba7-9f1d70fdc1d9) from Async(default) in 221.38ms
+ [1m[35m (0.9ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mCmor::Blog::Post Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" IS NOT NULL AND "cmor_blog_posts"."slug" = ? LIMIT ?[0m [["slug", "blog-post-11"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
- [1m[36mActiveStorage::Attachment Load (0.3ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments"[0m
- [1m[36mActiveStorage::Blob Load (0.2ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs"[0m
-[36m Disk Storage (1.9ms) [0m[32mUploaded file to key: 6BQBpPmgb9wGe1CJ4bxHUT9E (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
+ [1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mActiveStorage::Blob Create (0.6ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "6BQBpPmgb9wGe1CJ4bxHUT9E"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-03-31 08:49:33.530554"]]
+ [1m[36mCmor::Blog::Post Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" IS NOT NULL AND "cmor_blog_posts"."slug" = ? LIMIT ?[0m [["slug", "blog-post-12"], ["LIMIT", 1]]
+ [1m[36mUser Create (0.8ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "MyString"], ["created_at", "2019-04-12 00:12:47.314756"], ["updated_at", "2019-04-12 00:12:47.314756"]]
+ [1m[36mCmor::Blog::Post Load (1.5ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE (1 = 1) AND ("cmor_blog_posts"."position" IS NOT NULL) ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
+ [1m[36mCmor::Blog::Post Create (1.9ms)[0m [1m[32mINSERT INTO "cmor_blog_posts" ("title", "body", "created_by_id", "slug", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["title", "Blog post 12"], ["body", "This is a blog post!"], ["created_by_id", 1], ["slug", "blog-post-12"], ["position", 1], ["created_at", "2019-04-12 00:12:47.318778"], ["updated_at", "2019-04-12 00:12:47.318778"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
-[36m Disk Storage (1.2ms) [0m[32mUploaded file to key: 9g9uC6F9rPpyYMYFBJvMieHZ (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
+ [1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.8ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
+[36m Disk Storage (1.4ms) [0m[32mUploaded file to key: AGwQZjSscJi1YzPNJPrgCmMK (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mActiveStorage::Blob Create (0.6ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "9g9uC6F9rPpyYMYFBJvMieHZ"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-03-31 08:49:33.543274"]]
+ [1m[36mActiveStorage::Blob Create (0.9ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "AGwQZjSscJi1YzPNJPrgCmMK"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-04-12 00:12:47.392171"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+[36m Disk Storage (0.8ms) [0m[32mUploaded file to key: GkJa9KLEyvjzFcW2Nsy2u8FY (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mCmor::Blog::Post Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" IS NOT NULL AND "cmor_blog_posts"."slug" = ? LIMIT ?[0m [["slug", "blog-post-8"], ["LIMIT", 1]]
- [1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "MyString"], ["created_at", "2019-03-31 08:49:33.560412"], ["updated_at", "2019-03-31 08:49:33.560412"]]
- [1m[36mCmor::Blog::Post Load (1.2ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE (1 = 1) AND ("cmor_blog_posts"."position" IS NOT NULL) ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
- [1m[36mCmor::Blog::Post Create (0.4ms)[0m [1m[32mINSERT INTO "cmor_blog_posts" ("title", "body", "created_by_id", "slug", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["title", "Blog post 8"], ["body", "This is a blog post!"], ["created_by_id", 1], ["slug", "blog-post-8"], ["position", 1], ["created_at", "2019-03-31 08:49:33.563037"], ["updated_at", "2019-03-31 08:49:33.563037"]]
- [1m[36mActiveStorage::Attachment Create (0.6ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 1], ["created_at", "2019-03-31 08:49:33.570134"]]
- [1m[36mActiveStorage::Attachment Create (1.0ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 2], ["created_at", "2019-03-31 08:49:33.574864"]]
- [1m[36mCmor::Blog::AssetDetail Load (0.5ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
- [1m[36mCmor::Blog::AssetDetail Create (0.6ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 1], ["position", 1], ["created_at", "2019-03-31 08:49:33.578731"], ["updated_at", "2019-03-31 08:49:33.578731"]]
- [1m[36mCmor::Blog::AssetDetail Load (1.1ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
- [1m[36mCmor::Blog::AssetDetail Create (0.4ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 2], ["position", 2], ["created_at", "2019-03-31 08:49:33.585585"], ["updated_at", "2019-03-31 08:49:33.585585"]]
- [1m[36mCmor::Blog::Post Update (0.3ms)[0m [1m[33mUPDATE "cmor_blog_posts" SET "updated_at" = ? WHERE "cmor_blog_posts"."id" = ?[0m [["updated_at", "2019-03-31 08:49:33.577733"], ["id", 1]]
- [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
-[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: c6109dbe-4986-4652-bb55-22a5b8dee149) to Async(default) with arguments: #<GlobalID:0x000000077b0230 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
-[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: 18a4c11e-4002-44bf-9f5a-608ec6926277) to Async(default) with arguments: #<GlobalID:0x00000008681520 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/2>>
- [1m[36mActiveStorage::Blob Load (7.3ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
-[ActiveJob] [ActiveStorage::AnalyzeJob] [c6109dbe-4986-4652-bb55-22a5b8dee149] Performing ActiveStorage::AnalyzeJob (Job ID: c6109dbe-4986-4652-bb55-22a5b8dee149) from Async(default) with arguments: #<GlobalID:0x0000000867f748 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
- [1m[36mActiveStorage::Blob Load (5.2ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
- [1m[35m (4.0ms)[0m [1m[34mSELECT COUNT(*) FROM "active_storage_attachments"[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [c6109dbe-4986-4652-bb55-22a5b8dee149] [36m Disk Storage (0.7ms) [0m[34mDownloaded file from key: 6BQBpPmgb9wGe1CJ4bxHUT9E[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [18a4c11e-4002-44bf-9f5a-608ec6926277] Performing ActiveStorage::AnalyzeJob (Job ID: 18a4c11e-4002-44bf-9f5a-608ec6926277) from Async(default) with arguments: #<GlobalID:0x007fe45c0335c0 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/2>>
-[ActiveJob] [ActiveStorage::AnalyzeJob] [c6109dbe-4986-4652-bb55-22a5b8dee149] Skipping image analysis because the mini_magick gem isn't installed
-[ActiveJob] [ActiveStorage::AnalyzeJob] [c6109dbe-4986-4652-bb55-22a5b8dee149] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [18a4c11e-4002-44bf-9f5a-608ec6926277] [36m Disk Storage (17.9ms) [0m[34mDownloaded file from key: 9g9uC6F9rPpyYMYFBJvMieHZ[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [c6109dbe-4986-4652-bb55-22a5b8dee149] [1m[36mActiveStorage::Blob Update (0.5ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 1]]
-[36m Disk Storage (8.6ms) [0m[32mUploaded file to key: sizUmQu3AkHUKihuAuauzGkV (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [18a4c11e-4002-44bf-9f5a-608ec6926277] Skipping image analysis because the mini_magick gem isn't installed
-[ActiveJob] [ActiveStorage::AnalyzeJob] [c6109dbe-4986-4652-bb55-22a5b8dee149] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [c6109dbe-4986-4652-bb55-22a5b8dee149] Performed ActiveStorage::AnalyzeJob (Job ID: c6109dbe-4986-4652-bb55-22a5b8dee149) from Async(default) in 55.63ms
+ [1m[36mActiveStorage::Blob Create (0.2ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "GkJa9KLEyvjzFcW2Nsy2u8FY"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-04-12 00:12:47.446214"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCmor::Blog::Post Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" IS NOT NULL AND "cmor_blog_posts"."slug" = ? LIMIT ?[0m [["slug", "blog-post-14"], ["LIMIT", 1]]
+ [1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "MyString"], ["created_at", "2019-04-12 00:12:47.466576"], ["updated_at", "2019-04-12 00:12:47.466576"]]
+ [1m[36mCmor::Blog::Post Load (0.2ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE (1 = 1) AND ("cmor_blog_posts"."position" IS NOT NULL) ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
+ [1m[36mCmor::Blog::Post Create (0.4ms)[0m [1m[32mINSERT INTO "cmor_blog_posts" ("title", "body", "created_by_id", "slug", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["title", "Blog post 14"], ["body", "This is a blog post!"], ["created_by_id", 1], ["slug", "blog-post-14"], ["position", 1], ["created_at", "2019-04-12 00:12:47.468761"], ["updated_at", "2019-04-12 00:12:47.468761"]]
+ [1m[36mActiveStorage::Attachment Create (0.9ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 1], ["created_at", "2019-04-12 00:12:47.484795"]]
+ [1m[36mCmor::Blog::AssetDetail Load (0.2ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Create (0.3ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 1], ["position", 1], ["created_at", "2019-04-12 00:12:47.489606"], ["updated_at", "2019-04-12 00:12:47.489606"]]
+ [1m[36mCmor::Blog::AssetDetail Load (0.3ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Create (0.4ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 1], ["position", 2], ["created_at", "2019-04-12 00:12:47.494201"], ["updated_at", "2019-04-12 00:12:47.494201"]]
+ [1m[36mCmor::Blog::Post Update (0.5ms)[0m [1m[33mUPDATE "cmor_blog_posts" SET "updated_at" = ? WHERE "cmor_blog_posts"."id" = ?[0m [["updated_at", "2019-04-12 00:12:47.488695"], ["id", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: f51d7522-9cf4-40c2-a6a6-9cdc06b0fe37) to Async(default) with arguments: #<GlobalID:0x00000009b2a670 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
+ [1m[36mActiveStorage::Blob Load (3.0ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [f51d7522-9cf4-40c2-a6a6-9cdc06b0fe37] Performing ActiveStorage::AnalyzeJob (Job ID: f51d7522-9cf4-40c2-a6a6-9cdc06b0fe37) from Async(default) with arguments: #<GlobalID:0x0000000992ff00 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
+ [1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [f51d7522-9cf4-40c2-a6a6-9cdc06b0fe37] [36m Disk Storage (5.3ms) [0m[34mDownloaded file from key: GkJa9KLEyvjzFcW2Nsy2u8FY[0m
+ [1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [f51d7522-9cf4-40c2-a6a6-9cdc06b0fe37] Skipping image analysis because the mini_magick gem isn't installed
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [f51d7522-9cf4-40c2-a6a6-9cdc06b0fe37] [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.9ms)[0m [1m[31mrollback transaction[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [f51d7522-9cf4-40c2-a6a6-9cdc06b0fe37] [1m[35m (0.5ms)[0m [1m[36mbegin transaction[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [f51d7522-9cf4-40c2-a6a6-9cdc06b0fe37] [1m[36mActiveStorage::Blob Update (0.4ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 1]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [f51d7522-9cf4-40c2-a6a6-9cdc06b0fe37] [1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [f51d7522-9cf4-40c2-a6a6-9cdc06b0fe37] [1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [f51d7522-9cf4-40c2-a6a6-9cdc06b0fe37] Performed ActiveStorage::AnalyzeJob (Job ID: f51d7522-9cf4-40c2-a6a6-9cdc06b0fe37) from Async(default) in 76.94ms
+ [1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.5ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.7ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (3.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (1.5ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (1.7ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.5ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (1.5ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.7ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "MyString"], ["created_at", "2019-04-15 22:11:10.448335"], ["updated_at", "2019-04-15 22:11:10.448335"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mActiveStorage::Blob Create (1.5ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "sizUmQu3AkHUKihuAuauzGkV"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-03-31 08:49:33.665333"]]
- [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [18a4c11e-4002-44bf-9f5a-608ec6926277] [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [18a4c11e-4002-44bf-9f5a-608ec6926277] [1m[36mActiveStorage::Blob Update (0.7ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 2]]
-[ActiveJob] [ActiveStorage::AnalyzeJob] [18a4c11e-4002-44bf-9f5a-608ec6926277] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [18a4c11e-4002-44bf-9f5a-608ec6926277] Performed ActiveStorage::AnalyzeJob (Job ID: 18a4c11e-4002-44bf-9f5a-608ec6926277) from Async(default) in 54.93ms
+ [1m[36mCmor::Blog::Post Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" IS NOT NULL AND "cmor_blog_posts"."slug" = ? LIMIT ?[0m [["slug", "blog-post-1"], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::Post Load (0.5ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE (1 = 1) AND ("cmor_blog_posts"."position" IS NOT NULL) ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
+ [1m[36mCmor::Blog::Post Create (0.4ms)[0m [1m[32mINSERT INTO "cmor_blog_posts" ("title", "body", "created_by_id", "slug", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["title", "Blog post 1"], ["body", "This is a blog post!"], ["created_by_id", 1], ["slug", "blog-post-1"], ["position", 1], ["created_at", "2019-04-15 22:11:10.915797"], ["updated_at", "2019-04-15 22:11:10.915797"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mActiveStorage::Attachment Create (0.6ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 3], ["created_at", "2019-03-31 08:49:33.687892"]]
- [1m[36mCmor::Blog::Post Update (0.5ms)[0m [1m[33mUPDATE "cmor_blog_posts" SET "updated_at" = ? WHERE "cmor_blog_posts"."id" = ?[0m [["updated_at", "2019-03-31 08:49:33.691465"], ["id", 1]]
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "MyString"], ["created_at", "2019-04-15 22:11:10.926537"], ["updated_at", "2019-04-15 22:11:10.926537"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
-[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: 0a4f5399-2fa6-42a7-ada5-936615d5bc39) to Async(default) with arguments: #<GlobalID:0x0000000868fa30 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/3>>
- [1m[35m (0.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mCmor::Blog::AssetDetail Load (0.6ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ?[0m [["post_id", 1]]
- [1m[36mActiveStorage::Attachment Load (0.2ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[36mActiveStorage::Attachment Load (0.2ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
- [1m[36mCmor::Blog::AssetDetail Load (0.6ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
- [1m[36mCmor::Blog::AssetDetail Create (1.2ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 3], ["position", 3], ["created_at", "2019-03-31 08:49:33.715242"], ["updated_at", "2019-03-31 08:49:33.715242"]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCmor::Blog::Post Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" IS NOT NULL AND "cmor_blog_posts"."slug" = ? LIMIT ?[0m [["slug", "blog-post-2"], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::Post Load (0.3ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE (1 = 1) AND ("cmor_blog_posts"."position" IS NOT NULL) ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
+ [1m[36mCmor::Blog::Post Create (0.3ms)[0m [1m[32mINSERT INTO "cmor_blog_posts" ("title", "body", "created_by_id", "slug", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["title", "Blog post 2"], ["body", "This is a blog post!"], ["created_by_id", 2], ["slug", "blog-post-2"], ["position", 2], ["created_at", "2019-04-15 22:11:10.932063"], ["updated_at", "2019-04-15 22:11:10.932063"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "MyString"], ["created_at", "2019-04-15 22:11:10.941276"], ["updated_at", "2019-04-15 22:11:10.941276"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCmor::Blog::Post Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" IS NOT NULL AND "cmor_blog_posts"."slug" = ? LIMIT ?[0m [["slug", "blog-post-3"], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::Post Load (0.5ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE (1 = 1) AND ("cmor_blog_posts"."position" IS NOT NULL) ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
+ [1m[36mCmor::Blog::Post Create (0.1ms)[0m [1m[32mINSERT INTO "cmor_blog_posts" ("title", "body", "created_by_id", "slug", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["title", "Blog post 3"], ["body", "This is a blog post!"], ["created_by_id", 3], ["slug", "blog-post-3"], ["position", 3], ["created_at", "2019-04-15 22:11:10.947508"], ["updated_at", "2019-04-15 22:11:10.947508"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[36mActiveStorage::Blob Load (23.7ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
- [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "active_storage_attachments"[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [0a4f5399-2fa6-42a7-ada5-936615d5bc39] Performing ActiveStorage::AnalyzeJob (Job ID: 0a4f5399-2fa6-42a7-ada5-936615d5bc39) from Async(default) with arguments: #<GlobalID:0x00000008517bf8 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/3>>
- [1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+Started GET "/de/blog/posts" for 127.0.0.1 at 2019-04-16 00:11:10 +0200
+Processing by Cmor::Blog::PostsController#index as HTML
+ Parameters: {"locale"=>"de"}
+ Rendering /home/vagrant/rails/cmor/cmor/cmor_blog/app/views/cmor/blog/posts/index.html.haml within layouts/application
+ [1m[36mCmor::Blog::Post Load (0.5ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."published_at" IS NOT NULL ORDER BY "cmor_blog_posts"."position" DESC LIMIT ? OFFSET ?[0m [["LIMIT", 25], ["OFFSET", 0]]
+ Rendered /home/vagrant/rails/cmor/cmor/cmor_blog/app/views/cmor/blog/posts/index.html.haml within layouts/application (28.2ms)
+Completed 200 OK in 587ms (Views: 580.9ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "MyString"], ["created_at", "2019-04-15 22:11:11.600094"], ["updated_at", "2019-04-15 22:11:11.600094"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCmor::Blog::Post Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" IS NOT NULL AND "cmor_blog_posts"."slug" = ? LIMIT ?[0m [["slug", "blog-post-4"], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::Post Load (0.4ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE (1 = 1) AND ("cmor_blog_posts"."position" IS NOT NULL) ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
+ [1m[36mCmor::Blog::Post Create (0.5ms)[0m [1m[32mINSERT INTO "cmor_blog_posts" ("title", "body", "published_at", "created_by_id", "slug", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["title", "Blog post 4"], ["body", "This is a blog post!"], ["published_at", "2019-04-15 22:06:11.598237"], ["created_by_id", 1], ["slug", "blog-post-4"], ["position", 1], ["created_at", "2019-04-15 22:11:11.606687"], ["updated_at", "2019-04-15 22:11:11.606687"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/de/blog/posts/blog-post-4" for 127.0.0.1 at 2019-04-16 00:11:11 +0200
+Processing by Cmor::Blog::PostsController#show as HTML
+ Parameters: {"locale"=>"de", "id"=>"blog-post-4"}
+ [1m[36mCmor::Blog::Post Load (0.4ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."published_at" IS NOT NULL AND "cmor_blog_posts"."slug" = ? ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["slug", "blog-post-4"], ["LIMIT", 1]]
+ Rendering /home/vagrant/rails/cmor/cmor/cmor_blog/app/views/cmor/blog/posts/show.html.haml within layouts/application
+ [1m[36mUser Load (1.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_asset_details" INNER JOIN "active_storage_attachments" ON "active_storage_attachments"."id" = "cmor_blog_asset_details"."asset_id" INNER JOIN "active_storage_blobs" ON "active_storage_blobs"."id" = "active_storage_attachments"."blob_id" WHERE "cmor_blog_asset_details"."post_id" = ? AND (active_storage_blobs.content_type LIKE '%image/%') LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_asset_details" INNER JOIN "active_storage_attachments" ON "active_storage_attachments"."id" = "cmor_blog_asset_details"."asset_id" INNER JOIN "active_storage_blobs" ON "active_storage_blobs"."id" = "active_storage_attachments"."blob_id" WHERE "cmor_blog_asset_details"."post_id" = ? AND (active_storage_blobs.content_type NOT LIKE '%image/%') LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
+ Rendered /home/vagrant/rails/cmor/cmor/cmor_blog/app/views/cmor/blog/posts/_post.html.haml (328.6ms)
+ Rendered /home/vagrant/rails/cmor/cmor/cmor_blog/app/views/cmor/blog/posts/show.html.haml within layouts/application (339.1ms)
+Completed 200 OK in 351ms (Views: 339.2ms | ActiveRecord: 3.3ms)
+ [1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[36mActiveStorage::Attachment Load (0.3ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments"[0m
- [1m[36mActiveStorage::Blob Load (0.6ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs"[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [0a4f5399-2fa6-42a7-ada5-936615d5bc39] [36m Disk Storage (48.8ms) [0m[34mDownloaded file from key: sizUmQu3AkHUKihuAuauzGkV[0m
-[36m Disk Storage (20.9ms) [0m[32mUploaded file to key: GedieYd2uauQUZMU48JXhz1Z (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
- [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mActiveStorage::Blob Create (4.2ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "GedieYd2uauQUZMU48JXhz1Z"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-03-31 08:49:33.810085"]]
- [1m[35m (3.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [0a4f5399-2fa6-42a7-ada5-936615d5bc39] Skipping image analysis because the mini_magick gem isn't installed
-[ActiveJob] [ActiveStorage::AnalyzeJob] [0a4f5399-2fa6-42a7-ada5-936615d5bc39] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [0a4f5399-2fa6-42a7-ada5-936615d5bc39] [1m[36mActiveStorage::Blob Update (0.6ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 3]]
-[ActiveJob] [ActiveStorage::AnalyzeJob] [0a4f5399-2fa6-42a7-ada5-936615d5bc39] [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [0a4f5399-2fa6-42a7-ada5-936615d5bc39] Performed ActiveStorage::AnalyzeJob (Job ID: 0a4f5399-2fa6-42a7-ada5-936615d5bc39) from Async(default) in 127.36ms
-[36m Disk Storage (3.9ms) [0m[32mUploaded file to key: ztphXZFLBnVKn2WcaR1soR4z (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
- [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mActiveStorage::Blob Create (0.8ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "ztphXZFLBnVKn2WcaR1soR4z"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-03-31 08:49:33.875099"]]
- [1m[35m (1.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Blob Load (0.2ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs"[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mCmor::Blog::Post Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" IS NOT NULL AND "cmor_blog_posts"."slug" = ? LIMIT ?[0m [["slug", "blog-post-9"], ["LIMIT", 1]]
- [1m[36mUser Create (0.8ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "MyString"], ["created_at", "2019-03-31 08:49:33.904693"], ["updated_at", "2019-03-31 08:49:33.904693"]]
- [1m[36mCmor::Blog::Post Load (0.5ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE (1 = 1) AND ("cmor_blog_posts"."position" IS NOT NULL) ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
- [1m[36mCmor::Blog::Post Create (0.7ms)[0m [1m[32mINSERT INTO "cmor_blog_posts" ("title", "body", "created_by_id", "slug", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["title", "Blog post 9"], ["body", "This is a blog post!"], ["created_by_id", 1], ["slug", "blog-post-9"], ["position", 1], ["created_at", "2019-03-31 08:49:33.908309"], ["updated_at", "2019-03-31 08:49:33.908309"]]
- [1m[36mActiveStorage::Attachment Create (0.8ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 1], ["created_at", "2019-03-31 08:49:33.917849"]]
- [1m[36mActiveStorage::Attachment Create (0.3ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 2], ["created_at", "2019-03-31 08:49:33.923174"]]
- [1m[36mCmor::Blog::AssetDetail Load (0.6ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
- [1m[36mCmor::Blog::AssetDetail Create (0.8ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 1], ["position", 1], ["created_at", "2019-03-31 08:49:33.927983"], ["updated_at", "2019-03-31 08:49:33.927983"]]
- [1m[36mCmor::Blog::AssetDetail Load (0.6ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
- [1m[36mCmor::Blog::AssetDetail Create (0.4ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 2], ["position", 2], ["created_at", "2019-03-31 08:49:33.935618"], ["updated_at", "2019-03-31 08:49:33.935618"]]
- [1m[36mCmor::Blog::Post Update (0.4ms)[0m [1m[33mUPDATE "cmor_blog_posts" SET "updated_at" = ? WHERE "cmor_blog_posts"."id" = ?[0m [["updated_at", "2019-03-31 08:49:33.926259"], ["id", 1]]
- [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
-[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: d1473cbe-3cc3-4e01-bdcb-63efafc38072) to Async(default) with arguments: #<GlobalID:0x0000000832c500 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
-[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: e84ba7ef-5dee-41ae-8faf-1de700ccd075) to Async(default) with arguments: #<GlobalID:0x0000000831c100 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/2>>
- [1m[36mActiveStorage::Blob Load (7.2ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
-[ActiveJob] [ActiveStorage::AnalyzeJob] [d1473cbe-3cc3-4e01-bdcb-63efafc38072] Performing ActiveStorage::AnalyzeJob (Job ID: d1473cbe-3cc3-4e01-bdcb-63efafc38072) from Async(default) with arguments: #<GlobalID:0x000000082d6858 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
- [1m[36mActiveStorage::Blob Load (4.6ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
-[ActiveJob] [ActiveStorage::AnalyzeJob] [e84ba7ef-5dee-41ae-8faf-1de700ccd075] Performing ActiveStorage::AnalyzeJob (Job ID: e84ba7ef-5dee-41ae-8faf-1de700ccd075) from Async(default) with arguments: #<GlobalID:0x00000008296f00 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/2>>
-[ActiveJob] [ActiveStorage::AnalyzeJob] [d1473cbe-3cc3-4e01-bdcb-63efafc38072] [36m Disk Storage (7.5ms) [0m[34mDownloaded file from key: GedieYd2uauQUZMU48JXhz1Z[0m
- [1m[35m (14.1ms)[0m [1m[34mSELECT COUNT(*) FROM "cmor_blog_asset_details"[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [e84ba7ef-5dee-41ae-8faf-1de700ccd075] [36m Disk Storage (0.3ms) [0m[34mDownloaded file from key: ztphXZFLBnVKn2WcaR1soR4z[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [d1473cbe-3cc3-4e01-bdcb-63efafc38072] Skipping image analysis because the mini_magick gem isn't installed
-[ActiveJob] [ActiveStorage::AnalyzeJob] [e84ba7ef-5dee-41ae-8faf-1de700ccd075] Skipping image analysis because the mini_magick gem isn't installed
-[ActiveJob] [ActiveStorage::AnalyzeJob] [d1473cbe-3cc3-4e01-bdcb-63efafc38072] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
-[36m Disk Storage (1.6ms) [0m[32mUploaded file to key: j3WsLcMfhS4229NHxw85f8M4 (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [d1473cbe-3cc3-4e01-bdcb-63efafc38072] [1m[36mActiveStorage::Blob Update (0.4ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 1]]
-[ActiveJob] [ActiveStorage::AnalyzeJob] [d1473cbe-3cc3-4e01-bdcb-63efafc38072] [1m[35m (1.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [d1473cbe-3cc3-4e01-bdcb-63efafc38072] Performed ActiveStorage::AnalyzeJob (Job ID: d1473cbe-3cc3-4e01-bdcb-63efafc38072) from Async(default) in 41.23ms
-[ActiveJob] [ActiveStorage::AnalyzeJob] [e84ba7ef-5dee-41ae-8faf-1de700ccd075] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [e84ba7ef-5dee-41ae-8faf-1de700ccd075] [1m[36mActiveStorage::Blob Update (0.4ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 2]]
-[ActiveJob] [ActiveStorage::AnalyzeJob] [e84ba7ef-5dee-41ae-8faf-1de700ccd075] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [e84ba7ef-5dee-41ae-8faf-1de700ccd075] Performed ActiveStorage::AnalyzeJob (Job ID: e84ba7ef-5dee-41ae-8faf-1de700ccd075) from Async(default) in 44.68ms
- [1m[36mActiveStorage::Blob Create (9.4ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "j3WsLcMfhS4229NHxw85f8M4"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-03-31 08:49:33.994518"]]
+ [1m[36mCmor::Blog::Post Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" IS NOT NULL AND "cmor_blog_posts"."slug" = ? LIMIT ?[0m [["slug", "blog-post-5"], ["LIMIT", 1]]
+ [1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "MyString"], ["created_at", "2019-04-15 22:11:11.988937"], ["updated_at", "2019-04-15 22:11:11.988937"]]
+ [1m[36mCmor::Blog::Post Load (0.2ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE (1 = 1) AND ("cmor_blog_posts"."position" IS NOT NULL) ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
+ [1m[36mCmor::Blog::Post Create (1.1ms)[0m [1m[32mINSERT INTO "cmor_blog_posts" ("title", "body", "created_by_id", "slug", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["title", "Blog post 5"], ["body", "This is a blog post!"], ["created_by_id", 1], ["slug", "blog-post-5"], ["position", 1], ["created_at", "2019-04-15 22:11:11.991079"], ["updated_at", "2019-04-15 22:11:11.991079"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "cmor_blog_asset_details"[0m
+[36m Disk Storage (0.9ms) [0m[32mUploaded file to key: SQEyLGZPXFD9ppG7zxX5Dv4p (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mActiveStorage::Attachment Create (0.5ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 3], ["created_at", "2019-03-31 08:49:34.011893"]]
- [1m[36mCmor::Blog::Post Update (0.4ms)[0m [1m[33mUPDATE "cmor_blog_posts" SET "updated_at" = ? WHERE "cmor_blog_posts"."id" = ?[0m [["updated_at", "2019-03-31 08:49:34.015333"], ["id", 1]]
+ [1m[36mActiveStorage::Blob Create (0.6ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "SQEyLGZPXFD9ppG7zxX5Dv4p"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-04-15 22:11:12.189237"]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
-[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: b27b1352-7c28-40c8-addb-c0de8a734972) to Async(default) with arguments: #<GlobalID:0x00000005b46c48 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/3>>
- [1m[36mActiveStorage::Blob Load (1.0ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
-[ActiveJob] [ActiveStorage::AnalyzeJob] [b27b1352-7c28-40c8-addb-c0de8a734972] Performing ActiveStorage::AnalyzeJob (Job ID: b27b1352-7c28-40c8-addb-c0de8a734972) from Async(default) with arguments: #<GlobalID:0x00000005c84b50 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/3>>
-[ActiveJob] [ActiveStorage::AnalyzeJob] [b27b1352-7c28-40c8-addb-c0de8a734972] [36m Disk Storage (0.2ms) [0m[34mDownloaded file from key: j3WsLcMfhS4229NHxw85f8M4[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [b27b1352-7c28-40c8-addb-c0de8a734972] Skipping image analysis because the mini_magick gem isn't installed
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Attachment Create (1.1ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 1], ["created_at", "2019-04-15 22:11:12.216497"]]
+ [1m[36mCmor::Blog::Post Update (0.3ms)[0m [1m[33mUPDATE "cmor_blog_posts" SET "updated_at" = ? WHERE "cmor_blog_posts"."id" = ?[0m [["updated_at", "2019-04-15 22:11:12.221109"], ["id", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: ddcd7649-f6d2-4041-866c-5387c9b52935) to Async(default) with arguments: #<GlobalID:0x000000076df770 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
+ [1m[36mActiveStorage::Blob Load (3.3ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [ddcd7649-f6d2-4041-866c-5387c9b52935] Performing ActiveStorage::AnalyzeJob (Job ID: ddcd7649-f6d2-4041-866c-5387c9b52935) from Async(default) with arguments: #<GlobalID:0x000000076cb928 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
+[36m Disk Storage (1.2ms) [0m[32mUploaded file to key: MhZA8kd6bSEhv9YUbkE5fAoD (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Blob Create (0.3ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "MhZA8kd6bSEhv9YUbkE5fAoD"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-04-15 22:11:12.249029"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Attachment Create (0.5ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 2], ["created_at", "2019-04-15 22:11:12.256485"]]
+ [1m[36mCmor::Blog::Post Update (0.3ms)[0m [1m[33mUPDATE "cmor_blog_posts" SET "updated_at" = ? WHERE "cmor_blog_posts"."id" = ?[0m [["updated_at", "2019-04-15 22:11:12.258837"], ["id", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: bf45b9a7-3056-4536-97b5-6dead862f404) to Async(default) with arguments: #<GlobalID:0x0000000762a668 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/2>>
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mCmor::Blog::AssetDetail Load (0.2ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ?[0m [["post_id", 1]]
- [1m[36mActiveStorage::Attachment Load (0.2ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[36mActiveStorage::Attachment Load (1.6ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
- [1m[36mCmor::Blog::AssetDetail Load (0.8ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[36mCmor::Blog::AssetDetail Destroy (0.6ms)[0m [1m[31mDELETE FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."id" = ?[0m [["id", 1]]
- [1m[36mActiveStorage::Attachment Load (0.3ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[36mActiveStorage::Attachment Destroy (1.8ms)[0m [1m[31mDELETE FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ?[0m [["id", 1]]
- [1m[36mCmor::Blog::Post Load (0.7ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" = ? ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[36mCmor::Blog::AssetDetail Update All (0.5ms)[0m [1m[33mUPDATE "cmor_blog_asset_details" SET "position" = ("cmor_blog_asset_details"."position" - 1), "updated_at" = '2019-03-31 08:49:34.100073' WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" > 1)[0m [["post_id", 1]]
- [1m[36mCmor::Blog::AssetDetail Load (0.3ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
- [1m[36mCmor::Blog::AssetDetail Destroy (0.5ms)[0m [1m[31mDELETE FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."id" = ?[0m [["id", 2]]
- [1m[36mActiveStorage::Attachment Load (0.7ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
- [1m[36mActiveStorage::Attachment Destroy (0.4ms)[0m [1m[31mDELETE FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ?[0m [["id", 2]]
- [1m[36mCmor::Blog::Post Load (0.3ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" = ? ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[36mCmor::Blog::AssetDetail Update All (0.4ms)[0m [1m[33mUPDATE "cmor_blog_asset_details" SET "position" = ("cmor_blog_asset_details"."position" - 1), "updated_at" = '2019-03-31 08:49:34.122679' WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" > 1)[0m [["post_id", 1]]
[1m[36mCmor::Blog::AssetDetail Load (0.4ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
- [1m[36mCmor::Blog::AssetDetail Create (0.5ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 3], ["position", 1], ["created_at", "2019-03-31 08:49:34.126414"], ["updated_at", "2019-03-31 08:49:34.126414"]]
- [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [b27b1352-7c28-40c8-addb-c0de8a734972] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [b27b1352-7c28-40c8-addb-c0de8a734972] [1m[36mActiveStorage::Blob Update (0.5ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 3]]
-[ActiveJob] [ActiveStorage::AnalyzeJob] [b27b1352-7c28-40c8-addb-c0de8a734972] [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [b27b1352-7c28-40c8-addb-c0de8a734972] Performed ActiveStorage::AnalyzeJob (Job ID: b27b1352-7c28-40c8-addb-c0de8a734972) from Async(default) in 120.95ms
- [1m[35m (6.2ms)[0m [1m[34mSELECT COUNT(*) FROM "cmor_blog_asset_details"[0m
- [1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.4ms)[0m [1m[36mbegin transaction[0m
- [1m[36mActiveStorage::Attachment Load (0.3ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments"[0m
- [1m[36mActiveStorage::Blob Load (0.1ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs"[0m
-[36m Disk Storage (1.2ms) [0m[32mUploaded file to key: VB8WmB2QqKNP7fFpTu6mEBVD (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
+ [1m[36mCmor::Blog::AssetDetail Create (0.3ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 1], ["position", 1], ["created_at", "2019-04-15 22:11:12.293714"], ["updated_at", "2019-04-15 22:11:12.293714"]]
+ [1m[36mCmor::Blog::AssetDetail Load (0.4ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Create (0.3ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 2], ["position", 2], ["created_at", "2019-04-15 22:11:12.300123"], ["updated_at", "2019-04-15 22:11:12.300123"]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [ddcd7649-f6d2-4041-866c-5387c9b52935] [36m Disk Storage (1.8ms) [0m[34mDownloaded file from key: SQEyLGZPXFD9ppG7zxX5Dv4p[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [ddcd7649-f6d2-4041-866c-5387c9b52935] Skipping image analysis because the mini_magick gem isn't installed
+ [1m[36mActiveStorage::Blob Load (11.9ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "cmor_blog_asset_details"[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [ddcd7649-f6d2-4041-866c-5387c9b52935] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [bf45b9a7-3056-4536-97b5-6dead862f404] Performing ActiveStorage::AnalyzeJob (Job ID: bf45b9a7-3056-4536-97b5-6dead862f404) from Async(default) with arguments: #<GlobalID:0x000000066fff30 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/2>>
+[ActiveJob] [ActiveStorage::AnalyzeJob] [ddcd7649-f6d2-4041-866c-5387c9b52935] [1m[36mActiveStorage::Blob Update (0.3ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 1]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [ddcd7649-f6d2-4041-866c-5387c9b52935] [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [bf45b9a7-3056-4536-97b5-6dead862f404] [36m Disk Storage (0.2ms) [0m[34mDownloaded file from key: MhZA8kd6bSEhv9YUbkE5fAoD[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [ddcd7649-f6d2-4041-866c-5387c9b52935] Performed ActiveStorage::AnalyzeJob (Job ID: ddcd7649-f6d2-4041-866c-5387c9b52935) from Async(default) in 192.91ms
+ [1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [bf45b9a7-3056-4536-97b5-6dead862f404] Skipping image analysis because the mini_magick gem isn't installed
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [bf45b9a7-3056-4536-97b5-6dead862f404] [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mActiveStorage::Attachment Load (0.2ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments"[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [bf45b9a7-3056-4536-97b5-6dead862f404] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [bf45b9a7-3056-4536-97b5-6dead862f404] [1m[36mActiveStorage::Blob Update (0.3ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 2]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [bf45b9a7-3056-4536-97b5-6dead862f404] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [bf45b9a7-3056-4536-97b5-6dead862f404] [1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [bf45b9a7-3056-4536-97b5-6dead862f404] Performed ActiveStorage::AnalyzeJob (Job ID: bf45b9a7-3056-4536-97b5-6dead862f404) from Async(default) in 167.1ms
+ [1m[36mActiveStorage::Blob Load (13.2ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs"[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCmor::Blog::Post Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" IS NOT NULL AND "cmor_blog_posts"."slug" = ? LIMIT ?[0m [["slug", "blog-post-6"], ["LIMIT", 1]]
+ [1m[36mUser Create (0.8ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "MyString"], ["created_at", "2019-04-15 22:11:12.535322"], ["updated_at", "2019-04-15 22:11:12.535322"]]
+ [1m[36mCmor::Blog::Post Load (0.5ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE (1 = 1) AND ("cmor_blog_posts"."position" IS NOT NULL) ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
+ [1m[36mCmor::Blog::Post Create (0.8ms)[0m [1m[32mINSERT INTO "cmor_blog_posts" ("title", "body", "created_by_id", "slug", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["title", "Blog post 6"], ["body", "This is a blog post!"], ["created_by_id", 1], ["slug", "blog-post-6"], ["position", 1], ["created_at", "2019-04-15 22:11:12.540726"], ["updated_at", "2019-04-15 22:11:12.540726"]]
+ [1m[35m (1.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "active_storage_attachments"[0m
+[36m Disk Storage (1.2ms) [0m[32mUploaded file to key: uVgh74ptqp35Qzk2TRxyEUeR (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mActiveStorage::Blob Create (1.1ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "VB8WmB2QqKNP7fFpTu6mEBVD"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-03-31 08:49:34.492943"]]
- [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
-[36m Disk Storage (1.5ms) [0m[32mUploaded file to key: z9B5StfAxBkbGXXKVxKArqXN (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
- [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mActiveStorage::Blob Create (0.5ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "z9B5StfAxBkbGXXKVxKArqXN"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-03-31 08:49:34.508033"]]
+ [1m[36mActiveStorage::Blob Create (0.7ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "uVgh74ptqp35Qzk2TRxyEUeR"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-04-15 22:11:12.568795"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mCmor::Blog::Post Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" IS NOT NULL AND "cmor_blog_posts"."slug" = ? LIMIT ?[0m [["slug", "blog-post-10"], ["LIMIT", 1]]
- [1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "MyString"], ["created_at", "2019-03-31 08:49:34.530468"], ["updated_at", "2019-03-31 08:49:34.530468"]]
- [1m[36mCmor::Blog::Post Load (0.5ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE (1 = 1) AND ("cmor_blog_posts"."position" IS NOT NULL) ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
- [1m[36mCmor::Blog::Post Create (0.5ms)[0m [1m[32mINSERT INTO "cmor_blog_posts" ("title", "body", "created_by_id", "slug", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["title", "Blog post 10"], ["body", "This is a blog post!"], ["created_by_id", 1], ["slug", "blog-post-10"], ["position", 1], ["created_at", "2019-03-31 08:49:34.533291"], ["updated_at", "2019-03-31 08:49:34.533291"]]
- [1m[36mActiveStorage::Attachment Create (0.7ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 1], ["created_at", "2019-03-31 08:49:34.540550"]]
- [1m[36mActiveStorage::Attachment Create (0.5ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 2], ["created_at", "2019-03-31 08:49:34.545209"]]
+ [1m[36mActiveStorage::Attachment Create (0.7ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 1], ["created_at", "2019-04-15 22:11:12.583406"]]
+ [1m[36mCmor::Blog::Post Update (0.3ms)[0m [1m[33mUPDATE "cmor_blog_posts" SET "updated_at" = ? WHERE "cmor_blog_posts"."id" = ?[0m [["updated_at", "2019-04-15 22:11:12.588785"], ["id", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: 3f808dad-a452-4844-9ed7-2551fa3e20ef) to Async(default) with arguments: #<GlobalID:0x000000076f7eb0 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
+ [1m[36mActiveStorage::Blob Load (0.2ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+[36m Disk Storage (1.3ms) [0m[32mUploaded file to key: de47afF4hCYCgspLZWz6sYZa (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [3f808dad-a452-4844-9ed7-2551fa3e20ef] Performing ActiveStorage::AnalyzeJob (Job ID: 3f808dad-a452-4844-9ed7-2551fa3e20ef) from Async(default) with arguments: #<GlobalID:0x00000003309668 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Blob Create (0.3ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "de47afF4hCYCgspLZWz6sYZa"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-04-15 22:11:12.718899"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Attachment Create (0.3ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 2], ["created_at", "2019-04-15 22:11:12.723699"]]
+ [1m[36mCmor::Blog::Post Update (0.2ms)[0m [1m[33mUPDATE "cmor_blog_posts" SET "updated_at" = ? WHERE "cmor_blog_posts"."id" = ?[0m [["updated_at", "2019-04-15 22:11:12.725336"], ["id", 1]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: bf68cd6e-710f-41d5-b24a-45a8443e9fed) to Async(default) with arguments: #<GlobalID:0x00000005d09a80 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/2>>
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCmor::Blog::AssetDetail Load (0.1ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ?[0m [["post_id", 1]]
[1m[36mCmor::Blog::AssetDetail Load (0.5ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
- [1m[36mCmor::Blog::AssetDetail Create (0.6ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 1], ["position", 1], ["created_at", "2019-03-31 08:49:34.549872"], ["updated_at", "2019-03-31 08:49:34.549872"]]
- [1m[36mCmor::Blog::AssetDetail Load (0.5ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
- [1m[36mCmor::Blog::AssetDetail Create (0.4ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 2], ["position", 2], ["created_at", "2019-03-31 08:49:34.555818"], ["updated_at", "2019-03-31 08:49:34.555818"]]
- [1m[36mCmor::Blog::Post Update (0.3ms)[0m [1m[33mUPDATE "cmor_blog_posts" SET "updated_at" = ? WHERE "cmor_blog_posts"."id" = ?[0m [["updated_at", "2019-03-31 08:49:34.548834"], ["id", 1]]
+ [1m[36mCmor::Blog::AssetDetail Create (0.3ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 1], ["position", 1], ["created_at", "2019-04-15 22:11:12.735043"], ["updated_at", "2019-04-15 22:11:12.735043"]]
+ [1m[36mCmor::Blog::AssetDetail Load (0.3ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [3f808dad-a452-4844-9ed7-2551fa3e20ef] [36m Disk Storage (24.2ms) [0m[34mDownloaded file from key: uVgh74ptqp35Qzk2TRxyEUeR[0m
+ [1m[36mCmor::Blog::AssetDetail Create (0.2ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 2], ["position", 2], ["created_at", "2019-04-15 22:11:12.739387"], ["updated_at", "2019-04-15 22:11:12.739387"]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [3f808dad-a452-4844-9ed7-2551fa3e20ef] Skipping image analysis because the mini_magick gem isn't installed
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Blob Load (0.2ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [bf68cd6e-710f-41d5-b24a-45a8443e9fed] Performing ActiveStorage::AnalyzeJob (Job ID: bf68cd6e-710f-41d5-b24a-45a8443e9fed) from Async(default) with arguments: #<GlobalID:0x00000005fb4898 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/2>>
+[ActiveJob] [ActiveStorage::AnalyzeJob] [3f808dad-a452-4844-9ed7-2551fa3e20ef] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [3f808dad-a452-4844-9ed7-2551fa3e20ef] [1m[36mActiveStorage::Blob Update (0.2ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 1]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [3f808dad-a452-4844-9ed7-2551fa3e20ef] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [3f808dad-a452-4844-9ed7-2551fa3e20ef] Performed ActiveStorage::AnalyzeJob (Job ID: 3f808dad-a452-4844-9ed7-2551fa3e20ef) from Async(default) in 42.58ms
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "active_storage_attachments"[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [bf68cd6e-710f-41d5-b24a-45a8443e9fed] [36m Disk Storage (200.4ms) [0m[34mDownloaded file from key: de47afF4hCYCgspLZWz6sYZa[0m
+ [1m[35m (1.2ms)[0m [1m[31mrollback transaction[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [bf68cd6e-710f-41d5-b24a-45a8443e9fed] Skipping image analysis because the mini_magick gem isn't installed
+ [1m[35m (0.4ms)[0m [1m[36mbegin transaction[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [bf68cd6e-710f-41d5-b24a-45a8443e9fed] [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mActiveStorage::Attachment Load (0.4ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments"[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [bf68cd6e-710f-41d5-b24a-45a8443e9fed] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [bf68cd6e-710f-41d5-b24a-45a8443e9fed] [1m[36mActiveStorage::Blob Update (0.2ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 2]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [bf68cd6e-710f-41d5-b24a-45a8443e9fed] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [bf68cd6e-710f-41d5-b24a-45a8443e9fed] [1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [bf68cd6e-710f-41d5-b24a-45a8443e9fed] Performed ActiveStorage::AnalyzeJob (Job ID: bf68cd6e-710f-41d5-b24a-45a8443e9fed) from Async(default) in 231.26ms
+ [1m[36mActiveStorage::Blob Load (5.4ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs"[0m
+[36m Disk Storage (7.6ms) [0m[32mUploaded file to key: NxUWfZbfhpjNwGC7BabZkdLt (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
+ [1m[35m (1.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Blob Create (0.7ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "NxUWfZbfhpjNwGC7BabZkdLt"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-04-15 22:11:13.012185"]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[36m Disk Storage (1.0ms) [0m[32mUploaded file to key: CQGYPajqYUo58iLKgBxd8aRw (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Blob Create (0.9ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "CQGYPajqYUo58iLKgBxd8aRw"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-04-15 22:11:13.040174"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCmor::Blog::Post Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" IS NOT NULL AND "cmor_blog_posts"."slug" = ? LIMIT ?[0m [["slug", "blog-post-7"], ["LIMIT", 1]]
+ [1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "MyString"], ["created_at", "2019-04-15 22:11:13.063567"], ["updated_at", "2019-04-15 22:11:13.063567"]]
+ [1m[36mCmor::Blog::Post Load (0.6ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE (1 = 1) AND ("cmor_blog_posts"."position" IS NOT NULL) ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
+ [1m[36mCmor::Blog::Post Create (0.5ms)[0m [1m[32mINSERT INTO "cmor_blog_posts" ("title", "body", "created_by_id", "slug", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["title", "Blog post 7"], ["body", "This is a blog post!"], ["created_by_id", 1], ["slug", "blog-post-7"], ["position", 1], ["created_at", "2019-04-15 22:11:13.066971"], ["updated_at", "2019-04-15 22:11:13.066971"]]
+ [1m[36mActiveStorage::Attachment Create (0.6ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 1], ["created_at", "2019-04-15 22:11:13.076261"]]
+ [1m[36mActiveStorage::Attachment Create (0.3ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 2], ["created_at", "2019-04-15 22:11:13.080577"]]
+ [1m[36mCmor::Blog::AssetDetail Load (0.6ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Create (0.5ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 1], ["position", 1], ["created_at", "2019-04-15 22:11:13.085767"], ["updated_at", "2019-04-15 22:11:13.085767"]]
+ [1m[36mCmor::Blog::AssetDetail Load (0.4ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Create (0.2ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 2], ["position", 2], ["created_at", "2019-04-15 22:11:13.092857"], ["updated_at", "2019-04-15 22:11:13.092857"]]
+ [1m[36mCmor::Blog::Post Update (0.2ms)[0m [1m[33mUPDATE "cmor_blog_posts" SET "updated_at" = ? WHERE "cmor_blog_posts"."id" = ?[0m [["updated_at", "2019-04-15 22:11:13.084648"], ["id", 1]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
-[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: 9f75a003-fe4c-4e88-9394-e9b3517e6037) to Async(default) with arguments: #<GlobalID:0x00000006d68840 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
-[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: 9032e1ef-2e58-4d55-94bf-a352cb1eb800) to Async(default) with arguments: #<GlobalID:0x00000006d96718 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/2>>
- [1m[36mActiveStorage::Blob Load (5.0ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
-[ActiveJob] [ActiveStorage::AnalyzeJob] [9f75a003-fe4c-4e88-9394-e9b3517e6037] Performing ActiveStorage::AnalyzeJob (Job ID: 9f75a003-fe4c-4e88-9394-e9b3517e6037) from Async(default) with arguments: #<GlobalID:0x00000006df3da0 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
- [1m[36mActiveStorage::Blob Load (3.8ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
-[ActiveJob] [ActiveStorage::AnalyzeJob] [9032e1ef-2e58-4d55-94bf-a352cb1eb800] Performing ActiveStorage::AnalyzeJob (Job ID: 9032e1ef-2e58-4d55-94bf-a352cb1eb800) from Async(default) with arguments: #<GlobalID:0x00000006e09948 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/2>>
- [1m[35m (3.5ms)[0m [1m[34mSELECT COUNT(*) FROM "active_storage_attachments"[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [9f75a003-fe4c-4e88-9394-e9b3517e6037] [36m Disk Storage (0.6ms) [0m[34mDownloaded file from key: VB8WmB2QqKNP7fFpTu6mEBVD[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [9032e1ef-2e58-4d55-94bf-a352cb1eb800] [36m Disk Storage (310.8ms) [0m[34mDownloaded file from key: z9B5StfAxBkbGXXKVxKArqXN[0m
-[36m Disk Storage (0.6ms) [0m[32mUploaded file to key: TsTjN5Gb264zK4gemhf9XuDb (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [9f75a003-fe4c-4e88-9394-e9b3517e6037] Skipping image analysis because the mini_magick gem isn't installed
-[ActiveJob] [ActiveStorage::AnalyzeJob] [9032e1ef-2e58-4d55-94bf-a352cb1eb800] Skipping image analysis because the mini_magick gem isn't installed
+[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: 104f946d-58ea-48fc-9b28-88d49783521d) to Async(default) with arguments: #<GlobalID:0x00000007708710 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
+[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: b8ccb06d-322d-4f51-85cd-8592e5607ea0) to Async(default) with arguments: #<GlobalID:0x00000007ff20d8 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/2>>
+ [1m[36mActiveStorage::Blob Load (0.2ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [104f946d-58ea-48fc-9b28-88d49783521d] Performing ActiveStorage::AnalyzeJob (Job ID: 104f946d-58ea-48fc-9b28-88d49783521d) from Async(default) with arguments: #<GlobalID:0x0000000770c428 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
+[ActiveJob] [ActiveStorage::AnalyzeJob] [104f946d-58ea-48fc-9b28-88d49783521d] [36m Disk Storage (17.4ms) [0m[34mDownloaded file from key: NxUWfZbfhpjNwGC7BabZkdLt[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "cmor_blog_asset_details"[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [104f946d-58ea-48fc-9b28-88d49783521d] Skipping image analysis because the mini_magick gem isn't installed
+ [1m[36mActiveStorage::Blob Load (0.3ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [b8ccb06d-322d-4f51-85cd-8592e5607ea0] Performing ActiveStorage::AnalyzeJob (Job ID: b8ccb06d-322d-4f51-85cd-8592e5607ea0) from Async(default) with arguments: #<GlobalID:0x00000007f161a0 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/2>>
+[ActiveJob] [ActiveStorage::AnalyzeJob] [b8ccb06d-322d-4f51-85cd-8592e5607ea0] [36m Disk Storage (1.8ms) [0m[34mDownloaded file from key: CQGYPajqYUo58iLKgBxd8aRw[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [104f946d-58ea-48fc-9b28-88d49783521d] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [b8ccb06d-322d-4f51-85cd-8592e5607ea0] Skipping image analysis because the mini_magick gem isn't installed
+[36m Disk Storage (8.9ms) [0m[32mUploaded file to key: 94jY4YtSzNfHmJcAbwuhUqry (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [104f946d-58ea-48fc-9b28-88d49783521d] [1m[36mActiveStorage::Blob Update (0.3ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 1]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [104f946d-58ea-48fc-9b28-88d49783521d] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [104f946d-58ea-48fc-9b28-88d49783521d] Performed ActiveStorage::AnalyzeJob (Job ID: 104f946d-58ea-48fc-9b28-88d49783521d) from Async(default) in 49.7ms
+ [1m[36mActiveStorage::Blob Create (0.5ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "94jY4YtSzNfHmJcAbwuhUqry"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-04-15 22:11:13.152544"]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [b8ccb06d-322d-4f51-85cd-8592e5607ea0] [1m[36mActiveStorage::Blob Update (2.8ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 2]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mActiveStorage::Blob Create (1.0ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "TsTjN5Gb264zK4gemhf9XuDb"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-03-31 08:49:34.906652"]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [b8ccb06d-322d-4f51-85cd-8592e5607ea0] Performed ActiveStorage::AnalyzeJob (Job ID: b8ccb06d-322d-4f51-85cd-8592e5607ea0) from Async(default) in 31.45ms
+ [1m[36mActiveStorage::Attachment Create (0.4ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 3], ["created_at", "2019-04-15 22:11:13.168458"]]
+ [1m[36mCmor::Blog::Post Update (0.1ms)[0m [1m[33mUPDATE "cmor_blog_posts" SET "updated_at" = ? WHERE "cmor_blog_posts"."id" = ?[0m [["updated_at", "2019-04-15 22:11:13.171964"], ["id", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: b6bc53a2-2639-4b48-b114-52ed0a1dcebf) to Async(default) with arguments: #<GlobalID:0x00000008009710 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/3>>
+ [1m[36mActiveStorage::Blob Load (0.2ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [b6bc53a2-2639-4b48-b114-52ed0a1dcebf] Performing ActiveStorage::AnalyzeJob (Job ID: b6bc53a2-2639-4b48-b114-52ed0a1dcebf) from Async(default) with arguments: #<GlobalID:0x00000007ff37f8 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/3>>
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [b6bc53a2-2639-4b48-b114-52ed0a1dcebf] [36m Disk Storage (0.1ms) [0m[34mDownloaded file from key: 94jY4YtSzNfHmJcAbwuhUqry[0m
+ [1m[36mCmor::Blog::AssetDetail Load (0.2ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ?[0m [["post_id", 1]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [b6bc53a2-2639-4b48-b114-52ed0a1dcebf] Skipping image analysis because the mini_magick gem isn't installed
+ [1m[36mActiveStorage::Attachment Load (0.6ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mActiveStorage::Attachment Load (0.2ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Load (0.7ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Create (0.7ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 3], ["position", 3], ["created_at", "2019-04-15 22:11:13.207740"], ["updated_at", "2019-04-15 22:11:13.207740"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [9f75a003-fe4c-4e88-9394-e9b3517e6037] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [9f75a003-fe4c-4e88-9394-e9b3517e6037] [1m[36mActiveStorage::Blob Update (0.3ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 1]]
-[ActiveJob] [ActiveStorage::AnalyzeJob] [9f75a003-fe4c-4e88-9394-e9b3517e6037] [1m[35m (0.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [9f75a003-fe4c-4e88-9394-e9b3517e6037] Performed ActiveStorage::AnalyzeJob (Job ID: 9f75a003-fe4c-4e88-9394-e9b3517e6037) from Async(default) in 344.44ms
-[ActiveJob] [ActiveStorage::AnalyzeJob] [9032e1ef-2e58-4d55-94bf-a352cb1eb800] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [9032e1ef-2e58-4d55-94bf-a352cb1eb800] [1m[36mActiveStorage::Blob Update (0.4ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 2]]
-[ActiveJob] [ActiveStorage::AnalyzeJob] [9032e1ef-2e58-4d55-94bf-a352cb1eb800] [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [9032e1ef-2e58-4d55-94bf-a352cb1eb800] Performed ActiveStorage::AnalyzeJob (Job ID: 9032e1ef-2e58-4d55-94bf-a352cb1eb800) from Async(default) in 348.26ms
+[ActiveJob] [ActiveStorage::AnalyzeJob] [b6bc53a2-2639-4b48-b114-52ed0a1dcebf] [1m[36mActiveStorage::Blob Update (0.2ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 3]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [b6bc53a2-2639-4b48-b114-52ed0a1dcebf] Performed ActiveStorage::AnalyzeJob (Job ID: b6bc53a2-2639-4b48-b114-52ed0a1dcebf) from Async(default) in 35.05ms
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "cmor_blog_asset_details"[0m
+ [1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mActiveStorage::Attachment Load (0.0ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments"[0m
+ [1m[36mActiveStorage::Blob Load (0.1ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs"[0m
+[36m Disk Storage (1.4ms) [0m[32mUploaded file to key: SgL6ZqpTzX8MES2yFz2nshvA (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mActiveStorage::Attachment Create (0.6ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 3], ["created_at", "2019-03-31 08:49:34.928254"]]
- [1m[36mCmor::Blog::Post Update (0.4ms)[0m [1m[33mUPDATE "cmor_blog_posts" SET "updated_at" = ? WHERE "cmor_blog_posts"."id" = ?[0m [["updated_at", "2019-03-31 08:49:34.931373"], ["id", 1]]
- [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
-[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: 601797cd-0c2d-4347-b0eb-776e144ebd78) to Async(default) with arguments: #<GlobalID:0x00000008332950 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/3>>
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mCmor::Blog::AssetDetail Load (0.3ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ?[0m [["post_id", 1]]
+ [1m[36mActiveStorage::Blob Create (0.6ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "SgL6ZqpTzX8MES2yFz2nshvA"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-04-15 22:11:13.239915"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[36m Disk Storage (1.5ms) [0m[32mUploaded file to key: xfDrNWvjmjeoTRCCyPNgsv6f (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Blob Create (0.5ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "xfDrNWvjmjeoTRCCyPNgsv6f"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-04-15 22:11:13.281662"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCmor::Blog::Post Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" IS NOT NULL AND "cmor_blog_posts"."slug" = ? LIMIT ?[0m [["slug", "blog-post-8"], ["LIMIT", 1]]
+ [1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "MyString"], ["created_at", "2019-04-15 22:11:13.308434"], ["updated_at", "2019-04-15 22:11:13.308434"]]
+ [1m[36mCmor::Blog::Post Load (0.4ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE (1 = 1) AND ("cmor_blog_posts"."position" IS NOT NULL) ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
+ [1m[36mCmor::Blog::Post Create (0.7ms)[0m [1m[32mINSERT INTO "cmor_blog_posts" ("title", "body", "created_by_id", "slug", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["title", "Blog post 8"], ["body", "This is a blog post!"], ["created_by_id", 1], ["slug", "blog-post-8"], ["position", 1], ["created_at", "2019-04-15 22:11:13.311935"], ["updated_at", "2019-04-15 22:11:13.311935"]]
+ [1m[36mActiveStorage::Attachment Create (0.8ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 1], ["created_at", "2019-04-15 22:11:13.319150"]]
+ [1m[36mActiveStorage::Attachment Create (0.2ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 2], ["created_at", "2019-04-15 22:11:13.325329"]]
+ [1m[36mCmor::Blog::AssetDetail Load (2.2ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Create (2.2ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 1], ["position", 1], ["created_at", "2019-04-15 22:11:13.333421"], ["updated_at", "2019-04-15 22:11:13.333421"]]
+ [1m[36mCmor::Blog::AssetDetail Load (0.8ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Create (0.5ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 2], ["position", 2], ["created_at", "2019-04-15 22:11:13.345671"], ["updated_at", "2019-04-15 22:11:13.345671"]]
+ [1m[36mCmor::Blog::Post Update (0.4ms)[0m [1m[33mUPDATE "cmor_blog_posts" SET "updated_at" = ? WHERE "cmor_blog_posts"."id" = ?[0m [["updated_at", "2019-04-15 22:11:13.330446"], ["id", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: 03f9823f-bd97-4450-83da-df6f8fb3e7b5) to Async(default) with arguments: #<GlobalID:0x00000007d3d720 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
+[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: 83c94308-9a5f-4200-af45-d974e0765d01) to Async(default) with arguments: #<GlobalID:0x00000007d2c308 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/2>>
+ [1m[36mActiveStorage::Blob Load (0.2ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [03f9823f-bd97-4450-83da-df6f8fb3e7b5] Performing ActiveStorage::AnalyzeJob (Job ID: 03f9823f-bd97-4450-83da-df6f8fb3e7b5) from Async(default) with arguments: #<GlobalID:0x00000007d0c9e0 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
+[ActiveJob] [ActiveStorage::AnalyzeJob] [03f9823f-bd97-4450-83da-df6f8fb3e7b5] [36m Disk Storage (8.9ms) [0m[34mDownloaded file from key: SgL6ZqpTzX8MES2yFz2nshvA[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [03f9823f-bd97-4450-83da-df6f8fb3e7b5] Skipping image analysis because the mini_magick gem isn't installed
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "active_storage_attachments"[0m
+[36m Disk Storage (0.9ms) [0m[32mUploaded file to key: wssvgapKEARY2DYybNnUWo4c (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [03f9823f-bd97-4450-83da-df6f8fb3e7b5] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [03f9823f-bd97-4450-83da-df6f8fb3e7b5] [1m[36mActiveStorage::Blob Update (0.3ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 1]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [03f9823f-bd97-4450-83da-df6f8fb3e7b5] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [03f9823f-bd97-4450-83da-df6f8fb3e7b5] Performed ActiveStorage::AnalyzeJob (Job ID: 03f9823f-bd97-4450-83da-df6f8fb3e7b5) from Async(default) in 49.46ms
+ [1m[35m (1.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Blob Create (2.0ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "wssvgapKEARY2DYybNnUWo4c"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-04-15 22:11:13.436280"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Attachment Create (0.9ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 3], ["created_at", "2019-04-15 22:11:13.454120"]]
+ [1m[36mCmor::Blog::Post Update (0.5ms)[0m [1m[33mUPDATE "cmor_blog_posts" SET "updated_at" = ? WHERE "cmor_blog_posts"."id" = ?[0m [["updated_at", "2019-04-15 22:11:13.459556"], ["id", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: 95fa8e19-63e8-4d2b-b493-d39c8630902d) to Async(default) with arguments: #<GlobalID:0x00000005f0b3b0 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/3>>
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCmor::Blog::AssetDetail Load (0.4ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ?[0m [["post_id", 1]]
[1m[36mActiveStorage::Attachment Load (0.2ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
[1m[36mActiveStorage::Attachment Load (0.3ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Load (0.4ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Create (0.1ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 3], ["position", 3], ["created_at", "2019-04-15 22:11:13.498644"], ["updated_at", "2019-04-15 22:11:13.498644"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Blob Load (0.2ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [95fa8e19-63e8-4d2b-b493-d39c8630902d] Performing ActiveStorage::AnalyzeJob (Job ID: 95fa8e19-63e8-4d2b-b493-d39c8630902d) from Async(default) with arguments: #<GlobalID:0x00000006054528 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/3>>
+ [1m[36mActiveStorage::Blob Load (0.2ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [83c94308-9a5f-4200-af45-d974e0765d01] Performing ActiveStorage::AnalyzeJob (Job ID: 83c94308-9a5f-4200-af45-d974e0765d01) from Async(default) with arguments: #<GlobalID:0x00000006083918 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/2>>
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "active_storage_attachments"[0m
+ [1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [95fa8e19-63e8-4d2b-b493-d39c8630902d] [36m Disk Storage (0.3ms) [0m[34mDownloaded file from key: wssvgapKEARY2DYybNnUWo4c[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [95fa8e19-63e8-4d2b-b493-d39c8630902d] Skipping image analysis because the mini_magick gem isn't installed
+[ActiveJob] [ActiveStorage::AnalyzeJob] [95fa8e19-63e8-4d2b-b493-d39c8630902d] [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [83c94308-9a5f-4200-af45-d974e0765d01] [36m Disk Storage (0.3ms) [0m[34mDownloaded file from key: xfDrNWvjmjeoTRCCyPNgsv6f[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [95fa8e19-63e8-4d2b-b493-d39c8630902d] [1m[36mActiveStorage::Blob Update (0.3ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 3]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [95fa8e19-63e8-4d2b-b493-d39c8630902d] [1m[35m (0.2ms)[0m [1m[36mcommit transaction[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [83c94308-9a5f-4200-af45-d974e0765d01] Skipping image analysis because the mini_magick gem isn't installed
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [83c94308-9a5f-4200-af45-d974e0765d01] [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [83c94308-9a5f-4200-af45-d974e0765d01] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Attachment Load (0.3ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments"[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [95fa8e19-63e8-4d2b-b493-d39c8630902d] Performed ActiveStorage::AnalyzeJob (Job ID: 95fa8e19-63e8-4d2b-b493-d39c8630902d) from Async(default) in 78.32ms
+[ActiveJob] [ActiveStorage::AnalyzeJob] [83c94308-9a5f-4200-af45-d974e0765d01] [1m[36mActiveStorage::Blob Update (0.1ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 2]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [83c94308-9a5f-4200-af45-d974e0765d01] [1m[35m (7.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [83c94308-9a5f-4200-af45-d974e0765d01] [1m[35m (0.2ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mActiveStorage::Blob Load (14.5ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs"[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [83c94308-9a5f-4200-af45-d974e0765d01] Performed ActiveStorage::AnalyzeJob (Job ID: 83c94308-9a5f-4200-af45-d974e0765d01) from Async(default) in 100.19ms
+[36m Disk Storage (1.1ms) [0m[32mUploaded file to key: WYRXA6JkoxpWMjzqNTuwkRg8 (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Blob Create (0.8ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "WYRXA6JkoxpWMjzqNTuwkRg8"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-04-15 22:11:13.840293"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[36m Disk Storage (0.7ms) [0m[32mUploaded file to key: rdHmftJMAXN6gJHBTLB8R8EG (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Blob Create (0.3ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "rdHmftJMAXN6gJHBTLB8R8EG"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-04-15 22:11:13.848134"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCmor::Blog::Post Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" IS NOT NULL AND "cmor_blog_posts"."slug" = ? LIMIT ?[0m [["slug", "blog-post-9"], ["LIMIT", 1]]
+ [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "MyString"], ["created_at", "2019-04-15 22:11:13.858937"], ["updated_at", "2019-04-15 22:11:13.858937"]]
+ [1m[36mCmor::Blog::Post Load (0.3ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE (1 = 1) AND ("cmor_blog_posts"."position" IS NOT NULL) ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
+ [1m[36mCmor::Blog::Post Create (0.3ms)[0m [1m[32mINSERT INTO "cmor_blog_posts" ("title", "body", "created_by_id", "slug", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["title", "Blog post 9"], ["body", "This is a blog post!"], ["created_by_id", 1], ["slug", "blog-post-9"], ["position", 1], ["created_at", "2019-04-15 22:11:13.860676"], ["updated_at", "2019-04-15 22:11:13.860676"]]
+ [1m[36mActiveStorage::Attachment Create (1.1ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 1], ["created_at", "2019-04-15 22:11:13.864768"]]
+ [1m[36mActiveStorage::Attachment Create (0.2ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 2], ["created_at", "2019-04-15 22:11:13.868307"]]
+ [1m[36mCmor::Blog::AssetDetail Load (0.1ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Create (0.3ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 1], ["position", 1], ["created_at", "2019-04-15 22:11:13.870733"], ["updated_at", "2019-04-15 22:11:13.870733"]]
+ [1m[36mCmor::Blog::AssetDetail Load (0.3ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Create (0.2ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 2], ["position", 2], ["created_at", "2019-04-15 22:11:13.874157"], ["updated_at", "2019-04-15 22:11:13.874157"]]
+ [1m[36mCmor::Blog::Post Update (0.2ms)[0m [1m[33mUPDATE "cmor_blog_posts" SET "updated_at" = ? WHERE "cmor_blog_posts"."id" = ?[0m [["updated_at", "2019-04-15 22:11:13.870075"], ["id", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: f2c7ccd2-4edc-4dba-b8a3-9a1ecc474adc) to Async(default) with arguments: #<GlobalID:0x00000006159770 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
+[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: 38e95504-76f3-4d5c-8586-4e40f66c5c69) to Async(default) with arguments: #<GlobalID:0x00000006238b28 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/2>>
+ [1m[36mActiveStorage::Blob Load (0.2ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [f2c7ccd2-4edc-4dba-b8a3-9a1ecc474adc] Performing ActiveStorage::AnalyzeJob (Job ID: f2c7ccd2-4edc-4dba-b8a3-9a1ecc474adc) from Async(default) with arguments: #<GlobalID:0x0000000632e438 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
+[ActiveJob] [ActiveStorage::AnalyzeJob] [f2c7ccd2-4edc-4dba-b8a3-9a1ecc474adc] [36m Disk Storage (0.1ms) [0m[34mDownloaded file from key: WYRXA6JkoxpWMjzqNTuwkRg8[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "cmor_blog_asset_details"[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [f2c7ccd2-4edc-4dba-b8a3-9a1ecc474adc] Skipping image analysis because the mini_magick gem isn't installed
+ [1m[36mActiveStorage::Blob Load (0.2ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+[36m Disk Storage (0.7ms) [0m[32mUploaded file to key: Ko3SMeFMLTjKfNxqZHhLNDnN (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [38e95504-76f3-4d5c-8586-4e40f66c5c69] Performing ActiveStorage::AnalyzeJob (Job ID: 38e95504-76f3-4d5c-8586-4e40f66c5c69) from Async(default) with arguments: #<GlobalID:0x000000062b3508 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/2>>
+[ActiveJob] [ActiveStorage::AnalyzeJob] [f2c7ccd2-4edc-4dba-b8a3-9a1ecc474adc] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [38e95504-76f3-4d5c-8586-4e40f66c5c69] [36m Disk Storage (201.6ms) [0m[34mDownloaded file from key: rdHmftJMAXN6gJHBTLB8R8EG[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [f2c7ccd2-4edc-4dba-b8a3-9a1ecc474adc] [1m[36mActiveStorage::Blob Update (0.2ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 1]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [38e95504-76f3-4d5c-8586-4e40f66c5c69] Skipping image analysis because the mini_magick gem isn't installed
+[ActiveJob] [ActiveStorage::AnalyzeJob] [f2c7ccd2-4edc-4dba-b8a3-9a1ecc474adc] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [f2c7ccd2-4edc-4dba-b8a3-9a1ecc474adc] Performed ActiveStorage::AnalyzeJob (Job ID: f2c7ccd2-4edc-4dba-b8a3-9a1ecc474adc) from Async(default) in 225.72ms
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Blob Create (0.2ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "Ko3SMeFMLTjKfNxqZHhLNDnN"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-04-15 22:11:14.113927"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [38e95504-76f3-4d5c-8586-4e40f66c5c69] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [38e95504-76f3-4d5c-8586-4e40f66c5c69] [1m[36mActiveStorage::Blob Update (0.3ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 2]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [38e95504-76f3-4d5c-8586-4e40f66c5c69] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [38e95504-76f3-4d5c-8586-4e40f66c5c69] Performed ActiveStorage::AnalyzeJob (Job ID: 38e95504-76f3-4d5c-8586-4e40f66c5c69) from Async(default) in 224.28ms
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Attachment Create (0.3ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 3], ["created_at", "2019-04-15 22:11:14.125292"]]
+ [1m[36mCmor::Blog::Post Update (0.2ms)[0m [1m[33mUPDATE "cmor_blog_posts" SET "updated_at" = ? WHERE "cmor_blog_posts"."id" = ?[0m [["updated_at", "2019-04-15 22:11:14.127451"], ["id", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: f9b2cbcf-f791-417c-917b-841af3696e27) to Async(default) with arguments: #<GlobalID:0x00000007717f08 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/3>>
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCmor::Blog::AssetDetail Load (0.0ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ?[0m [["post_id", 1]]
+ [1m[36mActiveStorage::Attachment Load (0.0ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mActiveStorage::Attachment Load (0.1ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
[1m[36mCmor::Blog::AssetDetail Load (0.3ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[36mCmor::Blog::AssetDetail Destroy (0.5ms)[0m [1m[31mDELETE FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."id" = ?[0m [["id", 1]]
- [1m[36mActiveStorage::Attachment Load (0.3ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[36mActiveStorage::Attachment Destroy (0.3ms)[0m [1m[31mDELETE FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ?[0m [["id", 1]]
- [1m[36mCmor::Blog::Post Load (0.3ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" = ? ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[36mCmor::Blog::AssetDetail Update All (1.1ms)[0m [1m[33mUPDATE "cmor_blog_asset_details" SET "position" = ("cmor_blog_asset_details"."position" - 1), "updated_at" = '2019-03-31 08:49:34.971282' WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" > 1)[0m [["post_id", 1]]
- [1m[36mCmor::Blog::AssetDetail Load (0.2ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Destroy (0.2ms)[0m [1m[31mDELETE FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."id" = ?[0m [["id", 1]]
+ [1m[36mActiveStorage::Attachment Load (0.1ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mActiveStorage::Attachment Destroy (0.5ms)[0m [1m[31mDELETE FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ?[0m [["id", 1]]
+ [1m[36mCmor::Blog::Post Load (0.5ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" = ? ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Update All (0.5ms)[0m [1m[33mUPDATE "cmor_blog_asset_details" SET "position" = ("cmor_blog_asset_details"."position" - 1), "updated_at" = '2019-04-15 22:11:14.159269' WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" > 1)[0m [["post_id", 1]]
+ [1m[36mCmor::Blog::AssetDetail Load (0.3ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
[1m[36mCmor::Blog::AssetDetail Destroy (0.3ms)[0m [1m[31mDELETE FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."id" = ?[0m [["id", 2]]
[1m[36mActiveStorage::Attachment Load (0.2ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
[1m[36mActiveStorage::Attachment Destroy (0.3ms)[0m [1m[31mDELETE FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ?[0m [["id", 2]]
- [1m[36mCmor::Blog::Post Load (0.3ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" = ? ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[36mCmor::Blog::AssetDetail Update All (0.5ms)[0m [1m[33mUPDATE "cmor_blog_asset_details" SET "position" = ("cmor_blog_asset_details"."position" - 1), "updated_at" = '2019-03-31 08:49:34.987691' WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" > 1)[0m [["post_id", 1]]
+ [1m[36mCmor::Blog::Post Load (0.6ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" = ? ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Update All (0.2ms)[0m [1m[33mUPDATE "cmor_blog_asset_details" SET "position" = ("cmor_blog_asset_details"."position" - 1), "updated_at" = '2019-04-15 22:11:14.178107' WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" > 1)[0m [["post_id", 1]]
[1m[36mCmor::Blog::AssetDetail Load (0.5ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
- [1m[36mCmor::Blog::AssetDetail Create (0.3ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 3], ["position", 1], ["created_at", "2019-03-31 08:49:34.998652"], ["updated_at", "2019-03-31 08:49:34.998652"]]
+ [1m[36mCmor::Blog::AssetDetail Create (0.4ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 3], ["position", 1], ["created_at", "2019-04-15 22:11:14.180050"], ["updated_at", "2019-04-15 22:11:14.180050"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Blob Load (0.2ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [f9b2cbcf-f791-417c-917b-841af3696e27] Performing ActiveStorage::AnalyzeJob (Job ID: f9b2cbcf-f791-417c-917b-841af3696e27) from Async(default) with arguments: #<GlobalID:0x00000007668850 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/3>>
+ [1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "cmor_blog_asset_details"[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [f9b2cbcf-f791-417c-917b-841af3696e27] [36m Disk Storage (0.1ms) [0m[34mDownloaded file from key: Ko3SMeFMLTjKfNxqZHhLNDnN[0m
+ [1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mActiveStorage::Attachment Load (0.3ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments"[0m
+ [1m[36mActiveStorage::Blob Load (0.1ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs"[0m
+[36m Disk Storage (13.7ms) [0m[32mUploaded file to key: Aish2RoKhN1CzvUWNk9v1dsK (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Blob Create (0.7ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "Aish2RoKhN1CzvUWNk9v1dsK"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-04-15 22:11:14.244085"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [f9b2cbcf-f791-417c-917b-841af3696e27] Skipping image analysis because the mini_magick gem isn't installed
+[ActiveJob] [ActiveStorage::AnalyzeJob] [f9b2cbcf-f791-417c-917b-841af3696e27] [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [f9b2cbcf-f791-417c-917b-841af3696e27] [1m[36mActiveStorage::Blob Update (0.7ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 3]]
+[36m Disk Storage (4.4ms) [0m[32mUploaded file to key: uKnXodsbxLbekeE7zb9QkQca (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [f9b2cbcf-f791-417c-917b-841af3696e27] [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [f9b2cbcf-f791-417c-917b-841af3696e27] Performed ActiveStorage::AnalyzeJob (Job ID: f9b2cbcf-f791-417c-917b-841af3696e27) from Async(default) in 101.37ms
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Blob Create (0.4ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "uKnXodsbxLbekeE7zb9QkQca"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-04-15 22:11:14.295472"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCmor::Blog::Post Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" IS NOT NULL AND "cmor_blog_posts"."slug" = ? LIMIT ?[0m [["slug", "blog-post-10"], ["LIMIT", 1]]
+ [1m[36mUser Create (0.9ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "MyString"], ["created_at", "2019-04-15 22:11:14.319894"], ["updated_at", "2019-04-15 22:11:14.319894"]]
+ [1m[36mCmor::Blog::Post Load (0.6ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE (1 = 1) AND ("cmor_blog_posts"."position" IS NOT NULL) ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
+ [1m[36mCmor::Blog::Post Create (0.8ms)[0m [1m[32mINSERT INTO "cmor_blog_posts" ("title", "body", "created_by_id", "slug", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["title", "Blog post 10"], ["body", "This is a blog post!"], ["created_by_id", 1], ["slug", "blog-post-10"], ["position", 1], ["created_at", "2019-04-15 22:11:14.323502"], ["updated_at", "2019-04-15 22:11:14.323502"]]
+ [1m[36mActiveStorage::Attachment Create (0.4ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 1], ["created_at", "2019-04-15 22:11:14.332356"]]
+ [1m[36mActiveStorage::Attachment Create (0.3ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 2], ["created_at", "2019-04-15 22:11:14.336530"]]
+ [1m[36mCmor::Blog::AssetDetail Load (0.1ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Create (1.3ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 1], ["position", 1], ["created_at", "2019-04-15 22:11:14.338860"], ["updated_at", "2019-04-15 22:11:14.338860"]]
+ [1m[36mCmor::Blog::AssetDetail Load (0.4ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Create (0.8ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 2], ["position", 2], ["created_at", "2019-04-15 22:11:14.344747"], ["updated_at", "2019-04-15 22:11:14.344747"]]
+ [1m[36mCmor::Blog::Post Update (0.3ms)[0m [1m[33mUPDATE "cmor_blog_posts" SET "updated_at" = ? WHERE "cmor_blog_posts"."id" = ?[0m [["updated_at", "2019-04-15 22:11:14.338415"], ["id", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: 55aded55-7415-4778-b458-b15a91c05d0d) to Async(default) with arguments: #<GlobalID:0x00000005e9fa70 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
+[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: e97e8338-1b53-42ca-b9c1-b65af84b6124) to Async(default) with arguments: #<GlobalID:0x00000005eb4f38 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/2>>
+ [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "active_storage_attachments"[0m
+ [1m[36mActiveStorage::Blob Load (0.2ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [55aded55-7415-4778-b458-b15a91c05d0d] Performing ActiveStorage::AnalyzeJob (Job ID: 55aded55-7415-4778-b458-b15a91c05d0d) from Async(default) with arguments: #<GlobalID:0x007f3df8029e90 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
+[36m Disk Storage (2.8ms) [0m[32mUploaded file to key: jWdUkHzeF4yM2Eeu63K1ksUb (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
+ [1m[36mActiveStorage::Blob Load (0.1ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [55aded55-7415-4778-b458-b15a91c05d0d] [36m Disk Storage (1.3ms) [0m[34mDownloaded file from key: Aish2RoKhN1CzvUWNk9v1dsK[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [e97e8338-1b53-42ca-b9c1-b65af84b6124] Performing ActiveStorage::AnalyzeJob (Job ID: e97e8338-1b53-42ca-b9c1-b65af84b6124) from Async(default) with arguments: #<GlobalID:0x000000084b57f0 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/2>>
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [55aded55-7415-4778-b458-b15a91c05d0d] Skipping image analysis because the mini_magick gem isn't installed
+[ActiveJob] [ActiveStorage::AnalyzeJob] [e97e8338-1b53-42ca-b9c1-b65af84b6124] [36m Disk Storage (0.1ms) [0m[34mDownloaded file from key: uKnXodsbxLbekeE7zb9QkQca[0m
+ [1m[36mActiveStorage::Blob Create (0.4ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "jWdUkHzeF4yM2Eeu63K1ksUb"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-04-15 22:11:14.392600"]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [e97e8338-1b53-42ca-b9c1-b65af84b6124] Skipping image analysis because the mini_magick gem isn't installed
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[36mActiveStorage::Blob Load (61.6ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
- [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "active_storage_attachments"[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [601797cd-0c2d-4347-b0eb-776e144ebd78] Performing ActiveStorage::AnalyzeJob (Job ID: 601797cd-0c2d-4347-b0eb-776e144ebd78) from Async(default) with arguments: #<GlobalID:0x007fe45c008de8 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/3>>
- [1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [601797cd-0c2d-4347-b0eb-776e144ebd78] [36m Disk Storage (0.9ms) [0m[34mDownloaded file from key: TsTjN5Gb264zK4gemhf9XuDb[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [601797cd-0c2d-4347-b0eb-776e144ebd78] Skipping image analysis because the mini_magick gem isn't installed
-[ActiveJob] [ActiveStorage::AnalyzeJob] [601797cd-0c2d-4347-b0eb-776e144ebd78] [1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [601797cd-0c2d-4347-b0eb-776e144ebd78] [1m[36mActiveStorage::Blob Update (0.4ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 3]]
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [601797cd-0c2d-4347-b0eb-776e144ebd78] [1m[35m (0.3ms)[0m [1m[36mcommit transaction[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [601797cd-0c2d-4347-b0eb-776e144ebd78] Performed ActiveStorage::AnalyzeJob (Job ID: 601797cd-0c2d-4347-b0eb-776e144ebd78) from Async(default) in 39.78ms
+[ActiveJob] [ActiveStorage::AnalyzeJob] [e97e8338-1b53-42ca-b9c1-b65af84b6124] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [e97e8338-1b53-42ca-b9c1-b65af84b6124] [1m[36mActiveStorage::Blob Update (0.3ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 2]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [e97e8338-1b53-42ca-b9c1-b65af84b6124] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [e97e8338-1b53-42ca-b9c1-b65af84b6124] Performed ActiveStorage::AnalyzeJob (Job ID: e97e8338-1b53-42ca-b9c1-b65af84b6124) from Async(default) in 22.47ms
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Attachment Create (0.3ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 3], ["created_at", "2019-04-15 22:11:14.414936"]]
+ [1m[36mCmor::Blog::Post Update (0.3ms)[0m [1m[33mUPDATE "cmor_blog_posts" SET "updated_at" = ? WHERE "cmor_blog_posts"."id" = ?[0m [["updated_at", "2019-04-15 22:11:14.416925"], ["id", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: dea8b08b-8ea7-43e2-94dc-8b86808afc91) to Async(default) with arguments: #<GlobalID:0x000000084cbd20 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/3>>
+[ActiveJob] [ActiveStorage::AnalyzeJob] [55aded55-7415-4778-b458-b15a91c05d0d] [1m[36mActiveStorage::Blob Update (13.5ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 1]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [55aded55-7415-4778-b458-b15a91c05d0d] Performed ActiveStorage::AnalyzeJob (Job ID: 55aded55-7415-4778-b458-b15a91c05d0d) from Async(default) in 44.05ms
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCmor::Blog::AssetDetail Load (0.3ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ?[0m [["post_id", 1]]
+ [1m[36mActiveStorage::Attachment Load (0.2ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mActiveStorage::Attachment Load (0.1ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Load (0.4ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Destroy (0.2ms)[0m [1m[31mDELETE FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."id" = ?[0m [["id", 1]]
+ [1m[36mActiveStorage::Attachment Load (0.1ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mActiveStorage::Attachment Destroy (0.2ms)[0m [1m[31mDELETE FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ?[0m [["id", 1]]
+ [1m[36mCmor::Blog::Post Load (0.1ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" = ? ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Update All (0.6ms)[0m [1m[33mUPDATE "cmor_blog_asset_details" SET "position" = ("cmor_blog_asset_details"."position" - 1), "updated_at" = '2019-04-15 22:11:14.447787' WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" > 1)[0m [["post_id", 1]]
+ [1m[36mCmor::Blog::AssetDetail Load (0.1ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Destroy (0.0ms)[0m [1m[31mDELETE FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."id" = ?[0m [["id", 2]]
+ [1m[36mActiveStorage::Attachment Load (0.1ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[36mActiveStorage::Attachment Destroy (0.2ms)[0m [1m[31mDELETE FROM "active_storage_attachments" WHERE "active_storage_attachments"."id" = ?[0m [["id", 2]]
+ [1m[36mCmor::Blog::Post Load (0.1ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" = ? ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Update All (0.2ms)[0m [1m[33mUPDATE "cmor_blog_asset_details" SET "position" = ("cmor_blog_asset_details"."position" - 1), "updated_at" = '2019-04-15 22:11:14.459813' WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" > 1)[0m [["post_id", 1]]
+ [1m[36mCmor::Blog::AssetDetail Load (0.3ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Create (0.2ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 3], ["position", 1], ["created_at", "2019-04-15 22:11:14.461447"], ["updated_at", "2019-04-15 22:11:14.461447"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Blob Load (48.3ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [dea8b08b-8ea7-43e2-94dc-8b86808afc91] Performing ActiveStorage::AnalyzeJob (Job ID: dea8b08b-8ea7-43e2-94dc-8b86808afc91) from Async(default) with arguments: #<GlobalID:0x000000096eea48 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/3>>
+ [1m[35m (2.3ms)[0m [1m[34mSELECT COUNT(*) FROM "active_storage_attachments"[0m
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [dea8b08b-8ea7-43e2-94dc-8b86808afc91] [36m Disk Storage (0.2ms) [0m[34mDownloaded file from key: jWdUkHzeF4yM2Eeu63K1ksUb[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [dea8b08b-8ea7-43e2-94dc-8b86808afc91] Skipping image analysis because the mini_magick gem isn't installed
+[ActiveJob] [ActiveStorage::AnalyzeJob] [dea8b08b-8ea7-43e2-94dc-8b86808afc91] [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [dea8b08b-8ea7-43e2-94dc-8b86808afc91] [1m[36mActiveStorage::Blob Update (0.4ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 3]]
+[ActiveJob] [ActiveStorage::AnalyzeJob] [dea8b08b-8ea7-43e2-94dc-8b86808afc91] [1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [dea8b08b-8ea7-43e2-94dc-8b86808afc91] Performed ActiveStorage::AnalyzeJob (Job ID: dea8b08b-8ea7-43e2-94dc-8b86808afc91) from Async(default) in 49.97ms
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.4ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
- [1m[36mCmor::Blog::Post Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" IS NOT NULL AND "cmor_blog_posts"."slug" = ? LIMIT ?[0m [["slug", "blog-post-11"], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::Post Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" IS NOT NULL AND "cmor_blog_posts"."slug" = ? LIMIT ?[0m [["slug", "blog-post-11"], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.4ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mCmor::Blog::Post Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" IS NOT NULL AND "cmor_blog_posts"."slug" = ? LIMIT ?[0m [["slug", "blog-post-12"], ["LIMIT", 1]]
- [1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "MyString"], ["created_at", "2019-03-31 08:49:35.209698"], ["updated_at", "2019-03-31 08:49:35.209698"]]
+ [1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCmor::Blog::Post Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" IS NOT NULL AND "cmor_blog_posts"."slug" = ? LIMIT ?[0m [["slug", "blog-post-12"], ["LIMIT", 1]]
+ [1m[36mUser Create (1.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "MyString"], ["created_at", "2019-04-15 22:11:14.655718"], ["updated_at", "2019-04-15 22:11:14.655718"]]
[1m[36mCmor::Blog::Post Load (0.4ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE (1 = 1) AND ("cmor_blog_posts"."position" IS NOT NULL) ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
- [1m[36mCmor::Blog::Post Create (0.8ms)[0m [1m[32mINSERT INTO "cmor_blog_posts" ("title", "body", "created_by_id", "slug", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["title", "Blog post 12"], ["body", "This is a blog post!"], ["created_by_id", 1], ["slug", "blog-post-12"], ["position", 1], ["created_at", "2019-03-31 08:49:35.214559"], ["updated_at", "2019-03-31 08:49:35.214559"]]
- [1m[35m (1.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (1.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[36mCmor::Blog::Post Create (0.3ms)[0m [1m[32mINSERT INTO "cmor_blog_posts" ("title", "body", "created_by_id", "slug", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["title", "Blog post 12"], ["body", "This is a blog post!"], ["created_by_id", 1], ["slug", "blog-post-12"], ["position", 1], ["created_at", "2019-04-15 22:11:14.661363"], ["updated_at", "2019-04-15 22:11:14.661363"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+[36m Disk Storage (1.0ms) [0m[32mUploaded file to key: zFVyF14TSaptDhhDuVLy5PDc (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Blob Create (0.7ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "zFVyF14TSaptDhhDuVLy5PDc"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-04-15 22:11:14.736220"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (11.7ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
-[36m Disk Storage (1.4ms) [0m[32mUploaded file to key: R7mjpz3G2UvFEe4ayvXRG9M2 (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
- [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mActiveStorage::Blob Create (1.5ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "R7mjpz3G2UvFEe4ayvXRG9M2"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-03-31 08:49:35.320823"]]
- [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (1.6ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (1.9ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
-[36m Disk Storage (7.8ms) [0m[32mUploaded file to key: kBUd1KSpF4xmW8wjsbAWJ7NC (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
- [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mActiveStorage::Blob Create (0.8ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "kBUd1KSpF4xmW8wjsbAWJ7NC"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-03-31 08:49:35.449324"]]
+[36m Disk Storage (1.2ms) [0m[32mUploaded file to key: XicLMMrB6HriPjf6UvNWZWDQ (checksum: EH6qlR0oQyZbAPIJqHzCpw==)[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mActiveStorage::Blob Create (0.7ms)[0m [1m[32mINSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["key", "XicLMMrB6HriPjf6UvNWZWDQ"], ["filename", "example.jpg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["byte_size", 1925], ["checksum", "EH6qlR0oQyZbAPIJqHzCpw=="], ["created_at", "2019-04-15 22:11:14.833723"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mCmor::Blog::Post Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" IS NOT NULL AND "cmor_blog_posts"."slug" = ? LIMIT ?[0m [["slug", "blog-post-14"], ["LIMIT", 1]]
- [1m[36mUser Create (1.2ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "MyString"], ["created_at", "2019-03-31 08:49:35.478622"], ["updated_at", "2019-03-31 08:49:35.478622"]]
+ [1m[36mCmor::Blog::Post Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "cmor_blog_posts" WHERE "cmor_blog_posts"."id" IS NOT NULL AND "cmor_blog_posts"."slug" = ? LIMIT ?[0m [["slug", "blog-post-14"], ["LIMIT", 1]]
+ [1m[36mUser Create (0.8ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "MyString"], ["created_at", "2019-04-15 22:11:14.858994"], ["updated_at", "2019-04-15 22:11:14.858994"]]
[1m[36mCmor::Blog::Post Load (0.9ms)[0m [1m[34mSELECT "cmor_blog_posts".* FROM "cmor_blog_posts" WHERE (1 = 1) AND ("cmor_blog_posts"."position" IS NOT NULL) ORDER BY "cmor_blog_posts"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
- [1m[36mCmor::Blog::Post Create (2.4ms)[0m [1m[32mINSERT INTO "cmor_blog_posts" ("title", "body", "created_by_id", "slug", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["title", "Blog post 14"], ["body", "This is a blog post!"], ["created_by_id", 1], ["slug", "blog-post-14"], ["position", 1], ["created_at", "2019-03-31 08:49:35.484062"], ["updated_at", "2019-03-31 08:49:35.484062"]]
- [1m[36mActiveStorage::Attachment Create (1.0ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 1], ["created_at", "2019-03-31 08:49:35.498938"]]
+ [1m[36mCmor::Blog::Post Create (1.0ms)[0m [1m[32mINSERT INTO "cmor_blog_posts" ("title", "body", "created_by_id", "slug", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["title", "Blog post 14"], ["body", "This is a blog post!"], ["created_by_id", 1], ["slug", "blog-post-14"], ["position", 1], ["created_at", "2019-04-15 22:11:14.864268"], ["updated_at", "2019-04-15 22:11:14.864268"]]
+ [1m[36mActiveStorage::Attachment Create (2.6ms)[0m [1m[32mINSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "assets"], ["record_type", "Cmor::Blog::Post"], ["record_id", 1], ["blob_id", 1], ["created_at", "2019-04-15 22:11:14.875215"]]
[1m[36mCmor::Blog::AssetDetail Load (0.8ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
- [1m[36mCmor::Blog::AssetDetail Create (0.9ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 1], ["position", 1], ["created_at", "2019-03-31 08:49:35.504869"], ["updated_at", "2019-03-31 08:49:35.504869"]]
- [1m[36mCmor::Blog::AssetDetail Load (0.6ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
- [1m[36mCmor::Blog::AssetDetail Create (0.8ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 1], ["position", 2], ["created_at", "2019-03-31 08:49:35.513984"], ["updated_at", "2019-03-31 08:49:35.513984"]]
- [1m[36mCmor::Blog::Post Update (0.8ms)[0m [1m[33mUPDATE "cmor_blog_posts" SET "updated_at" = ? WHERE "cmor_blog_posts"."id" = ?[0m [["updated_at", "2019-03-31 08:49:35.503274"], ["id", 1]]
- [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
-[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: 390968fb-f559-4058-bd9f-71578bdf255c) to Async(default) with arguments: #<GlobalID:0x00000007ae7570 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
- [1m[36mActiveStorage::Blob Load (2.7ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Create (0.4ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 1], ["position", 1], ["created_at", "2019-04-15 22:11:14.882222"], ["updated_at", "2019-04-15 22:11:14.882222"]]
+ [1m[36mCmor::Blog::AssetDetail Load (0.4ms)[0m [1m[34mSELECT "cmor_blog_asset_details".* FROM "cmor_blog_asset_details" WHERE "cmor_blog_asset_details"."post_id" = ? AND ("cmor_blog_asset_details"."position" IS NOT NULL) ORDER BY "cmor_blog_asset_details"."position" DESC LIMIT ?[0m [["post_id", 1], ["LIMIT", 1]]
+ [1m[36mCmor::Blog::AssetDetail Create (0.4ms)[0m [1m[32mINSERT INTO "cmor_blog_asset_details" ("post_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_id", 1], ["asset_id", 1], ["position", 2], ["created_at", "2019-04-15 22:11:14.892021"], ["updated_at", "2019-04-15 22:11:14.892021"]]
+ [1m[36mCmor::Blog::Post Update (0.9ms)[0m [1m[33mUPDATE "cmor_blog_posts" SET "updated_at" = ? WHERE "cmor_blog_posts"."id" = ?[0m [["updated_at", "2019-04-15 22:11:14.881374"], ["id", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: 1bb3c79d-a6a7-404e-8ed6-e54f2a60336b) to Async(default) with arguments: #<GlobalID:0x0000000975ede8 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
+ [1m[36mActiveStorage::Blob Load (6.2ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [390968fb-f559-4058-bd9f-71578bdf255c] Performing ActiveStorage::AnalyzeJob (Job ID: 390968fb-f559-4058-bd9f-71578bdf255c) from Async(default) with arguments: #<GlobalID:0x00000007ae4438 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
-[ActiveJob] [ActiveStorage::AnalyzeJob] [390968fb-f559-4058-bd9f-71578bdf255c] [36m Disk Storage (0.5ms) [0m[34mDownloaded file from key: kBUd1KSpF4xmW8wjsbAWJ7NC[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [390968fb-f559-4058-bd9f-71578bdf255c] Skipping image analysis because the mini_magick gem isn't installed
-[ActiveJob] [ActiveStorage::AnalyzeJob] [390968fb-f559-4058-bd9f-71578bdf255c] [1m[35m (0.4ms)[0m [1m[36mbegin transaction[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [390968fb-f559-4058-bd9f-71578bdf255c] [1m[36mActiveStorage::Blob Update (0.4ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 1]]
-[ActiveJob] [ActiveStorage::AnalyzeJob] [390968fb-f559-4058-bd9f-71578bdf255c] [1m[35m (0.2ms)[0m [1m[36mcommit transaction[0m
-[ActiveJob] [ActiveStorage::AnalyzeJob] [390968fb-f559-4058-bd9f-71578bdf255c] Performed ActiveStorage::AnalyzeJob (Job ID: 390968fb-f559-4058-bd9f-71578bdf255c) from Async(default) in 17.61ms
- [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [1bb3c79d-a6a7-404e-8ed6-e54f2a60336b] Performing ActiveStorage::AnalyzeJob (Job ID: 1bb3c79d-a6a7-404e-8ed6-e54f2a60336b) from Async(default) with arguments: #<GlobalID:0x0000000975c020 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [1bb3c79d-a6a7-404e-8ed6-e54f2a60336b] [36m Disk Storage (26.9ms) [0m[34mDownloaded file from key: XicLMMrB6HriPjf6UvNWZWDQ[0m
+ [1m[35m (1.1ms)[0m [1m[31mrollback transaction[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [1bb3c79d-a6a7-404e-8ed6-e54f2a60336b] Skipping image analysis because the mini_magick gem isn't installed
+[ActiveJob] [ActiveStorage::AnalyzeJob] [1bb3c79d-a6a7-404e-8ed6-e54f2a60336b] [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.4ms)[0m [1m[36mbegin transaction[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [1bb3c79d-a6a7-404e-8ed6-e54f2a60336b] [1m[36mActiveStorage::Blob Update (0.2ms)[0m [1m[33mUPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ?[0m [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [1bb3c79d-a6a7-404e-8ed6-e54f2a60336b] [1m[35m (0.2ms)[0m [1m[36mcommit transaction[0m
+[ActiveJob] [ActiveStorage::AnalyzeJob] [1bb3c79d-a6a7-404e-8ed6-e54f2a60336b] Performed ActiveStorage::AnalyzeJob (Job ID: 1bb3c79d-a6a7-404e-8ed6-e54f2a60336b) from Async(default) in 94.1ms
+ [1m[35m (9.8ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.4ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.6ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.4ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (4.6ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.7ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (6.3ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.5ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.5ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.4ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.6ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.7ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.5ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (11.9ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (1.8ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.9ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (1.9ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.6ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.5ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.4ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (12.1ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.4ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.5ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.9ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.8ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.4ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (9.7ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.4ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.7ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.8ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.6ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (1.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.4ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.8ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (1.4ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
[1m[35m (1.2ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (1.0ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.4ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.7ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.8ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.5ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.5ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (1.3ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.5ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.9ms)[0m [1m[31mrollback transaction[0m